anyscale 0.26.70__py3-none-any.whl → 0.26.71__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.
Files changed (78) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +63 -6
  2. anyscale/_private/anyscale_client/common.py +33 -3
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +27 -2
  4. anyscale/client/README.md +29 -0
  5. anyscale/client/openapi_client/__init__.py +19 -0
  6. anyscale/client/openapi_client/api/default_api.py +1307 -4
  7. anyscale/client/openapi_client/models/__init__.py +19 -0
  8. anyscale/client/openapi_client/models/apply_multi_version_update_weights_update_model.py +152 -0
  9. anyscale/client/openapi_client/models/apply_version_weight_update_model.py +181 -0
  10. anyscale/client/openapi_client/models/backend_server_api_product_models_catalog_client_models_table_metadata.py +546 -0
  11. anyscale/client/openapi_client/models/backend_server_api_product_models_data_catalogs_table_metadata.py +178 -0
  12. anyscale/client/openapi_client/models/baseimagesenum.py +70 -1
  13. anyscale/client/openapi_client/models/catalog_metadata.py +150 -0
  14. anyscale/client/openapi_client/models/column_info.py +265 -0
  15. anyscale/client/openapi_client/models/compute_node_type.py +29 -1
  16. anyscale/client/openapi_client/models/connection_metadata.py +206 -0
  17. anyscale/client/openapi_client/models/create_workspace_template_version.py +31 -3
  18. anyscale/client/openapi_client/models/data_catalog.py +45 -31
  19. anyscale/client/openapi_client/models/data_catalog_connection.py +74 -58
  20. anyscale/client/openapi_client/models/data_catalog_object_type.py +100 -0
  21. anyscale/client/openapi_client/models/data_catalog_schema.py +324 -0
  22. anyscale/client/openapi_client/models/data_catalog_table.py +437 -0
  23. anyscale/client/openapi_client/models/data_catalog_volume.py +437 -0
  24. anyscale/client/openapi_client/models/datacatalogschema_list_response.py +147 -0
  25. anyscale/client/openapi_client/models/datacatalogtable_list_response.py +147 -0
  26. anyscale/client/openapi_client/models/datacatalogvolume_list_response.py +147 -0
  27. anyscale/client/openapi_client/models/decorated_serve_deployment.py +27 -1
  28. anyscale/client/openapi_client/models/decoratedproductionservicev2_versionapimodel_response.py +121 -0
  29. anyscale/client/openapi_client/models/describe_machine_pool_machines_filters.py +2 -2
  30. anyscale/client/openapi_client/models/describe_machine_pool_requests_filters.py +33 -5
  31. anyscale/client/openapi_client/models/describe_machine_pool_workloads_filters.py +2 -2
  32. anyscale/client/openapi_client/models/physical_resources.py +178 -0
  33. anyscale/client/openapi_client/models/schema_metadata.py +150 -0
  34. anyscale/client/openapi_client/models/sso_config.py +18 -18
  35. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +70 -1
  36. anyscale/client/openapi_client/models/table_data_preview.py +209 -0
  37. anyscale/client/openapi_client/models/volume_metadata.py +150 -0
  38. anyscale/client/openapi_client/models/worker_node_type.py +29 -1
  39. anyscale/client/openapi_client/models/workspace_template_version.py +29 -1
  40. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +29 -1
  41. anyscale/commands/job_commands.py +120 -0
  42. anyscale/commands/job_queue_commands.py +99 -2
  43. anyscale/commands/service_commands.py +139 -2
  44. anyscale/commands/util.py +104 -1
  45. anyscale/commands/workspace_commands.py +123 -5
  46. anyscale/commands/workspace_commands_v2.py +17 -1
  47. anyscale/compute_config/_private/compute_config_sdk.py +25 -12
  48. anyscale/compute_config/models.py +15 -0
  49. anyscale/controllers/job_controller.py +12 -0
  50. anyscale/controllers/workspace_controller.py +67 -5
  51. anyscale/job/_private/job_sdk.py +3 -1
  52. anyscale/job/models.py +16 -0
  53. anyscale/job_queue/__init__.py +37 -1
  54. anyscale/job_queue/_private/job_queue_sdk.py +28 -1
  55. anyscale/job_queue/commands.py +61 -1
  56. anyscale/sdk/anyscale_client/__init__.py +1 -0
  57. anyscale/sdk/anyscale_client/api/default_api.py +12 -2
  58. anyscale/sdk/anyscale_client/models/__init__.py +1 -0
  59. anyscale/sdk/anyscale_client/models/baseimagesenum.py +70 -1
  60. anyscale/sdk/anyscale_client/models/compute_node_type.py +29 -1
  61. anyscale/sdk/anyscale_client/models/physical_resources.py +178 -0
  62. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +70 -1
  63. anyscale/sdk/anyscale_client/models/worker_node_type.py +29 -1
  64. anyscale/service/__init__.py +40 -0
  65. anyscale/service/_private/service_sdk.py +121 -24
  66. anyscale/service/commands.py +75 -1
  67. anyscale/service/models.py +46 -2
  68. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  69. anyscale/version.py +1 -1
  70. anyscale/workspace/_private/workspace_sdk.py +1 -0
  71. anyscale/workspace/models.py +19 -0
  72. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/METADATA +1 -1
  73. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/RECORD +78 -58
  74. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/WHEEL +0 -0
  75. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/entry_points.txt +0 -0
  76. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/licenses/LICENSE +0 -0
  77. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/licenses/NOTICE +0 -0
  78. {anyscale-0.26.70.dist-info → anyscale-0.26.71.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,178 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Managed Ray API
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ from openapi_client.configuration import Configuration
19
+
20
+
21
+ class BackendServerApiProductModelsDataCatalogsTableMetadata(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ 'owner': 'str',
37
+ 'full_name': 'str',
38
+ 'column_count': 'int'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'owner': 'owner',
43
+ 'full_name': 'full_name',
44
+ 'column_count': 'column_count'
45
+ }
46
+
47
+ def __init__(self, owner=None, full_name=None, column_count=None, local_vars_configuration=None): # noqa: E501
48
+ """BackendServerApiProductModelsDataCatalogsTableMetadata - a model defined in OpenAPI""" # noqa: E501
49
+ if local_vars_configuration is None:
50
+ local_vars_configuration = Configuration()
51
+ self.local_vars_configuration = local_vars_configuration
52
+
53
+ self._owner = None
54
+ self._full_name = None
55
+ self._column_count = None
56
+ self.discriminator = None
57
+
58
+ if owner is not None:
59
+ self.owner = owner
60
+ if full_name is not None:
61
+ self.full_name = full_name
62
+ if column_count is not None:
63
+ self.column_count = column_count
64
+
65
+ @property
66
+ def owner(self):
67
+ """Gets the owner of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
68
+
69
+ Owner of the entity # noqa: E501
70
+
71
+ :return: The owner of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
72
+ :rtype: str
73
+ """
74
+ return self._owner
75
+
76
+ @owner.setter
77
+ def owner(self, owner):
78
+ """Sets the owner of this BackendServerApiProductModelsDataCatalogsTableMetadata.
79
+
80
+ Owner of the entity # noqa: E501
81
+
82
+ :param owner: The owner of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
83
+ :type: str
84
+ """
85
+
86
+ self._owner = owner
87
+
88
+ @property
89
+ def full_name(self):
90
+ """Gets the full_name of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
91
+
92
+ Fully qualified name of the entity # noqa: E501
93
+
94
+ :return: The full_name of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
95
+ :rtype: str
96
+ """
97
+ return self._full_name
98
+
99
+ @full_name.setter
100
+ def full_name(self, full_name):
101
+ """Sets the full_name of this BackendServerApiProductModelsDataCatalogsTableMetadata.
102
+
103
+ Fully qualified name of the entity # noqa: E501
104
+
105
+ :param full_name: The full_name of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
106
+ :type: str
107
+ """
108
+
109
+ self._full_name = full_name
110
+
111
+ @property
112
+ def column_count(self):
113
+ """Gets the column_count of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
114
+
115
+ Number of columns in the table # noqa: E501
116
+
117
+ :return: The column_count of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
118
+ :rtype: int
119
+ """
120
+ return self._column_count
121
+
122
+ @column_count.setter
123
+ def column_count(self, column_count):
124
+ """Sets the column_count of this BackendServerApiProductModelsDataCatalogsTableMetadata.
125
+
126
+ Number of columns in the table # noqa: E501
127
+
128
+ :param column_count: The column_count of this BackendServerApiProductModelsDataCatalogsTableMetadata. # noqa: E501
129
+ :type: int
130
+ """
131
+
132
+ self._column_count = column_count
133
+
134
+ def to_dict(self):
135
+ """Returns the model properties as a dict"""
136
+ result = {}
137
+
138
+ for attr, _ in six.iteritems(self.openapi_types):
139
+ value = getattr(self, attr)
140
+ if isinstance(value, list):
141
+ result[attr] = list(map(
142
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
143
+ value
144
+ ))
145
+ elif hasattr(value, "to_dict"):
146
+ result[attr] = value.to_dict()
147
+ elif isinstance(value, dict):
148
+ result[attr] = dict(map(
149
+ lambda item: (item[0], item[1].to_dict())
150
+ if hasattr(item[1], "to_dict") else item,
151
+ value.items()
152
+ ))
153
+ else:
154
+ result[attr] = value
155
+
156
+ return result
157
+
158
+ def to_str(self):
159
+ """Returns the string representation of the model"""
160
+ return pprint.pformat(self.to_dict())
161
+
162
+ def __repr__(self):
163
+ """For `print` and `pprint`"""
164
+ return self.to_str()
165
+
166
+ def __eq__(self, other):
167
+ """Returns true if both objects are equal"""
168
+ if not isinstance(other, BackendServerApiProductModelsDataCatalogsTableMetadata):
169
+ return False
170
+
171
+ return self.to_dict() == other.to_dict()
172
+
173
+ def __ne__(self, other):
174
+ """Returns true if both objects are not equal"""
175
+ if not isinstance(other, BackendServerApiProductModelsDataCatalogsTableMetadata):
176
+ return True
177
+
178
+ return self.to_dict() != other.to_dict()