anyscale 0.24.88__py3-none-any.whl → 0.25.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anyscale/__init__.py +56 -0
- anyscale/_private/anyscale_client/anyscale_client.py +179 -28
- anyscale/_private/anyscale_client/common.py +109 -2
- anyscale/_private/anyscale_client/fake_anyscale_client.py +239 -1
- anyscale/_private/docgen/README.md +1 -1
- anyscale/_private/docgen/__main__.py +71 -21
- anyscale/_private/docgen/api.md +13 -20
- anyscale/_private/docgen/generator.py +3 -2
- anyscale/_private/docgen/models.md +4 -49
- anyscale/_private/workload/workload_config.py +21 -7
- anyscale/aggregated_instance_usage/__init__.py +1 -1
- anyscale/aggregated_instance_usage/commands.py +2 -4
- anyscale/aggregated_instance_usage/models.py +8 -8
- anyscale/client/README.md +25 -22
- anyscale/client/openapi_client/__init__.py +16 -14
- anyscale/client/openapi_client/api/default_api.py +1139 -959
- anyscale/client/openapi_client/models/__init__.py +16 -14
- anyscale/client/openapi_client/models/baseimagesenum.py +43 -1
- anyscale/client/openapi_client/models/{session_event_types.py → cloud_deployment_config.py} +35 -24
- anyscale/client/openapi_client/models/{platformfinetuningjob_response.py → clouddeploymentconfig_response.py} +11 -11
- anyscale/client/openapi_client/models/{log_level_types.py → cluster_event_source.py} +12 -7
- anyscale/client/openapi_client/models/{company_size.py → cluster_size.py} +10 -10
- anyscale/client/openapi_client/models/cluster_status_details.py +2 -1
- anyscale/client/openapi_client/models/{sessionevent_list_response.py → clusterevent_list_response.py} +15 -15
- anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
- anyscale/client/openapi_client/models/create_notification_channel_record.py +29 -3
- anyscale/client/openapi_client/models/decorated_interactive_session.py +1 -57
- anyscale/client/openapi_client/models/decorated_job.py +1 -57
- anyscale/client/openapi_client/models/decorated_job_submission.py +1 -29
- anyscale/client/openapi_client/models/decorated_production_job.py +1 -29
- anyscale/client/openapi_client/models/decorated_session.py +1 -57
- anyscale/client/openapi_client/models/decorated_unified_job.py +1 -30
- anyscale/client/openapi_client/models/{resubmit_ft_job_request.py → describe_machine_pool_request.py} +21 -20
- anyscale/client/openapi_client/models/describe_machine_pool_response.py +123 -0
- anyscale/client/openapi_client/models/describemachinepoolresponse_response.py +121 -0
- anyscale/client/openapi_client/models/ha_jobs_sort_field.py +1 -2
- anyscale/client/openapi_client/models/internal_production_job.py +1 -29
- anyscale/client/openapi_client/models/jobs_sort_field.py +1 -2
- anyscale/client/openapi_client/models/machine_allocation_state.py +3 -1
- anyscale/client/openapi_client/models/machine_state_info.py +326 -0
- anyscale/client/openapi_client/models/{fine_tuning_job_status.py → notification_channel_slack_config.py} +34 -16
- anyscale/client/openapi_client/models/organization_marketing_questions.py +80 -54
- anyscale/client/openapi_client/models/request_state_info.py +210 -0
- anyscale/client/openapi_client/models/{platformfinetuningjob_list_response.py → scheduler_info.py} +43 -38
- anyscale/client/openapi_client/models/serve_deployment_fast_api_docs_status.py +123 -0
- anyscale/client/openapi_client/models/serve_deployment_state.py +2 -1
- anyscale/client/openapi_client/models/servedeploymentfastapidocsstatus_response.py +121 -0
- anyscale/client/openapi_client/models/sessions_sort_field.py +1 -2
- anyscale/client/openapi_client/models/supportedbaseimagesenum.py +43 -1
- anyscale/client/openapi_client/models/unified_job_sort_field.py +1 -2
- anyscale/client/openapi_client/models/update_cloud_collaborator.py +121 -0
- anyscale/client/openapi_client/models/usage_by_cluster.py +28 -1
- anyscale/client/openapi_client/models/usage_by_user.py +30 -3
- anyscale/client/openapi_client/models/workload_info.py +210 -0
- anyscale/cloud/__init__.py +83 -0
- anyscale/cloud/_private/cloud_sdk.py +25 -0
- anyscale/cloud/commands.py +45 -0
- anyscale/cloud/models.py +91 -0
- anyscale/cluster_compute.py +1 -1
- anyscale/commands/aggregated_instance_usage_commands.py +4 -4
- anyscale/commands/cloud_commands.py +87 -14
- anyscale/commands/command_examples.py +65 -0
- anyscale/commands/job_commands.py +15 -3
- anyscale/commands/machine_pool_commands.py +113 -1
- anyscale/commands/organization_invitation_commands.py +98 -0
- anyscale/commands/project_commands.py +52 -2
- anyscale/commands/resource_quota_commands.py +98 -11
- anyscale/commands/service_account_commands.py +65 -8
- anyscale/commands/service_commands.py +61 -1
- anyscale/commands/session_commands_hidden.py +5 -1
- anyscale/commands/user_commands.py +1 -1
- anyscale/commands/util.py +2 -2
- anyscale/commands/workspace_commands.py +1 -1
- anyscale/connect.py +1 -1
- anyscale/connect_utils/project.py +7 -4
- anyscale/controllers/cloud_controller.py +63 -30
- anyscale/controllers/cloud_functional_verification_controller.py +1 -1
- anyscale/controllers/cluster_controller.py +3 -11
- anyscale/controllers/compute_config_controller.py +1 -1
- anyscale/controllers/experimental_integrations_controller.py +1 -1
- anyscale/controllers/job_controller.py +8 -6
- anyscale/controllers/list_controller.py +2 -2
- anyscale/controllers/machine_pool_controller.py +12 -1
- anyscale/controllers/project_controller.py +4 -3
- anyscale/controllers/schedule_controller.py +1 -1
- anyscale/controllers/service_controller.py +1 -1
- anyscale/controllers/workspace_controller.py +1 -1
- anyscale/models/job_model.py +1 -1
- anyscale/organization_invitation/__init__.py +61 -0
- anyscale/organization_invitation/_private/organization_invitation_sdk.py +24 -0
- anyscale/organization_invitation/commands.py +84 -0
- anyscale/organization_invitation/models.py +45 -0
- anyscale/project/__init__.py +35 -0
- anyscale/project/_private/project_sdk.py +27 -0
- anyscale/project/commands.py +56 -0
- anyscale/project/models.py +91 -0
- anyscale/{project.py → project_utils.py} +3 -4
- anyscale/resource_quota/__init__.py +99 -0
- anyscale/resource_quota/_private/resource_quota_sdk.py +120 -0
- anyscale/resource_quota/commands.py +150 -0
- anyscale/resource_quota/models.py +303 -0
- anyscale/scripts.py +4 -0
- anyscale/sdk/anyscale_client/__init__.py +0 -5
- anyscale/sdk/anyscale_client/api/default_api.py +119 -150
- anyscale/sdk/anyscale_client/models/__init__.py +0 -5
- anyscale/sdk/anyscale_client/models/baseimagesenum.py +43 -1
- anyscale/sdk/anyscale_client/models/cluster_status_details.py +2 -1
- anyscale/sdk/anyscale_client/models/jobs_sort_field.py +1 -2
- anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +43 -1
- anyscale/sdk/anyscale_client/sdk.py +1 -1
- anyscale/service/__init__.py +21 -0
- anyscale/service/_private/service_sdk.py +13 -0
- anyscale/service/commands.py +35 -0
- anyscale/service_account/__init__.py +88 -0
- anyscale/service_account/_private/service_account_sdk.py +101 -0
- anyscale/service_account/commands.py +147 -0
- anyscale/service_account/models.py +66 -0
- anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
- anyscale/shared_anyscale_utils/utils/id_gen.py +2 -0
- anyscale/user/__init__.py +1 -1
- anyscale/user/commands.py +1 -1
- anyscale/user/models.py +25 -15
- anyscale/util.py +23 -0
- anyscale/utils/cloud_utils.py +1 -1
- anyscale/version.py +1 -1
- anyscale/workspace_utils.py +1 -1
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/METADATA +1 -5
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/RECORD +134 -119
- anyscale/client/openapi_client/models/create_fine_tuning_hyperparameters.py +0 -156
- anyscale/client/openapi_client/models/create_fine_tuning_job_product_request.py +0 -353
- anyscale/client/openapi_client/models/finish_ft_job_request.py +0 -204
- anyscale/client/openapi_client/models/platform_fine_tuning_job.py +0 -577
- anyscale/client/openapi_client/models/session_event.py +0 -267
- anyscale/client/openapi_client/models/session_event_cause.py +0 -150
- anyscale/controllers/resource_quota_controller.py +0 -183
- anyscale/controllers/service_account_controller.py +0 -168
- anyscale/sdk/anyscale_client/models/log_level_types.py +0 -100
- anyscale/sdk/anyscale_client/models/session_event.py +0 -267
- anyscale/sdk/anyscale_client/models/session_event_cause.py +0 -150
- anyscale/sdk/anyscale_client/models/session_event_types.py +0 -111
- anyscale/sdk/anyscale_client/models/sessionevent_list_response.py +0 -147
- anyscale/utils/imports/azure.py +0 -14
- /anyscale/{cloud.py → cloud_utils.py} +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/LICENSE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/NOTICE +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/WHEEL +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/entry_points.txt +0 -0
- {anyscale-0.24.88.dist-info → anyscale-0.25.5.dist-info}/top_level.txt +0 -0
@@ -18,32 +18,13 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class CloudDeploymentConfig(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
25
25
|
Do not edit the class manually.
|
26
26
|
"""
|
27
27
|
|
28
|
-
"""
|
29
|
-
allowed enum values
|
30
|
-
"""
|
31
|
-
EDITED = "edited"
|
32
|
-
TERMINATE_COMMAND = "terminate_command"
|
33
|
-
START_COMMAND = "start_command"
|
34
|
-
RUNNING = "running"
|
35
|
-
TERMINATED = "terminated"
|
36
|
-
AWAITING_FILE_MOUNTS = "awaiting_file_mounts"
|
37
|
-
STARTING = "starting"
|
38
|
-
UPDATING = "updating"
|
39
|
-
TERMINATING = "terminating"
|
40
|
-
CREATED = "created"
|
41
|
-
TERMINATING_ERRORED = "terminating_errored"
|
42
|
-
UPDATING_ERRORED = "updating_errored"
|
43
|
-
STARTUP_ERRORED = "startup_errored"
|
44
|
-
|
45
|
-
allowable_values = [EDITED, TERMINATE_COMMAND, START_COMMAND, RUNNING, TERMINATED, AWAITING_FILE_MOUNTS, STARTING, UPDATING, TERMINATING, CREATED, TERMINATING_ERRORED, UPDATING_ERRORED, STARTUP_ERRORED] # noqa: E501
|
46
|
-
|
47
28
|
"""
|
48
29
|
Attributes:
|
49
30
|
openapi_types (dict): The key is attribute name
|
@@ -52,18 +33,48 @@ class SessionEventTypes(object):
|
|
52
33
|
and the value is json key in definition.
|
53
34
|
"""
|
54
35
|
openapi_types = {
|
36
|
+
'spec': 'object'
|
55
37
|
}
|
56
38
|
|
57
39
|
attribute_map = {
|
40
|
+
'spec': 'spec'
|
58
41
|
}
|
59
42
|
|
60
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
61
|
-
"""
|
43
|
+
def __init__(self, spec=None, local_vars_configuration=None): # noqa: E501
|
44
|
+
"""CloudDeploymentConfig - a model defined in OpenAPI""" # noqa: E501
|
62
45
|
if local_vars_configuration is None:
|
63
46
|
local_vars_configuration = Configuration()
|
64
47
|
self.local_vars_configuration = local_vars_configuration
|
48
|
+
|
49
|
+
self._spec = None
|
65
50
|
self.discriminator = None
|
66
51
|
|
52
|
+
if spec is not None:
|
53
|
+
self.spec = spec
|
54
|
+
|
55
|
+
@property
|
56
|
+
def spec(self):
|
57
|
+
"""Gets the spec of this CloudDeploymentConfig. # noqa: E501
|
58
|
+
|
59
|
+
Configurations of the cloud deployment. # noqa: E501
|
60
|
+
|
61
|
+
:return: The spec of this CloudDeploymentConfig. # noqa: E501
|
62
|
+
:rtype: object
|
63
|
+
"""
|
64
|
+
return self._spec
|
65
|
+
|
66
|
+
@spec.setter
|
67
|
+
def spec(self, spec):
|
68
|
+
"""Sets the spec of this CloudDeploymentConfig.
|
69
|
+
|
70
|
+
Configurations of the cloud deployment. # noqa: E501
|
71
|
+
|
72
|
+
:param spec: The spec of this CloudDeploymentConfig. # noqa: E501
|
73
|
+
:type: object
|
74
|
+
"""
|
75
|
+
|
76
|
+
self._spec = spec
|
77
|
+
|
67
78
|
def to_dict(self):
|
68
79
|
"""Returns the model properties as a dict"""
|
69
80
|
result = {}
|
@@ -98,14 +109,14 @@ class SessionEventTypes(object):
|
|
98
109
|
|
99
110
|
def __eq__(self, other):
|
100
111
|
"""Returns true if both objects are equal"""
|
101
|
-
if not isinstance(other,
|
112
|
+
if not isinstance(other, CloudDeploymentConfig):
|
102
113
|
return False
|
103
114
|
|
104
115
|
return self.to_dict() == other.to_dict()
|
105
116
|
|
106
117
|
def __ne__(self, other):
|
107
118
|
"""Returns true if both objects are not equal"""
|
108
|
-
if not isinstance(other,
|
119
|
+
if not isinstance(other, CloudDeploymentConfig):
|
109
120
|
return True
|
110
121
|
|
111
122
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ClouddeploymentconfigResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,7 +33,7 @@ class PlatformfinetuningjobResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'result': '
|
36
|
+
'result': 'CloudDeploymentConfig'
|
37
37
|
}
|
38
38
|
|
39
39
|
attribute_map = {
|
@@ -41,7 +41,7 @@ class PlatformfinetuningjobResponse(object):
|
|
41
41
|
}
|
42
42
|
|
43
43
|
def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
|
44
|
-
"""
|
44
|
+
"""ClouddeploymentconfigResponse - a model defined in OpenAPI""" # noqa: E501
|
45
45
|
if local_vars_configuration is None:
|
46
46
|
local_vars_configuration = Configuration()
|
47
47
|
self.local_vars_configuration = local_vars_configuration
|
@@ -53,21 +53,21 @@ class PlatformfinetuningjobResponse(object):
|
|
53
53
|
|
54
54
|
@property
|
55
55
|
def result(self):
|
56
|
-
"""Gets the result of this
|
56
|
+
"""Gets the result of this ClouddeploymentconfigResponse. # noqa: E501
|
57
57
|
|
58
58
|
|
59
|
-
:return: The result of this
|
60
|
-
:rtype:
|
59
|
+
:return: The result of this ClouddeploymentconfigResponse. # noqa: E501
|
60
|
+
:rtype: CloudDeploymentConfig
|
61
61
|
"""
|
62
62
|
return self._result
|
63
63
|
|
64
64
|
@result.setter
|
65
65
|
def result(self, result):
|
66
|
-
"""Sets the result of this
|
66
|
+
"""Sets the result of this ClouddeploymentconfigResponse.
|
67
67
|
|
68
68
|
|
69
|
-
:param result: The result of this
|
70
|
-
:type:
|
69
|
+
:param result: The result of this ClouddeploymentconfigResponse. # noqa: E501
|
70
|
+
:type: CloudDeploymentConfig
|
71
71
|
"""
|
72
72
|
if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
|
73
73
|
raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
|
@@ -108,14 +108,14 @@ class PlatformfinetuningjobResponse(object):
|
|
108
108
|
|
109
109
|
def __eq__(self, other):
|
110
110
|
"""Returns true if both objects are equal"""
|
111
|
-
if not isinstance(other,
|
111
|
+
if not isinstance(other, ClouddeploymentconfigResponse):
|
112
112
|
return False
|
113
113
|
|
114
114
|
return self.to_dict() == other.to_dict()
|
115
115
|
|
116
116
|
def __ne__(self, other):
|
117
117
|
"""Returns true if both objects are not equal"""
|
118
|
-
if not isinstance(other,
|
118
|
+
if not isinstance(other, ClouddeploymentconfigResponse):
|
119
119
|
return True
|
120
120
|
|
121
121
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ClusterEventSource(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -28,10 +28,15 @@ class LogLevelTypes(object):
|
|
28
28
|
"""
|
29
29
|
allowed enum values
|
30
30
|
"""
|
31
|
-
|
32
|
-
|
31
|
+
AUTOSCALER = "AUTOSCALER"
|
32
|
+
CLUSTER_LIFECYCLE = "CLUSTER_LIFECYCLE"
|
33
|
+
IDLE_TERMINATION = "IDLE_TERMINATION"
|
34
|
+
JOBS = "JOBS"
|
35
|
+
WORKSPACE_SNAPSHOT = "WORKSPACE_SNAPSHOT"
|
36
|
+
OS = "OS"
|
37
|
+
UNKNOWN = "UNKNOWN"
|
33
38
|
|
34
|
-
allowable_values = [
|
39
|
+
allowable_values = [AUTOSCALER, CLUSTER_LIFECYCLE, IDLE_TERMINATION, JOBS, WORKSPACE_SNAPSHOT, OS, UNKNOWN] # noqa: E501
|
35
40
|
|
36
41
|
"""
|
37
42
|
Attributes:
|
@@ -47,7 +52,7 @@ class LogLevelTypes(object):
|
|
47
52
|
}
|
48
53
|
|
49
54
|
def __init__(self, local_vars_configuration=None): # noqa: E501
|
50
|
-
"""
|
55
|
+
"""ClusterEventSource - a model defined in OpenAPI""" # noqa: E501
|
51
56
|
if local_vars_configuration is None:
|
52
57
|
local_vars_configuration = Configuration()
|
53
58
|
self.local_vars_configuration = local_vars_configuration
|
@@ -87,14 +92,14 @@ class LogLevelTypes(object):
|
|
87
92
|
|
88
93
|
def __eq__(self, other):
|
89
94
|
"""Returns true if both objects are equal"""
|
90
|
-
if not isinstance(other,
|
95
|
+
if not isinstance(other, ClusterEventSource):
|
91
96
|
return False
|
92
97
|
|
93
98
|
return self.to_dict() == other.to_dict()
|
94
99
|
|
95
100
|
def __ne__(self, other):
|
96
101
|
"""Returns true if both objects are not equal"""
|
97
|
-
if not isinstance(other,
|
102
|
+
if not isinstance(other, ClusterEventSource):
|
98
103
|
return True
|
99
104
|
|
100
105
|
return self.to_dict() != other.to_dict()
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ClusterSize(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -28,13 +28,13 @@ class CompanySize(object):
|
|
28
28
|
"""
|
29
29
|
allowed enum values
|
30
30
|
"""
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
31
|
+
_1_NODE = "1 node"
|
32
|
+
_2_10_NODES = "2-10 nodes"
|
33
|
+
_10_100_NODES = "10-100 nodes"
|
34
|
+
_100_NODES = "100+ nodes"
|
35
|
+
N_A = "N/A"
|
36
36
|
|
37
|
-
allowable_values = [
|
37
|
+
allowable_values = [_1_NODE, _2_10_NODES, _10_100_NODES, _100_NODES, N_A] # noqa: E501
|
38
38
|
|
39
39
|
"""
|
40
40
|
Attributes:
|
@@ -50,7 +50,7 @@ class CompanySize(object):
|
|
50
50
|
}
|
51
51
|
|
52
52
|
def __init__(self, local_vars_configuration=None): # noqa: E501
|
53
|
-
"""
|
53
|
+
"""ClusterSize - a model defined in OpenAPI""" # noqa: E501
|
54
54
|
if local_vars_configuration is None:
|
55
55
|
local_vars_configuration = Configuration()
|
56
56
|
self.local_vars_configuration = local_vars_configuration
|
@@ -90,14 +90,14 @@ class CompanySize(object):
|
|
90
90
|
|
91
91
|
def __eq__(self, other):
|
92
92
|
"""Returns true if both objects are equal"""
|
93
|
-
if not isinstance(other,
|
93
|
+
if not isinstance(other, ClusterSize):
|
94
94
|
return False
|
95
95
|
|
96
96
|
return self.to_dict() == other.to_dict()
|
97
97
|
|
98
98
|
def __ne__(self, other):
|
99
99
|
"""Returns true if both objects are not equal"""
|
100
|
-
if not isinstance(other,
|
100
|
+
if not isinstance(other, ClusterSize):
|
101
101
|
return True
|
102
102
|
|
103
103
|
return self.to_dict() != other.to_dict()
|
@@ -30,8 +30,9 @@ class ClusterStatusDetails(object):
|
|
30
30
|
"""
|
31
31
|
LAUNCHING_NODES = "LAUNCHING_NODES"
|
32
32
|
CONFIGURING_HEAD_NODE = "CONFIGURING_HEAD_NODE"
|
33
|
+
UPDATING_CONTAINERS = "UPDATING_CONTAINERS"
|
33
34
|
|
34
|
-
allowable_values = [LAUNCHING_NODES, CONFIGURING_HEAD_NODE] # noqa: E501
|
35
|
+
allowable_values = [LAUNCHING_NODES, CONFIGURING_HEAD_NODE, UPDATING_CONTAINERS] # noqa: E501
|
35
36
|
|
36
37
|
"""
|
37
38
|
Attributes:
|
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from openapi_client.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class ClustereventListResponse(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -33,7 +33,7 @@ class SessioneventListResponse(object):
|
|
33
33
|
and the value is json key in definition.
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
|
-
'results': 'list[
|
36
|
+
'results': 'list[ClusterEvent]',
|
37
37
|
'metadata': 'ListResponseMetadata'
|
38
38
|
}
|
39
39
|
|
@@ -43,7 +43,7 @@ class SessioneventListResponse(object):
|
|
43
43
|
}
|
44
44
|
|
45
45
|
def __init__(self, results=None, metadata=None, local_vars_configuration=None): # noqa: E501
|
46
|
-
"""
|
46
|
+
"""ClustereventListResponse - a model defined in OpenAPI""" # noqa: E501
|
47
47
|
if local_vars_configuration is None:
|
48
48
|
local_vars_configuration = Configuration()
|
49
49
|
self.local_vars_configuration = local_vars_configuration
|
@@ -58,21 +58,21 @@ class SessioneventListResponse(object):
|
|
58
58
|
|
59
59
|
@property
|
60
60
|
def results(self):
|
61
|
-
"""Gets the results of this
|
61
|
+
"""Gets the results of this ClustereventListResponse. # noqa: E501
|
62
62
|
|
63
63
|
|
64
|
-
:return: The results of this
|
65
|
-
:rtype: list[
|
64
|
+
:return: The results of this ClustereventListResponse. # noqa: E501
|
65
|
+
:rtype: list[ClusterEvent]
|
66
66
|
"""
|
67
67
|
return self._results
|
68
68
|
|
69
69
|
@results.setter
|
70
70
|
def results(self, results):
|
71
|
-
"""Sets the results of this
|
71
|
+
"""Sets the results of this ClustereventListResponse.
|
72
72
|
|
73
73
|
|
74
|
-
:param results: The results of this
|
75
|
-
:type: list[
|
74
|
+
:param results: The results of this ClustereventListResponse. # noqa: E501
|
75
|
+
:type: list[ClusterEvent]
|
76
76
|
"""
|
77
77
|
if self.local_vars_configuration.client_side_validation and results is None: # noqa: E501
|
78
78
|
raise ValueError("Invalid value for `results`, must not be `None`") # noqa: E501
|
@@ -81,20 +81,20 @@ class SessioneventListResponse(object):
|
|
81
81
|
|
82
82
|
@property
|
83
83
|
def metadata(self):
|
84
|
-
"""Gets the metadata of this
|
84
|
+
"""Gets the metadata of this ClustereventListResponse. # noqa: E501
|
85
85
|
|
86
86
|
|
87
|
-
:return: The metadata of this
|
87
|
+
:return: The metadata of this ClustereventListResponse. # noqa: E501
|
88
88
|
:rtype: ListResponseMetadata
|
89
89
|
"""
|
90
90
|
return self._metadata
|
91
91
|
|
92
92
|
@metadata.setter
|
93
93
|
def metadata(self, metadata):
|
94
|
-
"""Sets the metadata of this
|
94
|
+
"""Sets the metadata of this ClustereventListResponse.
|
95
95
|
|
96
96
|
|
97
|
-
:param metadata: The metadata of this
|
97
|
+
:param metadata: The metadata of this ClustereventListResponse. # noqa: E501
|
98
98
|
:type: ListResponseMetadata
|
99
99
|
"""
|
100
100
|
|
@@ -134,14 +134,14 @@ class SessioneventListResponse(object):
|
|
134
134
|
|
135
135
|
def __eq__(self, other):
|
136
136
|
"""Returns true if both objects are equal"""
|
137
|
-
if not isinstance(other,
|
137
|
+
if not isinstance(other, ClustereventListResponse):
|
138
138
|
return False
|
139
139
|
|
140
140
|
return self.to_dict() == other.to_dict()
|
141
141
|
|
142
142
|
def __ne__(self, other):
|
143
143
|
"""Returns true if both objects are not equal"""
|
144
|
-
if not isinstance(other,
|
144
|
+
if not isinstance(other, ClustereventListResponse):
|
145
145
|
return True
|
146
146
|
|
147
147
|
return self.to_dict() != other.to_dict()
|
@@ -44,6 +44,7 @@ class CreateExperimentalWorkspace(object):
|
|
44
44
|
'cloned_job_id': 'str',
|
45
45
|
'cloned_workspace_id': 'str',
|
46
46
|
'template_id': 'str',
|
47
|
+
'template_url': 'str',
|
47
48
|
'skip_start': 'bool'
|
48
49
|
}
|
49
50
|
|
@@ -59,10 +60,11 @@ class CreateExperimentalWorkspace(object):
|
|
59
60
|
'cloned_job_id': 'cloned_job_id',
|
60
61
|
'cloned_workspace_id': 'cloned_workspace_id',
|
61
62
|
'template_id': 'template_id',
|
63
|
+
'template_url': 'template_url',
|
62
64
|
'skip_start': 'skip_start'
|
63
65
|
}
|
64
66
|
|
65
|
-
def __init__(self, name=None, description=None, project_id=None, cloud_id=None, compute_config_id=None, base_snapshot=None, cluster_environment_build_id=None, idle_timeout_minutes=None, cloned_job_id=None, cloned_workspace_id=None, template_id=None, skip_start=None, local_vars_configuration=None): # noqa: E501
|
67
|
+
def __init__(self, name=None, description=None, project_id=None, cloud_id=None, compute_config_id=None, base_snapshot=None, cluster_environment_build_id=None, idle_timeout_minutes=None, cloned_job_id=None, cloned_workspace_id=None, template_id=None, template_url=None, skip_start=None, local_vars_configuration=None): # noqa: E501
|
66
68
|
"""CreateExperimentalWorkspace - a model defined in OpenAPI""" # noqa: E501
|
67
69
|
if local_vars_configuration is None:
|
68
70
|
local_vars_configuration = Configuration()
|
@@ -79,6 +81,7 @@ class CreateExperimentalWorkspace(object):
|
|
79
81
|
self._cloned_job_id = None
|
80
82
|
self._cloned_workspace_id = None
|
81
83
|
self._template_id = None
|
84
|
+
self._template_url = None
|
82
85
|
self._skip_start = None
|
83
86
|
self.discriminator = None
|
84
87
|
|
@@ -99,6 +102,8 @@ class CreateExperimentalWorkspace(object):
|
|
99
102
|
self.cloned_workspace_id = cloned_workspace_id
|
100
103
|
if template_id is not None:
|
101
104
|
self.template_id = template_id
|
105
|
+
if template_url is not None:
|
106
|
+
self.template_url = template_url
|
102
107
|
if skip_start is not None:
|
103
108
|
self.skip_start = skip_start
|
104
109
|
|
@@ -365,6 +370,29 @@ class CreateExperimentalWorkspace(object):
|
|
365
370
|
|
366
371
|
self._template_id = template_id
|
367
372
|
|
373
|
+
@property
|
374
|
+
def template_url(self):
|
375
|
+
"""Gets the template_url of this CreateExperimentalWorkspace. # noqa: E501
|
376
|
+
|
377
|
+
The template's URL to use. When this is specified, the template_id is only used for generating the build id. # noqa: E501
|
378
|
+
|
379
|
+
:return: The template_url of this CreateExperimentalWorkspace. # noqa: E501
|
380
|
+
:rtype: str
|
381
|
+
"""
|
382
|
+
return self._template_url
|
383
|
+
|
384
|
+
@template_url.setter
|
385
|
+
def template_url(self, template_url):
|
386
|
+
"""Sets the template_url of this CreateExperimentalWorkspace.
|
387
|
+
|
388
|
+
The template's URL to use. When this is specified, the template_id is only used for generating the build id. # noqa: E501
|
389
|
+
|
390
|
+
:param template_url: The template_url of this CreateExperimentalWorkspace. # noqa: E501
|
391
|
+
:type: str
|
392
|
+
"""
|
393
|
+
|
394
|
+
self._template_url = template_url
|
395
|
+
|
368
396
|
@property
|
369
397
|
def skip_start(self):
|
370
398
|
"""Gets the skip_start of this CreateExperimentalWorkspace. # noqa: E501
|
@@ -34,15 +34,17 @@ class CreateNotificationChannelRecord(object):
|
|
34
34
|
"""
|
35
35
|
openapi_types = {
|
36
36
|
'email_config': 'NotificationChannelEmailConfig',
|
37
|
-
'webhook_config': 'NotificationChannelWebhookConfig'
|
37
|
+
'webhook_config': 'NotificationChannelWebhookConfig',
|
38
|
+
'slack_config': 'NotificationChannelSlackConfig'
|
38
39
|
}
|
39
40
|
|
40
41
|
attribute_map = {
|
41
42
|
'email_config': 'email_config',
|
42
|
-
'webhook_config': 'webhook_config'
|
43
|
+
'webhook_config': 'webhook_config',
|
44
|
+
'slack_config': 'slack_config'
|
43
45
|
}
|
44
46
|
|
45
|
-
def __init__(self, email_config=None, webhook_config=None, local_vars_configuration=None): # noqa: E501
|
47
|
+
def __init__(self, email_config=None, webhook_config=None, slack_config=None, local_vars_configuration=None): # noqa: E501
|
46
48
|
"""CreateNotificationChannelRecord - a model defined in OpenAPI""" # noqa: E501
|
47
49
|
if local_vars_configuration is None:
|
48
50
|
local_vars_configuration = Configuration()
|
@@ -50,12 +52,15 @@ class CreateNotificationChannelRecord(object):
|
|
50
52
|
|
51
53
|
self._email_config = None
|
52
54
|
self._webhook_config = None
|
55
|
+
self._slack_config = None
|
53
56
|
self.discriminator = None
|
54
57
|
|
55
58
|
if email_config is not None:
|
56
59
|
self.email_config = email_config
|
57
60
|
if webhook_config is not None:
|
58
61
|
self.webhook_config = webhook_config
|
62
|
+
if slack_config is not None:
|
63
|
+
self.slack_config = slack_config
|
59
64
|
|
60
65
|
@property
|
61
66
|
def email_config(self):
|
@@ -99,6 +104,27 @@ class CreateNotificationChannelRecord(object):
|
|
99
104
|
|
100
105
|
self._webhook_config = webhook_config
|
101
106
|
|
107
|
+
@property
|
108
|
+
def slack_config(self):
|
109
|
+
"""Gets the slack_config of this CreateNotificationChannelRecord. # noqa: E501
|
110
|
+
|
111
|
+
|
112
|
+
:return: The slack_config of this CreateNotificationChannelRecord. # noqa: E501
|
113
|
+
:rtype: NotificationChannelSlackConfig
|
114
|
+
"""
|
115
|
+
return self._slack_config
|
116
|
+
|
117
|
+
@slack_config.setter
|
118
|
+
def slack_config(self, slack_config):
|
119
|
+
"""Sets the slack_config of this CreateNotificationChannelRecord.
|
120
|
+
|
121
|
+
|
122
|
+
:param slack_config: The slack_config of this CreateNotificationChannelRecord. # noqa: E501
|
123
|
+
:type: NotificationChannelSlackConfig
|
124
|
+
"""
|
125
|
+
|
126
|
+
self._slack_config = slack_config
|
127
|
+
|
102
128
|
def to_dict(self):
|
103
129
|
"""Returns the model properties as a dict"""
|
104
130
|
result = {}
|
@@ -55,8 +55,6 @@ class DecoratedInteractiveSession(object):
|
|
55
55
|
'creator': 'MiniUser',
|
56
56
|
'namespace': 'MiniNamespace',
|
57
57
|
'runtime_environment': 'MiniRuntimeEnvironment',
|
58
|
-
'cost_dollars': 'float',
|
59
|
-
'is_colocated': 'bool',
|
60
58
|
'access': 'JobAccess',
|
61
59
|
'integration_details': 'IntegrationDetails'
|
62
60
|
}
|
@@ -84,13 +82,11 @@ class DecoratedInteractiveSession(object):
|
|
84
82
|
'creator': 'creator',
|
85
83
|
'namespace': 'namespace',
|
86
84
|
'runtime_environment': 'runtime_environment',
|
87
|
-
'cost_dollars': 'cost_dollars',
|
88
|
-
'is_colocated': 'is_colocated',
|
89
85
|
'access': 'access',
|
90
86
|
'integration_details': 'integration_details'
|
91
87
|
}
|
92
88
|
|
93
|
-
def __init__(self, id=None, ray_session_name=None, ray_job_id=None, name=None, status=None, created_at=None, finished_at=None, ha_job_id=None, ray_job_submission_id=None, cluster_id=None, namespace_id='DEPRECATED_NAMESPACE_ID', environment_id=None, project_id=None, creator_id=None, integration_execution_details_id=None, bucket_log_prefix=None, bucket_log_prefix_streaming=None, project=None, cluster=None, creator=None, namespace=None, runtime_environment=None,
|
89
|
+
def __init__(self, id=None, ray_session_name=None, ray_job_id=None, name=None, status=None, created_at=None, finished_at=None, ha_job_id=None, ray_job_submission_id=None, cluster_id=None, namespace_id='DEPRECATED_NAMESPACE_ID', environment_id=None, project_id=None, creator_id=None, integration_execution_details_id=None, bucket_log_prefix=None, bucket_log_prefix_streaming=None, project=None, cluster=None, creator=None, namespace=None, runtime_environment=None, access=None, integration_details=None, local_vars_configuration=None): # noqa: E501
|
94
90
|
"""DecoratedInteractiveSession - a model defined in OpenAPI""" # noqa: E501
|
95
91
|
if local_vars_configuration is None:
|
96
92
|
local_vars_configuration = Configuration()
|
@@ -118,8 +114,6 @@ class DecoratedInteractiveSession(object):
|
|
118
114
|
self._creator = None
|
119
115
|
self._namespace = None
|
120
116
|
self._runtime_environment = None
|
121
|
-
self._cost_dollars = None
|
122
|
-
self._is_colocated = None
|
123
117
|
self._access = None
|
124
118
|
self._integration_details = None
|
125
119
|
self.discriminator = None
|
@@ -157,10 +151,6 @@ class DecoratedInteractiveSession(object):
|
|
157
151
|
if namespace is not None:
|
158
152
|
self.namespace = namespace
|
159
153
|
self.runtime_environment = runtime_environment
|
160
|
-
if cost_dollars is not None:
|
161
|
-
self.cost_dollars = cost_dollars
|
162
|
-
if is_colocated is not None:
|
163
|
-
self.is_colocated = is_colocated
|
164
154
|
if access is not None:
|
165
155
|
self.access = access
|
166
156
|
if integration_details is not None:
|
@@ -654,52 +644,6 @@ class DecoratedInteractiveSession(object):
|
|
654
644
|
|
655
645
|
self._runtime_environment = runtime_environment
|
656
646
|
|
657
|
-
@property
|
658
|
-
def cost_dollars(self):
|
659
|
-
"""Gets the cost_dollars of this DecoratedInteractiveSession. # noqa: E501
|
660
|
-
|
661
|
-
The total cost, in dollars, of the job's cluster during the time the job was running # noqa: E501
|
662
|
-
|
663
|
-
:return: The cost_dollars of this DecoratedInteractiveSession. # noqa: E501
|
664
|
-
:rtype: float
|
665
|
-
"""
|
666
|
-
return self._cost_dollars
|
667
|
-
|
668
|
-
@cost_dollars.setter
|
669
|
-
def cost_dollars(self, cost_dollars):
|
670
|
-
"""Sets the cost_dollars of this DecoratedInteractiveSession.
|
671
|
-
|
672
|
-
The total cost, in dollars, of the job's cluster during the time the job was running # noqa: E501
|
673
|
-
|
674
|
-
:param cost_dollars: The cost_dollars of this DecoratedInteractiveSession. # noqa: E501
|
675
|
-
:type: float
|
676
|
-
"""
|
677
|
-
|
678
|
-
self._cost_dollars = cost_dollars
|
679
|
-
|
680
|
-
@property
|
681
|
-
def is_colocated(self):
|
682
|
-
"""Gets the is_colocated of this DecoratedInteractiveSession. # noqa: E501
|
683
|
-
|
684
|
-
Whether or not this job was colocated with another job on the same cluster at the same time # noqa: E501
|
685
|
-
|
686
|
-
:return: The is_colocated of this DecoratedInteractiveSession. # noqa: E501
|
687
|
-
:rtype: bool
|
688
|
-
"""
|
689
|
-
return self._is_colocated
|
690
|
-
|
691
|
-
@is_colocated.setter
|
692
|
-
def is_colocated(self, is_colocated):
|
693
|
-
"""Sets the is_colocated of this DecoratedInteractiveSession.
|
694
|
-
|
695
|
-
Whether or not this job was colocated with another job on the same cluster at the same time # noqa: E501
|
696
|
-
|
697
|
-
:param is_colocated: The is_colocated of this DecoratedInteractiveSession. # noqa: E501
|
698
|
-
:type: bool
|
699
|
-
"""
|
700
|
-
|
701
|
-
self._is_colocated = is_colocated
|
702
|
-
|
703
647
|
@property
|
704
648
|
def access(self):
|
705
649
|
"""Gets the access of this DecoratedInteractiveSession. # noqa: E501
|