anyscale 0.26.9__py3-none-any.whl → 0.26.11__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 (48) hide show
  1. anyscale/anyscale_halo/LICENSE +21 -0
  2. anyscale/anyscale_halo/README.md +1 -0
  3. anyscale/anyscale_halo/__init__.py +10 -0
  4. anyscale/anyscale_halo/_utils.py +148 -0
  5. anyscale/anyscale_halo/cursor.py +48 -0
  6. anyscale/anyscale_halo/halo.py +609 -0
  7. anyscale/anyscale_halo/halo_notebook.py +122 -0
  8. anyscale/cli_logger.py +1 -1
  9. anyscale/client/README.md +0 -35
  10. anyscale/client/openapi_client/__init__.py +0 -28
  11. anyscale/client/openapi_client/api/default_api.py +107 -878
  12. anyscale/client/openapi_client/models/__init__.py +0 -28
  13. anyscale/version.py +1 -1
  14. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/METADATA +5 -2
  15. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/RECORD +20 -41
  16. anyscale/client/openapi_client/models/card.py +0 -181
  17. anyscale/client/openapi_client/models/card_id.py +0 -108
  18. anyscale/client/openapi_client/models/card_list_response.py +0 -147
  19. anyscale/client/openapi_client/models/cluster_features.py +0 -152
  20. anyscale/client/openapi_client/models/clusterfeatures_response.py +0 -121
  21. anyscale/client/openapi_client/models/dismissal_type.py +0 -100
  22. anyscale/client/openapi_client/models/feature_compatibility.py +0 -152
  23. anyscale/client/openapi_client/models/onboarding_user_cards_query.py +0 -122
  24. anyscale/client/openapi_client/models/project_collaborators_put_message.py +0 -121
  25. anyscale/client/openapi_client/models/project_create_message.py +0 -148
  26. anyscale/client/openapi_client/models/project_delete_message.py +0 -121
  27. anyscale/client/openapi_client/models/project_patch_message.py +0 -121
  28. anyscale/client/openapi_client/models/session_autosync_sessions_update_message.py +0 -121
  29. anyscale/client/openapi_client/models/session_create_message.py +0 -148
  30. anyscale/client/openapi_client/models/session_delete_message.py +0 -121
  31. anyscale/client/openapi_client/models/session_execute_message.py +0 -121
  32. anyscale/client/openapi_client/models/session_finish_command_message.py +0 -175
  33. anyscale/client/openapi_client/models/session_kill_command_message.py +0 -121
  34. anyscale/client/openapi_client/models/session_patch_message.py +0 -121
  35. anyscale/client/openapi_client/models/session_state_change_message.py +0 -121
  36. anyscale/client/openapi_client/models/snapshot_create_message.py +0 -148
  37. anyscale/client/openapi_client/models/snapshot_delete_message.py +0 -148
  38. anyscale/client/openapi_client/models/snapshot_patch_message.py +0 -148
  39. anyscale/client/openapi_client/models/socket_message_schemas.py +0 -499
  40. anyscale/client/openapi_client/models/socket_message_types.py +0 -113
  41. anyscale/client/openapi_client/models/socketmessageschemas_response.py +0 -121
  42. anyscale/client/openapi_client/models/socketmessagetypes_response.py +0 -121
  43. anyscale/client/openapi_client/models/visibility.py +0 -100
  44. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/LICENSE +0 -0
  45. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/NOTICE +0 -0
  46. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/WHEEL +0 -0
  47. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/entry_points.txt +0 -0
  48. {anyscale-0.26.9.dist-info → anyscale-0.26.11.dist-info}/top_level.txt +0 -0
@@ -1,113 +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 SocketMessageTypes(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
- PROJECTCREATEMESSAGE = "ProjectCreateMessage"
32
- PROJECTDELETEMESSAGE = "ProjectDeleteMessage"
33
- PROJECTPATCHMESSAGE = "ProjectPatchMessage"
34
- SESSIONAUTOSYNCSESSIONSUPDATEMESSAGE = "SessionAutosyncSessionsUpdateMessage"
35
- SESSIONCREATEMESSAGE = "SessionCreateMessage"
36
- SESSIONPATCHMESSAGE = "SessionPatchMessage"
37
- SESSIONDELETEMESSAGE = "SessionDeleteMessage"
38
- SESSIONEXECUTEMESSAGE = "SessionExecuteMessage"
39
- SESSIONSTATECHANGEMESSAGE = "SessionStateChangeMessage"
40
- SESSIONKILLCOMMANDMESSAGE = "SessionKillCommandMessage"
41
- SESSIONFINISHCOMMANDMESSAGE = "SessionFinishCommandMessage"
42
- SNAPSHOTCREATEMESSAGE = "SnapshotCreateMessage"
43
- SNAPSHOTDELETEMESSAGE = "SnapshotDeleteMessage"
44
- SNAPSHOTPATCHMESSAGE = "SnapshotPatchMessage"
45
- PROJECTCOLLABORATORSPUTMESSAGE = "ProjectCollaboratorsPutMessage"
46
-
47
- allowable_values = [PROJECTCREATEMESSAGE, PROJECTDELETEMESSAGE, PROJECTPATCHMESSAGE, SESSIONAUTOSYNCSESSIONSUPDATEMESSAGE, SESSIONCREATEMESSAGE, SESSIONPATCHMESSAGE, SESSIONDELETEMESSAGE, SESSIONEXECUTEMESSAGE, SESSIONSTATECHANGEMESSAGE, SESSIONKILLCOMMANDMESSAGE, SESSIONFINISHCOMMANDMESSAGE, SNAPSHOTCREATEMESSAGE, SNAPSHOTDELETEMESSAGE, SNAPSHOTPATCHMESSAGE, PROJECTCOLLABORATORSPUTMESSAGE] # noqa: E501
48
-
49
- """
50
- Attributes:
51
- openapi_types (dict): The key is attribute name
52
- and the value is attribute type.
53
- attribute_map (dict): The key is attribute name
54
- and the value is json key in definition.
55
- """
56
- openapi_types = {
57
- }
58
-
59
- attribute_map = {
60
- }
61
-
62
- def __init__(self, local_vars_configuration=None): # noqa: E501
63
- """SocketMessageTypes - a model defined in OpenAPI""" # noqa: E501
64
- if local_vars_configuration is None:
65
- local_vars_configuration = Configuration()
66
- self.local_vars_configuration = local_vars_configuration
67
- self.discriminator = None
68
-
69
- def to_dict(self):
70
- """Returns the model properties as a dict"""
71
- result = {}
72
-
73
- for attr, _ in six.iteritems(self.openapi_types):
74
- value = getattr(self, attr)
75
- if isinstance(value, list):
76
- result[attr] = list(map(
77
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
78
- value
79
- ))
80
- elif hasattr(value, "to_dict"):
81
- result[attr] = value.to_dict()
82
- elif isinstance(value, dict):
83
- result[attr] = dict(map(
84
- lambda item: (item[0], item[1].to_dict())
85
- if hasattr(item[1], "to_dict") else item,
86
- value.items()
87
- ))
88
- else:
89
- result[attr] = value
90
-
91
- return result
92
-
93
- def to_str(self):
94
- """Returns the string representation of the model"""
95
- return pprint.pformat(self.to_dict())
96
-
97
- def __repr__(self):
98
- """For `print` and `pprint`"""
99
- return self.to_str()
100
-
101
- def __eq__(self, other):
102
- """Returns true if both objects are equal"""
103
- if not isinstance(other, SocketMessageTypes):
104
- return False
105
-
106
- return self.to_dict() == other.to_dict()
107
-
108
- def __ne__(self, other):
109
- """Returns true if both objects are not equal"""
110
- if not isinstance(other, SocketMessageTypes):
111
- return True
112
-
113
- 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 SocketmessageschemasResponse(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': 'SocketMessageSchemas'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """SocketmessageschemasResponse - 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 SocketmessageschemasResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this SocketmessageschemasResponse. # noqa: E501
60
- :rtype: SocketMessageSchemas
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this SocketmessageschemasResponse.
67
-
68
-
69
- :param result: The result of this SocketmessageschemasResponse. # noqa: E501
70
- :type: SocketMessageSchemas
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, SocketmessageschemasResponse):
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, SocketmessageschemasResponse):
119
- return True
120
-
121
- 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 SocketmessagetypesResponse(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': 'SocketMessageTypes'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """SocketmessagetypesResponse - 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 SocketmessagetypesResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this SocketmessagetypesResponse. # noqa: E501
60
- :rtype: SocketMessageTypes
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this SocketmessagetypesResponse.
67
-
68
-
69
- :param result: The result of this SocketmessagetypesResponse. # noqa: E501
70
- :type: SocketMessageTypes
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, SocketmessagetypesResponse):
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, SocketmessagetypesResponse):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()
@@ -1,100 +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 Visibility(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
- ALL_USERS = "all_users"
32
- ORG_ADMIN = "org_admin"
33
-
34
- allowable_values = [ALL_USERS, ORG_ADMIN] # noqa: E501
35
-
36
- """
37
- Attributes:
38
- openapi_types (dict): The key is attribute name
39
- and the value is attribute type.
40
- attribute_map (dict): The key is attribute name
41
- and the value is json key in definition.
42
- """
43
- openapi_types = {
44
- }
45
-
46
- attribute_map = {
47
- }
48
-
49
- def __init__(self, local_vars_configuration=None): # noqa: E501
50
- """Visibility - a model defined in OpenAPI""" # noqa: E501
51
- if local_vars_configuration is None:
52
- local_vars_configuration = Configuration()
53
- self.local_vars_configuration = local_vars_configuration
54
- self.discriminator = None
55
-
56
- def to_dict(self):
57
- """Returns the model properties as a dict"""
58
- result = {}
59
-
60
- for attr, _ in six.iteritems(self.openapi_types):
61
- value = getattr(self, attr)
62
- if isinstance(value, list):
63
- result[attr] = list(map(
64
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
65
- value
66
- ))
67
- elif hasattr(value, "to_dict"):
68
- result[attr] = value.to_dict()
69
- elif isinstance(value, dict):
70
- result[attr] = dict(map(
71
- lambda item: (item[0], item[1].to_dict())
72
- if hasattr(item[1], "to_dict") else item,
73
- value.items()
74
- ))
75
- else:
76
- result[attr] = value
77
-
78
- return result
79
-
80
- def to_str(self):
81
- """Returns the string representation of the model"""
82
- return pprint.pformat(self.to_dict())
83
-
84
- def __repr__(self):
85
- """For `print` and `pprint`"""
86
- return self.to_str()
87
-
88
- def __eq__(self, other):
89
- """Returns true if both objects are equal"""
90
- if not isinstance(other, Visibility):
91
- return False
92
-
93
- return self.to_dict() == other.to_dict()
94
-
95
- def __ne__(self, other):
96
- """Returns true if both objects are not equal"""
97
- if not isinstance(other, Visibility):
98
- return True
99
-
100
- return self.to_dict() != other.to_dict()