anyscale 0.26.8__py3-none-any.whl → 0.26.10__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 (65) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +17 -1
  2. anyscale/_private/anyscale_client/common.py +12 -2
  3. anyscale/_private/anyscale_client/fake_anyscale_client.py +20 -3
  4. anyscale/_private/docgen/__main__.py +4 -0
  5. anyscale/_private/docgen/models.md +11 -2
  6. anyscale/anyscale_halo/LICENSE +21 -0
  7. anyscale/anyscale_halo/README.md +1 -0
  8. anyscale/anyscale_halo/__init__.py +10 -0
  9. anyscale/anyscale_halo/_utils.py +148 -0
  10. anyscale/anyscale_halo/cursor.py +48 -0
  11. anyscale/anyscale_halo/halo.py +609 -0
  12. anyscale/anyscale_halo/halo_notebook.py +122 -0
  13. anyscale/cli_logger.py +1 -1
  14. anyscale/client/README.md +6 -37
  15. anyscale/client/openapi_client/__init__.py +4 -24
  16. anyscale/client/openapi_client/api/default_api.py +447 -1693
  17. anyscale/client/openapi_client/models/__init__.py +4 -24
  18. anyscale/client/openapi_client/models/baseimagesenum.py +69 -1
  19. anyscale/client/openapi_client/models/{job_status.py → cluster_state.py} +16 -13
  20. anyscale/client/openapi_client/models/describe_system_workload_response.py +226 -0
  21. anyscale/client/openapi_client/models/{decoratedjobsubmission_response.py → describesystemworkloadresponse_response.py} +11 -11
  22. anyscale/client/openapi_client/models/operator_metrics.py +54 -1
  23. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +69 -1
  24. anyscale/client/openapi_client/models/{dismissal_type.py → system_workload_name.py} +6 -7
  25. anyscale/commands/command_examples.py +4 -0
  26. anyscale/commands/service_commands.py +62 -27
  27. anyscale/job/_private/job_sdk.py +1 -3
  28. anyscale/sdk/anyscale_client/__init__.py +1 -0
  29. anyscale/sdk/anyscale_client/models/__init__.py +1 -0
  30. anyscale/sdk/anyscale_client/models/baseimagesenum.py +69 -1
  31. anyscale/sdk/anyscale_client/models/cluster.py +60 -3
  32. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +69 -1
  33. anyscale/{client/openapi_client/models/visibility.py → sdk/anyscale_client/models/system_workload_name.py} +8 -9
  34. anyscale/service/__init__.py +19 -0
  35. anyscale/service/_private/service_sdk.py +26 -2
  36. anyscale/service/commands.py +48 -9
  37. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  38. anyscale/version.py +1 -1
  39. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/METADATA +5 -2
  40. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/RECORD +45 -57
  41. anyscale/client/openapi_client/models/card.py +0 -181
  42. anyscale/client/openapi_client/models/card_id.py +0 -108
  43. anyscale/client/openapi_client/models/card_list_response.py +0 -147
  44. anyscale/client/openapi_client/models/cluster_features.py +0 -152
  45. anyscale/client/openapi_client/models/clusterfeatures_response.py +0 -121
  46. anyscale/client/openapi_client/models/decorated_job_submission.py +0 -547
  47. anyscale/client/openapi_client/models/decoratedjobsubmission_list_response.py +0 -147
  48. anyscale/client/openapi_client/models/feature_compatibility.py +0 -152
  49. anyscale/client/openapi_client/models/interactive_session_logs.py +0 -152
  50. anyscale/client/openapi_client/models/interactivesessionlogs_response.py +0 -121
  51. anyscale/client/openapi_client/models/job_submissions_sort_field.py +0 -101
  52. anyscale/client/openapi_client/models/jobs_logs.py +0 -152
  53. anyscale/client/openapi_client/models/jobs_logs_query_info.py +0 -181
  54. anyscale/client/openapi_client/models/jobslogs_response.py +0 -121
  55. anyscale/client/openapi_client/models/jobslogsqueryinfo_response.py +0 -121
  56. anyscale/client/openapi_client/models/onboarding_user_cards_query.py +0 -122
  57. anyscale/client/openapi_client/models/serve_deployment_logs.py +0 -152
  58. anyscale/client/openapi_client/models/servedeploymentlogs_response.py +0 -121
  59. anyscale/client/openapi_client/models/timestamped_logs_output.py +0 -148
  60. anyscale/client/openapi_client/models/timestampedlogsoutput_response.py +0 -121
  61. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/LICENSE +0 -0
  62. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/NOTICE +0 -0
  63. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/WHEEL +0 -0
  64. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/entry_points.txt +0 -0
  65. {anyscale-0.26.8.dist-info → anyscale-0.26.10.dist-info}/top_level.txt +0 -0
@@ -1,121 +0,0 @@
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 ServedeploymentlogsResponse(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
- 'result': 'ServeDeploymentLogs'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """ServedeploymentlogsResponse - a model defined in OpenAPI""" # noqa: E501
45
- if local_vars_configuration is None:
46
- local_vars_configuration = Configuration()
47
- self.local_vars_configuration = local_vars_configuration
48
-
49
- self._result = None
50
- self.discriminator = None
51
-
52
- self.result = result
53
-
54
- @property
55
- def result(self):
56
- """Gets the result of this ServedeploymentlogsResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this ServedeploymentlogsResponse. # noqa: E501
60
- :rtype: ServeDeploymentLogs
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this ServedeploymentlogsResponse.
67
-
68
-
69
- :param result: The result of this ServedeploymentlogsResponse. # noqa: E501
70
- :type: ServeDeploymentLogs
71
- """
72
- if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
- raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
74
-
75
- self._result = result
76
-
77
- def to_dict(self):
78
- """Returns the model properties as a dict"""
79
- result = {}
80
-
81
- for attr, _ in six.iteritems(self.openapi_types):
82
- value = getattr(self, attr)
83
- if isinstance(value, list):
84
- result[attr] = list(map(
85
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
- value
87
- ))
88
- elif hasattr(value, "to_dict"):
89
- result[attr] = value.to_dict()
90
- elif isinstance(value, dict):
91
- result[attr] = dict(map(
92
- lambda item: (item[0], item[1].to_dict())
93
- if hasattr(item[1], "to_dict") else item,
94
- value.items()
95
- ))
96
- else:
97
- result[attr] = value
98
-
99
- return result
100
-
101
- def to_str(self):
102
- """Returns the string representation of the model"""
103
- return pprint.pformat(self.to_dict())
104
-
105
- def __repr__(self):
106
- """For `print` and `pprint`"""
107
- return self.to_str()
108
-
109
- def __eq__(self, other):
110
- """Returns true if both objects are equal"""
111
- if not isinstance(other, ServedeploymentlogsResponse):
112
- return False
113
-
114
- return self.to_dict() == other.to_dict()
115
-
116
- def __ne__(self, other):
117
- """Returns true if both objects are not equal"""
118
- if not isinstance(other, ServedeploymentlogsResponse):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()
@@ -1,148 +0,0 @@
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 TimestampedLogsOutput(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
- 'lines': 'list[str]',
37
- 'last_timestamp_ns': 'int'
38
- }
39
-
40
- attribute_map = {
41
- 'lines': 'lines',
42
- 'last_timestamp_ns': 'last_timestamp_ns'
43
- }
44
-
45
- def __init__(self, lines=None, last_timestamp_ns=None, local_vars_configuration=None): # noqa: E501
46
- """TimestampedLogsOutput - a model defined in OpenAPI""" # noqa: E501
47
- if local_vars_configuration is None:
48
- local_vars_configuration = Configuration()
49
- self.local_vars_configuration = local_vars_configuration
50
-
51
- self._lines = None
52
- self._last_timestamp_ns = None
53
- self.discriminator = None
54
-
55
- self.lines = lines
56
- self.last_timestamp_ns = last_timestamp_ns
57
-
58
- @property
59
- def lines(self):
60
- """Gets the lines of this TimestampedLogsOutput. # noqa: E501
61
-
62
-
63
- :return: The lines of this TimestampedLogsOutput. # noqa: E501
64
- :rtype: list[str]
65
- """
66
- return self._lines
67
-
68
- @lines.setter
69
- def lines(self, lines):
70
- """Sets the lines of this TimestampedLogsOutput.
71
-
72
-
73
- :param lines: The lines of this TimestampedLogsOutput. # noqa: E501
74
- :type: list[str]
75
- """
76
- if self.local_vars_configuration.client_side_validation and lines is None: # noqa: E501
77
- raise ValueError("Invalid value for `lines`, must not be `None`") # noqa: E501
78
-
79
- self._lines = lines
80
-
81
- @property
82
- def last_timestamp_ns(self):
83
- """Gets the last_timestamp_ns of this TimestampedLogsOutput. # noqa: E501
84
-
85
-
86
- :return: The last_timestamp_ns of this TimestampedLogsOutput. # noqa: E501
87
- :rtype: int
88
- """
89
- return self._last_timestamp_ns
90
-
91
- @last_timestamp_ns.setter
92
- def last_timestamp_ns(self, last_timestamp_ns):
93
- """Sets the last_timestamp_ns of this TimestampedLogsOutput.
94
-
95
-
96
- :param last_timestamp_ns: The last_timestamp_ns of this TimestampedLogsOutput. # noqa: E501
97
- :type: int
98
- """
99
- if self.local_vars_configuration.client_side_validation and last_timestamp_ns is None: # noqa: E501
100
- raise ValueError("Invalid value for `last_timestamp_ns`, must not be `None`") # noqa: E501
101
-
102
- self._last_timestamp_ns = last_timestamp_ns
103
-
104
- def to_dict(self):
105
- """Returns the model properties as a dict"""
106
- result = {}
107
-
108
- for attr, _ in six.iteritems(self.openapi_types):
109
- value = getattr(self, attr)
110
- if isinstance(value, list):
111
- result[attr] = list(map(
112
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
113
- value
114
- ))
115
- elif hasattr(value, "to_dict"):
116
- result[attr] = value.to_dict()
117
- elif isinstance(value, dict):
118
- result[attr] = dict(map(
119
- lambda item: (item[0], item[1].to_dict())
120
- if hasattr(item[1], "to_dict") else item,
121
- value.items()
122
- ))
123
- else:
124
- result[attr] = value
125
-
126
- return result
127
-
128
- def to_str(self):
129
- """Returns the string representation of the model"""
130
- return pprint.pformat(self.to_dict())
131
-
132
- def __repr__(self):
133
- """For `print` and `pprint`"""
134
- return self.to_str()
135
-
136
- def __eq__(self, other):
137
- """Returns true if both objects are equal"""
138
- if not isinstance(other, TimestampedLogsOutput):
139
- return False
140
-
141
- return self.to_dict() == other.to_dict()
142
-
143
- def __ne__(self, other):
144
- """Returns true if both objects are not equal"""
145
- if not isinstance(other, TimestampedLogsOutput):
146
- return True
147
-
148
- return self.to_dict() != other.to_dict()
@@ -1,121 +0,0 @@
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 TimestampedlogsoutputResponse(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
- 'result': 'TimestampedLogsOutput'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """TimestampedlogsoutputResponse - a model defined in OpenAPI""" # noqa: E501
45
- if local_vars_configuration is None:
46
- local_vars_configuration = Configuration()
47
- self.local_vars_configuration = local_vars_configuration
48
-
49
- self._result = None
50
- self.discriminator = None
51
-
52
- self.result = result
53
-
54
- @property
55
- def result(self):
56
- """Gets the result of this TimestampedlogsoutputResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this TimestampedlogsoutputResponse. # noqa: E501
60
- :rtype: TimestampedLogsOutput
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this TimestampedlogsoutputResponse.
67
-
68
-
69
- :param result: The result of this TimestampedlogsoutputResponse. # noqa: E501
70
- :type: TimestampedLogsOutput
71
- """
72
- if self.local_vars_configuration.client_side_validation and result is None: # noqa: E501
73
- raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
74
-
75
- self._result = result
76
-
77
- def to_dict(self):
78
- """Returns the model properties as a dict"""
79
- result = {}
80
-
81
- for attr, _ in six.iteritems(self.openapi_types):
82
- value = getattr(self, attr)
83
- if isinstance(value, list):
84
- result[attr] = list(map(
85
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
- value
87
- ))
88
- elif hasattr(value, "to_dict"):
89
- result[attr] = value.to_dict()
90
- elif isinstance(value, dict):
91
- result[attr] = dict(map(
92
- lambda item: (item[0], item[1].to_dict())
93
- if hasattr(item[1], "to_dict") else item,
94
- value.items()
95
- ))
96
- else:
97
- result[attr] = value
98
-
99
- return result
100
-
101
- def to_str(self):
102
- """Returns the string representation of the model"""
103
- return pprint.pformat(self.to_dict())
104
-
105
- def __repr__(self):
106
- """For `print` and `pprint`"""
107
- return self.to_str()
108
-
109
- def __eq__(self, other):
110
- """Returns true if both objects are equal"""
111
- if not isinstance(other, TimestampedlogsoutputResponse):
112
- return False
113
-
114
- return self.to_dict() == other.to_dict()
115
-
116
- def __ne__(self, other):
117
- """Returns true if both objects are not equal"""
118
- if not isinstance(other, TimestampedlogsoutputResponse):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()