-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
40 lines (36 loc) · 999 Bytes
/
__init__.py
File metadata and controls
40 lines (36 loc) · 999 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""Hotdata runtime primitives for notebook and app integrations."""
from importlib.metadata import PackageNotFoundError, version
from hotdata_runtime.client import HotdataClient, from_env
from hotdata_runtime.env import (
default_api_key,
default_host,
default_session_id,
explicit_workspace_id,
list_workspaces,
normalize_host,
pick_workspace,
resolve_workspace_selection,
WorkspaceSelection,
)
from hotdata_runtime.health import workspace_health_lines
from hotdata_runtime.result import QueryResult
try:
__version__ = version("hotdata-runtime")
except PackageNotFoundError:
__version__ = "0.0.0+unknown"
__all__ = [
"__version__",
"HotdataClient",
"QueryResult",
"workspace_health_lines",
"default_api_key",
"default_host",
"default_session_id",
"explicit_workspace_id",
"from_env",
"list_workspaces",
"normalize_host",
"pick_workspace",
"resolve_workspace_selection",
"WorkspaceSelection",
]