anyscale 0.26.57__py3-none-any.whl → 0.26.58__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/client/README.md +45 -0
  2. anyscale/client/openapi_client/__init__.py +32 -0
  3. anyscale/client/openapi_client/api/default_api.py +1882 -244
  4. anyscale/client/openapi_client/models/__init__.py +32 -0
  5. anyscale/client/openapi_client/models/apply_production_service_v2_model.py +31 -3
  6. anyscale/client/openapi_client/models/create_experimental_workspace.py +29 -1
  7. anyscale/client/openapi_client/models/create_workspace_template.py +404 -0
  8. anyscale/client/openapi_client/models/create_workspace_template_version.py +178 -0
  9. anyscale/client/openapi_client/models/delete_resource_tags_request.py +175 -0
  10. anyscale/client/openapi_client/models/deleted_count.py +121 -0
  11. anyscale/client/openapi_client/models/deletedcount_response.py +121 -0
  12. anyscale/client/openapi_client/models/global_workspace_template.py +465 -0
  13. anyscale/client/openapi_client/models/globalworkspacetemplate_list_response.py +147 -0
  14. anyscale/client/openapi_client/models/published_filter.py +101 -0
  15. anyscale/client/openapi_client/models/resource_tag_record.py +310 -0
  16. anyscale/client/openapi_client/models/resource_tag_resource_type.py +102 -0
  17. anyscale/client/openapi_client/models/resource_tags_list.py +121 -0
  18. anyscale/client/openapi_client/models/resourcetagslist_response.py +121 -0
  19. anyscale/client/openapi_client/models/tag_key.py +121 -0
  20. anyscale/client/openapi_client/models/tag_key_value.py +148 -0
  21. anyscale/client/openapi_client/models/tag_search_in.py +101 -0
  22. anyscale/client/openapi_client/models/tag_value.py +121 -0
  23. anyscale/client/openapi_client/models/tagkey_list_response.py +147 -0
  24. anyscale/client/openapi_client/models/tagkeyvalue_list_response.py +147 -0
  25. anyscale/client/openapi_client/models/tagvalue_list_response.py +147 -0
  26. anyscale/client/openapi_client/models/task_attempts.py +101 -0
  27. anyscale/client/openapi_client/models/task_table_config.py +29 -3
  28. anyscale/client/openapi_client/models/upsert_resource_tags_request.py +175 -0
  29. anyscale/client/openapi_client/models/workspace_system_artifacts.py +234 -0
  30. anyscale/client/openapi_client/models/workspace_template.py +343 -204
  31. anyscale/client/openapi_client/models/workspace_template_category.py +100 -0
  32. anyscale/client/openapi_client/models/workspace_template_complexity.py +101 -0
  33. anyscale/client/openapi_client/models/workspace_template_icon_background_color.py +105 -0
  34. anyscale/client/openapi_client/models/workspace_template_icon_type.py +108 -0
  35. anyscale/client/openapi_client/models/workspace_template_version.py +323 -0
  36. anyscale/client/openapi_client/models/workspace_template_version_data_object.py +323 -0
  37. anyscale/client/openapi_client/models/workspace_templates_sort_field.py +101 -0
  38. anyscale/client/openapi_client/models/workspacetemplate_response.py +121 -0
  39. anyscale/client/openapi_client/models/workspacetemplateversion_list_response.py +147 -0
  40. anyscale/client/openapi_client/models/workspacetemplateversion_response.py +121 -0
  41. anyscale/commands/command_examples.py +1 -1
  42. anyscale/sdk/anyscale_client/models/apply_production_service_v2_model.py +31 -3
  43. anyscale/sdk/anyscale_client/models/apply_service_model.py +31 -3
  44. anyscale/shared_anyscale_utils/utils/id_gen.py +3 -0
  45. anyscale/version.py +1 -1
  46. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/METADATA +1 -1
  47. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/RECORD +52 -20
  48. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/WHEEL +0 -0
  49. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/entry_points.txt +0 -0
  50. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/licenses/LICENSE +0 -0
  51. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/licenses/NOTICE +0 -0
  52. {anyscale-0.26.57.dist-info → anyscale-0.26.58.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,100 @@
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 WorkspaceTemplateCategory(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
+ ONBOARDING = "ONBOARDING"
32
+ TUTORIAL = "TUTORIAL"
33
+
34
+ allowable_values = [ONBOARDING, TUTORIAL] # 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
+ """WorkspaceTemplateCategory - 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, WorkspaceTemplateCategory):
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, WorkspaceTemplateCategory):
98
+ return True
99
+
100
+ return self.to_dict() != other.to_dict()
@@ -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 WorkspaceTemplateComplexity(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
+ BEGINNER = "BEGINNER"
32
+ INTERMEDIATE = "INTERMEDIATE"
33
+ ADVANCED = "ADVANCED"
34
+
35
+ allowable_values = [BEGINNER, INTERMEDIATE, ADVANCED] # 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
+ """WorkspaceTemplateComplexity - 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, WorkspaceTemplateComplexity):
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, WorkspaceTemplateComplexity):
99
+ return True
100
+
101
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,105 @@
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 WorkspaceTemplateIconBackgroundColor(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
+ FAEEE6 = "#FAEEE6"
32
+ E8F6EA = "#E8F6EA"
33
+ FCE9FA = "#FCE9FA"
34
+ F9F3E8 = "#F9F3E8"
35
+ FAEAE6 = "#FAEAE6"
36
+ F2EEFF = "#F2EEFF"
37
+ E6F6FA = "#E6F6FA"
38
+
39
+ allowable_values = [FAEEE6, E8F6EA, FCE9FA, F9F3E8, FAEAE6, F2EEFF, E6F6FA] # noqa: E501
40
+
41
+ """
42
+ Attributes:
43
+ openapi_types (dict): The key is attribute name
44
+ and the value is attribute type.
45
+ attribute_map (dict): The key is attribute name
46
+ and the value is json key in definition.
47
+ """
48
+ openapi_types = {
49
+ }
50
+
51
+ attribute_map = {
52
+ }
53
+
54
+ def __init__(self, local_vars_configuration=None): # noqa: E501
55
+ """WorkspaceTemplateIconBackgroundColor - a model defined in OpenAPI""" # noqa: E501
56
+ if local_vars_configuration is None:
57
+ local_vars_configuration = Configuration()
58
+ self.local_vars_configuration = local_vars_configuration
59
+ self.discriminator = None
60
+
61
+ def to_dict(self):
62
+ """Returns the model properties as a dict"""
63
+ result = {}
64
+
65
+ for attr, _ in six.iteritems(self.openapi_types):
66
+ value = getattr(self, attr)
67
+ if isinstance(value, list):
68
+ result[attr] = list(map(
69
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
70
+ value
71
+ ))
72
+ elif hasattr(value, "to_dict"):
73
+ result[attr] = value.to_dict()
74
+ elif isinstance(value, dict):
75
+ result[attr] = dict(map(
76
+ lambda item: (item[0], item[1].to_dict())
77
+ if hasattr(item[1], "to_dict") else item,
78
+ value.items()
79
+ ))
80
+ else:
81
+ result[attr] = value
82
+
83
+ return result
84
+
85
+ def to_str(self):
86
+ """Returns the string representation of the model"""
87
+ return pprint.pformat(self.to_dict())
88
+
89
+ def __repr__(self):
90
+ """For `print` and `pprint`"""
91
+ return self.to_str()
92
+
93
+ def __eq__(self, other):
94
+ """Returns true if both objects are equal"""
95
+ if not isinstance(other, WorkspaceTemplateIconBackgroundColor):
96
+ return False
97
+
98
+ return self.to_dict() == other.to_dict()
99
+
100
+ def __ne__(self, other):
101
+ """Returns true if both objects are not equal"""
102
+ if not isinstance(other, WorkspaceTemplateIconBackgroundColor):
103
+ return True
104
+
105
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,108 @@
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 WorkspaceTemplateIconType(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
+ ARTBOARD_2_LINE = "artboard-2-line"
32
+ AI_GENERATE = "ai-generate"
33
+ SLOW_DOWN_LINE = "slow-down-line"
34
+ USER_LINE = "user-line"
35
+ LIST_CHECK = "list-check"
36
+ ROCKET_2_LINE = "rocket-2-line"
37
+ BAR_CHART_2_LINE = "bar-chart-2-line"
38
+ PULSE_LINE = "pulse-line"
39
+ DASHBOARD_LINE = "dashboard-line"
40
+ SHUFFLE_FILL = "shuffle-fill"
41
+
42
+ allowable_values = [ARTBOARD_2_LINE, AI_GENERATE, SLOW_DOWN_LINE, USER_LINE, LIST_CHECK, ROCKET_2_LINE, BAR_CHART_2_LINE, PULSE_LINE, DASHBOARD_LINE, SHUFFLE_FILL] # noqa: E501
43
+
44
+ """
45
+ Attributes:
46
+ openapi_types (dict): The key is attribute name
47
+ and the value is attribute type.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ """
51
+ openapi_types = {
52
+ }
53
+
54
+ attribute_map = {
55
+ }
56
+
57
+ def __init__(self, local_vars_configuration=None): # noqa: E501
58
+ """WorkspaceTemplateIconType - a model defined in OpenAPI""" # noqa: E501
59
+ if local_vars_configuration is None:
60
+ local_vars_configuration = Configuration()
61
+ self.local_vars_configuration = local_vars_configuration
62
+ self.discriminator = None
63
+
64
+ def to_dict(self):
65
+ """Returns the model properties as a dict"""
66
+ result = {}
67
+
68
+ for attr, _ in six.iteritems(self.openapi_types):
69
+ value = getattr(self, attr)
70
+ if isinstance(value, list):
71
+ result[attr] = list(map(
72
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
73
+ value
74
+ ))
75
+ elif hasattr(value, "to_dict"):
76
+ result[attr] = value.to_dict()
77
+ elif isinstance(value, dict):
78
+ result[attr] = dict(map(
79
+ lambda item: (item[0], item[1].to_dict())
80
+ if hasattr(item[1], "to_dict") else item,
81
+ value.items()
82
+ ))
83
+ else:
84
+ result[attr] = value
85
+
86
+ return result
87
+
88
+ def to_str(self):
89
+ """Returns the string representation of the model"""
90
+ return pprint.pformat(self.to_dict())
91
+
92
+ def __repr__(self):
93
+ """For `print` and `pprint`"""
94
+ return self.to_str()
95
+
96
+ def __eq__(self, other):
97
+ """Returns true if both objects are equal"""
98
+ if not isinstance(other, WorkspaceTemplateIconType):
99
+ return False
100
+
101
+ return self.to_dict() == other.to_dict()
102
+
103
+ def __ne__(self, other):
104
+ """Returns true if both objects are not equal"""
105
+ if not isinstance(other, WorkspaceTemplateIconType):
106
+ return True
107
+
108
+ return self.to_dict() != other.to_dict()