anyscale 0.26.63__py3-none-any.whl → 0.26.65__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 (52) hide show
  1. anyscale/_private/docgen/__main__.py +23 -4
  2. anyscale/_private/docgen/generator.py +127 -34
  3. anyscale/_private/docgen/generator_legacy.py +35 -12
  4. anyscale/client/README.md +37 -0
  5. anyscale/client/openapi_client/__init__.py +26 -0
  6. anyscale/client/openapi_client/api/default_api.py +1423 -97
  7. anyscale/client/openapi_client/models/__init__.py +26 -0
  8. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +2 -2
  9. anyscale/client/openapi_client/models/connection_type.py +99 -0
  10. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  11. anyscale/client/openapi_client/models/data_catalog.py +281 -0
  12. anyscale/client/openapi_client/models/data_catalog_connection.py +308 -0
  13. anyscale/client/openapi_client/models/data_catalog_connection_status.py +102 -0
  14. anyscale/client/openapi_client/models/data_catalog_provider.py +101 -0
  15. anyscale/client/openapi_client/models/databricks_connection_config.py +152 -0
  16. anyscale/client/openapi_client/models/databricks_connection_info.py +229 -0
  17. anyscale/client/openapi_client/models/databricks_connection_response.py +148 -0
  18. anyscale/client/openapi_client/models/databricks_register_request.py +187 -0
  19. anyscale/client/openapi_client/models/databricksconnectioninfo_response.py +121 -0
  20. anyscale/client/openapi_client/models/databricksconnectionresponse_response.py +121 -0
  21. anyscale/client/openapi_client/models/datacatalog_list_response.py +147 -0
  22. anyscale/client/openapi_client/models/datacatalogconnection_list_response.py +147 -0
  23. anyscale/client/openapi_client/models/decorated_session.py +29 -1
  24. anyscale/client/openapi_client/models/domain_verification.py +181 -0
  25. anyscale/client/openapi_client/models/list_databricks_connections.py +121 -0
  26. anyscale/client/openapi_client/models/o_auth_connection_response.py +229 -0
  27. anyscale/client/openapi_client/models/oauth_auth_url_response.py +121 -0
  28. anyscale/client/openapi_client/models/oauthconnectionresponse_response.py +121 -0
  29. anyscale/client/openapi_client/models/sso_config.py +148 -0
  30. anyscale/client/openapi_client/models/sso_connection.py +148 -0
  31. anyscale/client/openapi_client/models/sso_connection_state.py +100 -0
  32. anyscale/client/openapi_client/models/ssoconfig_response.py +121 -0
  33. anyscale/client/openapi_client/models/update_workspace_template.py +346 -0
  34. anyscale/client/openapi_client/models/usage_by_cluster_type.py +174 -0
  35. anyscale/client/openapi_client/models/usagebyclustertype_list_response.py +147 -0
  36. anyscale/client/openapi_client/models/validation_status.py +101 -0
  37. anyscale/commands/cloud_commands.py +310 -206
  38. anyscale/controllers/cloud_controller.py +174 -240
  39. anyscale/controllers/cloud_functional_verification_controller.py +6 -3
  40. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +2 -2
  41. anyscale/sdk/anyscale_client/models/apply_service_model.py +2 -2
  42. anyscale/sdk/anyscale_client/models/session.py +31 -3
  43. anyscale/util.py +1 -1
  44. anyscale/version.py +1 -1
  45. {anyscale-0.26.63.dist-info → anyscale-0.26.65.dist-info}/METADATA +1 -1
  46. {anyscale-0.26.63.dist-info → anyscale-0.26.65.dist-info}/RECORD +51 -26
  47. anyscale/commands/cloud_commands_util.py +0 -10
  48. {anyscale-0.26.63.dist-info → anyscale-0.26.65.dist-info}/WHEEL +0 -0
  49. {anyscale-0.26.63.dist-info → anyscale-0.26.65.dist-info}/entry_points.txt +0 -0
  50. {anyscale-0.26.63.dist-info → anyscale-0.26.65.dist-info}/licenses/LICENSE +0 -0
  51. {anyscale-0.26.63.dist-info → anyscale-0.26.65.dist-info}/licenses/NOTICE +0 -0
  52. {anyscale-0.26.63.dist-info → anyscale-0.26.65.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 ValidationStatus(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
+ PENDING = "pending"
32
+ VALIDATED = "validated"
33
+ FAILED = "failed"
34
+
35
+ allowable_values = [PENDING, VALIDATED, FAILED] # 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
+ """ValidationStatus - 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, ValidationStatus):
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, ValidationStatus):
99
+ return True
100
+
101
+ return self.to_dict() != other.to_dict()