anyscale 0.26.4__py3-none-any.whl → 0.26.6__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 (53) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +1 -5
  2. anyscale/_private/docgen/__main__.py +0 -3
  3. anyscale/_private/docgen/api.md +0 -40
  4. anyscale/_private/docgen/models.md +0 -49
  5. anyscale/anyscale-cloud-setup-gcp-oa.yaml +2 -1
  6. anyscale/anyscale-cloud-setup-gcp.yaml +4 -2
  7. anyscale/client/README.md +9 -27
  8. anyscale/client/openapi_client/__init__.py +7 -13
  9. anyscale/client/openapi_client/api/default_api.py +476 -1946
  10. anyscale/client/openapi_client/models/__init__.py +7 -13
  11. anyscale/client/openapi_client/models/{clusterconfigwithsessionidletimeout_response.py → backend_server_api_product_models_dataset_runs_dataset_response.py} +22 -22
  12. anyscale/client/openapi_client/models/{dataset_response.py → backend_server_api_product_routers_datasets_router_dataset_response.py} +8 -8
  13. anyscale/client/openapi_client/models/create_session_from_snapshot_options.py +3 -30
  14. anyscale/client/openapi_client/models/{clusterconfig_response.py → dataset_jobs.py} +22 -22
  15. anyscale/client/openapi_client/models/dataset_metrics.py +390 -0
  16. anyscale/{sdk/anyscale_client/models/session_command_types.py → client/openapi_client/models/dataset_state.py} +11 -9
  17. anyscale/client/openapi_client/models/{organization_availability.py → metric.py} +64 -39
  18. anyscale/client/openapi_client/models/operator_metrics.py +256 -0
  19. anyscale/client/openapi_client/models/train_run.py +28 -1
  20. anyscale/cluster.py +5 -2
  21. anyscale/commands/anyscale_api/api_commands.py +0 -2
  22. anyscale/commands/workspace_commands.py +3 -3
  23. anyscale/connect_utils/start_interactive_session.py +4 -1
  24. anyscale/controllers/cluster_controller.py +15 -26
  25. anyscale/controllers/project_controller.py +1 -6
  26. anyscale/job/_private/job_sdk.py +6 -1
  27. anyscale/job/models.py +8 -0
  28. anyscale/project_utils.py +9 -20
  29. anyscale/sdk/anyscale_client/__init__.py +0 -5
  30. anyscale/sdk/anyscale_client/api/default_api.py +0 -474
  31. anyscale/sdk/anyscale_client/models/__init__.py +0 -5
  32. anyscale/version.py +1 -1
  33. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/METADATA +1 -1
  34. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/RECORD +39 -51
  35. anyscale/client/openapi_client/models/anyscale_version_response.py +0 -121
  36. anyscale/client/openapi_client/models/anyscaleversionresponse_response.py +0 -121
  37. anyscale/client/openapi_client/models/cluster_config.py +0 -178
  38. anyscale/client/openapi_client/models/cluster_config_with_session_idle_timeout.py +0 -204
  39. anyscale/client/openapi_client/models/cluster_startup.py +0 -208
  40. anyscale/client/openapi_client/models/decoratedjob_list_response.py +0 -147
  41. anyscale/client/openapi_client/models/execute_shell_command_options.py +0 -121
  42. anyscale/client/openapi_client/models/organizationavailability_response.py +0 -121
  43. anyscale/client/openapi_client/models/setup_initialize_session_options.py +0 -225
  44. anyscale/commands/anyscale_api/session_commands_commands.py +0 -80
  45. anyscale/sdk/anyscale_client/models/create_session_command.py +0 -152
  46. anyscale/sdk/anyscale_client/models/session_command.py +0 -350
  47. anyscale/sdk/anyscale_client/models/sessioncommand_list_response.py +0 -147
  48. anyscale/sdk/anyscale_client/models/sessioncommand_response.py +0 -121
  49. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/LICENSE +0 -0
  50. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/NOTICE +0 -0
  51. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/WHEEL +0 -0
  52. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/entry_points.txt +0 -0
  53. {anyscale-0.26.4.dist-info → anyscale-0.26.6.dist-info}/top_level.txt +0 -0
@@ -1,121 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Anyscale 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 anyscale_client.configuration import Configuration
19
-
20
-
21
- class SessioncommandResponse(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': 'SessionCommand'
37
- }
38
-
39
- attribute_map = {
40
- 'result': 'result'
41
- }
42
-
43
- def __init__(self, result=None, local_vars_configuration=None): # noqa: E501
44
- """SessioncommandResponse - 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 SessioncommandResponse. # noqa: E501
57
-
58
-
59
- :return: The result of this SessioncommandResponse. # noqa: E501
60
- :rtype: SessionCommand
61
- """
62
- return self._result
63
-
64
- @result.setter
65
- def result(self, result):
66
- """Sets the result of this SessioncommandResponse.
67
-
68
-
69
- :param result: The result of this SessioncommandResponse. # noqa: E501
70
- :type: SessionCommand
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, SessioncommandResponse):
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, SessioncommandResponse):
119
- return True
120
-
121
- return self.to_dict() != other.to_dict()