anyscale 0.26.45__py3-none-any.whl → 0.26.46__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/_private/anyscale_client/anyscale_client.py +4 -2
- anyscale/_private/anyscale_client/common.py +2 -0
- anyscale/_private/anyscale_client/fake_anyscale_client.py +4 -1
- anyscale/client/README.md +4 -0
- anyscale/client/openapi_client/__init__.py +2 -0
- anyscale/client/openapi_client/api/default_api.py +247 -0
- anyscale/client/openapi_client/models/__init__.py +2 -0
- anyscale/client/openapi_client/models/clouddeployment_response.py +121 -0
- anyscale/client/openapi_client/models/collaborator_type.py +101 -0
- anyscale/client/openapi_client/models/task_table_row.py +29 -3
- anyscale/cloud_resource.py +120 -150
- anyscale/commands/cloud_commands.py +46 -3
- anyscale/commands/command_examples.py +8 -0
- anyscale/controllers/cloud_controller.py +361 -76
- anyscale/gcp_verification.py +51 -38
- anyscale/utils/s3.py +2 -2
- anyscale/utils/user_utils.py +2 -1
- anyscale/version.py +1 -1
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info}/METADATA +11 -2
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info}/RECORD +25 -23
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info}/WHEEL +1 -1
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info/licenses}/LICENSE +0 -0
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info/licenses}/NOTICE +0 -0
- {anyscale-0.26.45.dist-info → anyscale-0.26.46.dist-info}/top_level.txt +0 -0
|
@@ -47,7 +47,8 @@ class TaskTableRow(object):
|
|
|
47
47
|
'worker_id': 'str',
|
|
48
48
|
'worker_pid': 'str',
|
|
49
49
|
'parent_task_id': 'str',
|
|
50
|
-
'ray_session_name': 'str'
|
|
50
|
+
'ray_session_name': 'str',
|
|
51
|
+
'exception_type': 'str'
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
attribute_map = {
|
|
@@ -65,10 +66,11 @@ class TaskTableRow(object):
|
|
|
65
66
|
'worker_id': 'worker_id',
|
|
66
67
|
'worker_pid': 'worker_pid',
|
|
67
68
|
'parent_task_id': 'parent_task_id',
|
|
68
|
-
'ray_session_name': 'ray_session_name'
|
|
69
|
+
'ray_session_name': 'ray_session_name',
|
|
70
|
+
'exception_type': 'exception_type'
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
def __init__(self, id=None, attempt_number=None, job_id=None, function_name=None, task_type=None, current_state=None, error_message=None, start_time_ns=None, end_time_ns=None, required_resources=None, node_id=None, worker_id=None, worker_pid=None, parent_task_id=None, ray_session_name=None, local_vars_configuration=None): # noqa: E501
|
|
73
|
+
def __init__(self, id=None, attempt_number=None, job_id=None, function_name=None, task_type=None, current_state=None, error_message=None, start_time_ns=None, end_time_ns=None, required_resources=None, node_id=None, worker_id=None, worker_pid=None, parent_task_id=None, ray_session_name=None, exception_type=None, local_vars_configuration=None): # noqa: E501
|
|
72
74
|
"""TaskTableRow - a model defined in OpenAPI""" # noqa: E501
|
|
73
75
|
if local_vars_configuration is None:
|
|
74
76
|
local_vars_configuration = Configuration()
|
|
@@ -89,6 +91,7 @@ class TaskTableRow(object):
|
|
|
89
91
|
self._worker_pid = None
|
|
90
92
|
self._parent_task_id = None
|
|
91
93
|
self._ray_session_name = None
|
|
94
|
+
self._exception_type = None
|
|
92
95
|
self.discriminator = None
|
|
93
96
|
|
|
94
97
|
self.id = id
|
|
@@ -114,6 +117,8 @@ class TaskTableRow(object):
|
|
|
114
117
|
if parent_task_id is not None:
|
|
115
118
|
self.parent_task_id = parent_task_id
|
|
116
119
|
self.ray_session_name = ray_session_name
|
|
120
|
+
if exception_type is not None:
|
|
121
|
+
self.exception_type = exception_type
|
|
117
122
|
|
|
118
123
|
@property
|
|
119
124
|
def id(self):
|
|
@@ -444,6 +449,27 @@ class TaskTableRow(object):
|
|
|
444
449
|
|
|
445
450
|
self._ray_session_name = ray_session_name
|
|
446
451
|
|
|
452
|
+
@property
|
|
453
|
+
def exception_type(self):
|
|
454
|
+
"""Gets the exception_type of this TaskTableRow. # noqa: E501
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
:return: The exception_type of this TaskTableRow. # noqa: E501
|
|
458
|
+
:rtype: str
|
|
459
|
+
"""
|
|
460
|
+
return self._exception_type
|
|
461
|
+
|
|
462
|
+
@exception_type.setter
|
|
463
|
+
def exception_type(self, exception_type):
|
|
464
|
+
"""Sets the exception_type of this TaskTableRow.
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
:param exception_type: The exception_type of this TaskTableRow. # noqa: E501
|
|
468
|
+
:type: str
|
|
469
|
+
"""
|
|
470
|
+
|
|
471
|
+
self._exception_type = exception_type
|
|
472
|
+
|
|
447
473
|
def to_dict(self):
|
|
448
474
|
"""Returns the model properties as a dict"""
|
|
449
475
|
result = {}
|