anyscale 0.26.67__py3-none-any.whl → 0.26.68__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 (30) hide show
  1. anyscale/client/README.md +20 -0
  2. anyscale/client/openapi_client/__init__.py +15 -0
  3. anyscale/client/openapi_client/api/default_api.py +656 -0
  4. anyscale/client/openapi_client/models/__init__.py +15 -0
  5. anyscale/client/openapi_client/models/lineage_artifact.py +383 -0
  6. anyscale/client/openapi_client/models/lineage_artifact_sort_field.py +101 -0
  7. anyscale/client/openapi_client/models/lineage_artifact_type.py +100 -0
  8. anyscale/client/openapi_client/models/lineage_direction.py +101 -0
  9. anyscale/client/openapi_client/models/lineage_graph.py +179 -0
  10. anyscale/client/openapi_client/models/lineage_graph_node.py +439 -0
  11. anyscale/client/openapi_client/models/lineage_node_type.py +100 -0
  12. anyscale/client/openapi_client/models/lineage_workload.py +355 -0
  13. anyscale/client/openapi_client/models/lineage_workload_sort_field.py +101 -0
  14. anyscale/client/openapi_client/models/lineage_workload_type.py +101 -0
  15. anyscale/client/openapi_client/models/lineageartifact_list_response.py +147 -0
  16. anyscale/client/openapi_client/models/lineageartifact_response.py +121 -0
  17. anyscale/client/openapi_client/models/lineagegraph_response.py +121 -0
  18. anyscale/client/openapi_client/models/lineageworkload_list_response.py +147 -0
  19. anyscale/client/openapi_client/models/lineageworkload_response.py +121 -0
  20. anyscale/commands/setup_k8s.py +460 -40
  21. anyscale/controllers/cloud_controller.py +10 -10
  22. anyscale/controllers/kubernetes_verifier.py +57 -11
  23. anyscale/version.py +1 -1
  24. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/METADATA +1 -1
  25. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/RECORD +30 -15
  26. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/WHEEL +0 -0
  27. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/entry_points.txt +0 -0
  28. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/licenses/LICENSE +0 -0
  29. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/licenses/NOTICE +0 -0
  30. {anyscale-0.26.67.dist-info → anyscale-0.26.68.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,101 @@
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 LineageDirection(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
+ allowed enum values
30
+ """
31
+ IN = "IN"
32
+ OUT = "OUT"
33
+ BIDIR = "BIDIR"
34
+
35
+ allowable_values = [IN, OUT, BIDIR] # noqa: E501
36
+
37
+ """
38
+ Attributes:
39
+ openapi_types (dict): The key is attribute name
40
+ and the value is attribute type.
41
+ attribute_map (dict): The key is attribute name
42
+ and the value is json key in definition.
43
+ """
44
+ openapi_types = {
45
+ }
46
+
47
+ attribute_map = {
48
+ }
49
+
50
+ def __init__(self, local_vars_configuration=None): # noqa: E501
51
+ """LineageDirection - a model defined in OpenAPI""" # noqa: E501
52
+ if local_vars_configuration is None:
53
+ local_vars_configuration = Configuration()
54
+ self.local_vars_configuration = local_vars_configuration
55
+ self.discriminator = None
56
+
57
+ def to_dict(self):
58
+ """Returns the model properties as a dict"""
59
+ result = {}
60
+
61
+ for attr, _ in six.iteritems(self.openapi_types):
62
+ value = getattr(self, attr)
63
+ if isinstance(value, list):
64
+ result[attr] = list(map(
65
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
66
+ value
67
+ ))
68
+ elif hasattr(value, "to_dict"):
69
+ result[attr] = value.to_dict()
70
+ elif isinstance(value, dict):
71
+ result[attr] = dict(map(
72
+ lambda item: (item[0], item[1].to_dict())
73
+ if hasattr(item[1], "to_dict") else item,
74
+ value.items()
75
+ ))
76
+ else:
77
+ result[attr] = value
78
+
79
+ return result
80
+
81
+ def to_str(self):
82
+ """Returns the string representation of the model"""
83
+ return pprint.pformat(self.to_dict())
84
+
85
+ def __repr__(self):
86
+ """For `print` and `pprint`"""
87
+ return self.to_str()
88
+
89
+ def __eq__(self, other):
90
+ """Returns true if both objects are equal"""
91
+ if not isinstance(other, LineageDirection):
92
+ return False
93
+
94
+ return self.to_dict() == other.to_dict()
95
+
96
+ def __ne__(self, other):
97
+ """Returns true if both objects are not equal"""
98
+ if not isinstance(other, LineageDirection):
99
+ return True
100
+
101
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,179 @@
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 LineageGraph(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
+ 'node': 'LineageGraphNode',
37
+ 'in_edges': 'list[LineageGraphNode]',
38
+ 'out_edges': 'list[LineageGraphNode]'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'node': 'node',
43
+ 'in_edges': 'in_edges',
44
+ 'out_edges': 'out_edges'
45
+ }
46
+
47
+ def __init__(self, node=None, in_edges=None, out_edges=None, local_vars_configuration=None): # noqa: E501
48
+ """LineageGraph - 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._node = None
54
+ self._in_edges = None
55
+ self._out_edges = None
56
+ self.discriminator = None
57
+
58
+ self.node = node
59
+ if in_edges is not None:
60
+ self.in_edges = in_edges
61
+ if out_edges is not None:
62
+ self.out_edges = out_edges
63
+
64
+ @property
65
+ def node(self):
66
+ """Gets the node of this LineageGraph. # noqa: E501
67
+
68
+ The queried node # noqa: E501
69
+
70
+ :return: The node of this LineageGraph. # noqa: E501
71
+ :rtype: LineageGraphNode
72
+ """
73
+ return self._node
74
+
75
+ @node.setter
76
+ def node(self, node):
77
+ """Sets the node of this LineageGraph.
78
+
79
+ The queried node # noqa: E501
80
+
81
+ :param node: The node of this LineageGraph. # noqa: E501
82
+ :type: LineageGraphNode
83
+ """
84
+ if self.local_vars_configuration.client_side_validation and node is None: # noqa: E501
85
+ raise ValueError("Invalid value for `node`, must not be `None`") # noqa: E501
86
+
87
+ self._node = node
88
+
89
+ @property
90
+ def in_edges(self):
91
+ """Gets the in_edges of this LineageGraph. # noqa: E501
92
+
93
+ Nodes with inward edges (producers) # noqa: E501
94
+
95
+ :return: The in_edges of this LineageGraph. # noqa: E501
96
+ :rtype: list[LineageGraphNode]
97
+ """
98
+ return self._in_edges
99
+
100
+ @in_edges.setter
101
+ def in_edges(self, in_edges):
102
+ """Sets the in_edges of this LineageGraph.
103
+
104
+ Nodes with inward edges (producers) # noqa: E501
105
+
106
+ :param in_edges: The in_edges of this LineageGraph. # noqa: E501
107
+ :type: list[LineageGraphNode]
108
+ """
109
+
110
+ self._in_edges = in_edges
111
+
112
+ @property
113
+ def out_edges(self):
114
+ """Gets the out_edges of this LineageGraph. # noqa: E501
115
+
116
+ Nodes with outward edges (consumers) # noqa: E501
117
+
118
+ :return: The out_edges of this LineageGraph. # noqa: E501
119
+ :rtype: list[LineageGraphNode]
120
+ """
121
+ return self._out_edges
122
+
123
+ @out_edges.setter
124
+ def out_edges(self, out_edges):
125
+ """Sets the out_edges of this LineageGraph.
126
+
127
+ Nodes with outward edges (consumers) # noqa: E501
128
+
129
+ :param out_edges: The out_edges of this LineageGraph. # noqa: E501
130
+ :type: list[LineageGraphNode]
131
+ """
132
+
133
+ self._out_edges = out_edges
134
+
135
+ def to_dict(self):
136
+ """Returns the model properties as a dict"""
137
+ result = {}
138
+
139
+ for attr, _ in six.iteritems(self.openapi_types):
140
+ value = getattr(self, attr)
141
+ if isinstance(value, list):
142
+ result[attr] = list(map(
143
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
144
+ value
145
+ ))
146
+ elif hasattr(value, "to_dict"):
147
+ result[attr] = value.to_dict()
148
+ elif isinstance(value, dict):
149
+ result[attr] = dict(map(
150
+ lambda item: (item[0], item[1].to_dict())
151
+ if hasattr(item[1], "to_dict") else item,
152
+ value.items()
153
+ ))
154
+ else:
155
+ result[attr] = value
156
+
157
+ return result
158
+
159
+ def to_str(self):
160
+ """Returns the string representation of the model"""
161
+ return pprint.pformat(self.to_dict())
162
+
163
+ def __repr__(self):
164
+ """For `print` and `pprint`"""
165
+ return self.to_str()
166
+
167
+ def __eq__(self, other):
168
+ """Returns true if both objects are equal"""
169
+ if not isinstance(other, LineageGraph):
170
+ return False
171
+
172
+ return self.to_dict() == other.to_dict()
173
+
174
+ def __ne__(self, other):
175
+ """Returns true if both objects are not equal"""
176
+ if not isinstance(other, LineageGraph):
177
+ return True
178
+
179
+ return self.to_dict() != other.to_dict()