forked from project-codeflare/codeflare-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
37 lines (30 loc) · 767 Bytes
/
__init__.py
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
from .ray import (
Cluster,
ClusterConfiguration,
RayClusterStatus,
CodeFlareClusterStatus,
RayCluster,
get_cluster,
list_all_queued,
list_all_clusters,
AWManager,
AppWrapperStatus,
RayJobClient,
)
from .common.widgets import view_clusters
from .common import (
Authentication,
KubeConfiguration,
TokenAuthentication,
KubeConfigFileAuthentication,
)
from .common.kueue import (
list_local_queues,
)
from .common.utils import generate_cert
from .common.utils.demos import copy_demo_nbs
from importlib.metadata import version, PackageNotFoundError
try:
__version__ = version("codeflare-sdk") # use metadata associated with built package
except PackageNotFoundError:
__version__ = "v0.0.0"