anyscale 0.25.3__py3-none-any.whl → 0.25.4__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.
anyscale/client/README.md CHANGED
@@ -842,6 +842,7 @@ Class | Method | HTTP request | Description
842
842
  - [NodeRegistrationV2](docs/NodeRegistrationV2.md)
843
843
  - [NodeType](docs/NodeType.md)
844
844
  - [NotificationChannelEmailConfig](docs/NotificationChannelEmailConfig.md)
845
+ - [NotificationChannelSlackConfig](docs/NotificationChannelSlackConfig.md)
845
846
  - [NotificationChannelWebhookConfig](docs/NotificationChannelWebhookConfig.md)
846
847
  - [OnboardingUserCardsQuery](docs/OnboardingUserCardsQuery.md)
847
848
  - [Organization](docs/Organization.md)
@@ -441,6 +441,7 @@ from openapi_client.models.node_registration_provisioned import NodeRegistration
441
441
  from openapi_client.models.node_registration_v2 import NodeRegistrationV2
442
442
  from openapi_client.models.node_type import NodeType
443
443
  from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
444
+ from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
444
445
  from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
445
446
  from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
446
447
  from openapi_client.models.organization import Organization
@@ -427,6 +427,7 @@ from openapi_client.models.node_registration_provisioned import NodeRegistration
427
427
  from openapi_client.models.node_registration_v2 import NodeRegistrationV2
428
428
  from openapi_client.models.node_type import NodeType
429
429
  from openapi_client.models.notification_channel_email_config import NotificationChannelEmailConfig
430
+ from openapi_client.models.notification_channel_slack_config import NotificationChannelSlackConfig
430
431
  from openapi_client.models.notification_channel_webhook_config import NotificationChannelWebhookConfig
431
432
  from openapi_client.models.onboarding_user_cards_query import OnboardingUserCardsQuery
432
433
  from openapi_client.models.organization import Organization
@@ -34,15 +34,17 @@ class CreateNotificationChannelRecord(object):
34
34
  """
35
35
  openapi_types = {
36
36
  'email_config': 'NotificationChannelEmailConfig',
37
- 'webhook_config': 'NotificationChannelWebhookConfig'
37
+ 'webhook_config': 'NotificationChannelWebhookConfig',
38
+ 'slack_config': 'NotificationChannelSlackConfig'
38
39
  }
39
40
 
40
41
  attribute_map = {
41
42
  'email_config': 'email_config',
42
- 'webhook_config': 'webhook_config'
43
+ 'webhook_config': 'webhook_config',
44
+ 'slack_config': 'slack_config'
43
45
  }
44
46
 
45
- def __init__(self, email_config=None, webhook_config=None, local_vars_configuration=None): # noqa: E501
47
+ def __init__(self, email_config=None, webhook_config=None, slack_config=None, local_vars_configuration=None): # noqa: E501
46
48
  """CreateNotificationChannelRecord - a model defined in OpenAPI""" # noqa: E501
47
49
  if local_vars_configuration is None:
48
50
  local_vars_configuration = Configuration()
@@ -50,12 +52,15 @@ class CreateNotificationChannelRecord(object):
50
52
 
51
53
  self._email_config = None
52
54
  self._webhook_config = None
55
+ self._slack_config = None
53
56
  self.discriminator = None
54
57
 
55
58
  if email_config is not None:
56
59
  self.email_config = email_config
57
60
  if webhook_config is not None:
58
61
  self.webhook_config = webhook_config
62
+ if slack_config is not None:
63
+ self.slack_config = slack_config
59
64
 
60
65
  @property
61
66
  def email_config(self):
@@ -99,6 +104,27 @@ class CreateNotificationChannelRecord(object):
99
104
 
100
105
  self._webhook_config = webhook_config
101
106
 
107
+ @property
108
+ def slack_config(self):
109
+ """Gets the slack_config of this CreateNotificationChannelRecord. # noqa: E501
110
+
111
+
112
+ :return: The slack_config of this CreateNotificationChannelRecord. # noqa: E501
113
+ :rtype: NotificationChannelSlackConfig
114
+ """
115
+ return self._slack_config
116
+
117
+ @slack_config.setter
118
+ def slack_config(self, slack_config):
119
+ """Sets the slack_config of this CreateNotificationChannelRecord.
120
+
121
+
122
+ :param slack_config: The slack_config of this CreateNotificationChannelRecord. # noqa: E501
123
+ :type: NotificationChannelSlackConfig
124
+ """
125
+
126
+ self._slack_config = slack_config
127
+
102
128
  def to_dict(self):
103
129
  """Returns the model properties as a dict"""
104
130
  result = {}
@@ -0,0 +1,121 @@
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 NotificationChannelSlackConfig(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
+ 'slack_urls': 'list[str]'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'slack_urls': 'slack_urls'
41
+ }
42
+
43
+ def __init__(self, slack_urls=None, local_vars_configuration=None): # noqa: E501
44
+ """NotificationChannelSlackConfig - 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._slack_urls = None
50
+ self.discriminator = None
51
+
52
+ self.slack_urls = slack_urls
53
+
54
+ @property
55
+ def slack_urls(self):
56
+ """Gets the slack_urls of this NotificationChannelSlackConfig. # noqa: E501
57
+
58
+
59
+ :return: The slack_urls of this NotificationChannelSlackConfig. # noqa: E501
60
+ :rtype: list[str]
61
+ """
62
+ return self._slack_urls
63
+
64
+ @slack_urls.setter
65
+ def slack_urls(self, slack_urls):
66
+ """Sets the slack_urls of this NotificationChannelSlackConfig.
67
+
68
+
69
+ :param slack_urls: The slack_urls of this NotificationChannelSlackConfig. # noqa: E501
70
+ :type: list[str]
71
+ """
72
+ if self.local_vars_configuration.client_side_validation and slack_urls is None: # noqa: E501
73
+ raise ValueError("Invalid value for `slack_urls`, must not be `None`") # noqa: E501
74
+
75
+ self._slack_urls = slack_urls
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, NotificationChannelSlackConfig):
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, NotificationChannelSlackConfig):
119
+ return True
120
+
121
+ return self.to_dict() != other.to_dict()
anyscale/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.25.3"
1
+ __version__ = "0.25.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: anyscale
3
- Version: 0.25.3
3
+ Version: 0.25.4
4
4
  Summary: Command Line Interface for Anyscale
5
5
  Author: Anyscale Inc.
6
6
  License: AS License
@@ -27,7 +27,7 @@ anyscale/scripts.py,sha256=HR6JOCBVBXMVi1Kz5uJmjsh73t2l1W8UbUge83ofnqk,5474
27
27
  anyscale/snapshot.py,sha256=UGJT5C1s_4xmQxjWODK5DFpGxHRBX5jOCdSCqXESH8E,1685
28
28
  anyscale/tables.py,sha256=TV4F2uLnwehvbkAfaP7iuLlT2wLIo6ORH2LVdRGXW5g,2840
29
29
  anyscale/util.py,sha256=Tqb9qWSxQI_PBJVSDxm9RWqFyGJFClgZDPByhb_fhU8,40813
30
- anyscale/version.py,sha256=mXrC0wG0d9x4Qj0b-1a15tGJ6JHnWNOm82J2nX_CL2k,23
30
+ anyscale/version.py,sha256=ecF8WlGgNuYRj3QRbMJQBVjdpKbSFwlW9naM4NJEUOE,23
31
31
  anyscale/workspace_utils.py,sha256=OViE88CnIF5ruVxd3kazQ0Mf2BxqtMq6wx-XQ5A2cp8,1204
32
32
  anyscale/_private/anyscale_client/README.md,sha256=gk8obk7kqg6VWoUHcqDMwJULh35tYKEZFC0UF_dixGA,718
33
33
  anyscale/_private/anyscale_client/__init__.py,sha256=807Blx3RHQeS8BmKZcsOQQ4dYoKlCnpm6Bdsif2CrHg,337
@@ -98,7 +98,7 @@ anyscale/background/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
98
98
  anyscale/background/job_runner.py,sha256=LTuv9JOahyv6C9i7DLQAONgQF6--FfYZEmJrKy-sUG8,2687
99
99
  anyscale/client/.gitignore,sha256=JZyvYEtT2DCSK9V5Joi6lQofhMik4PXiJRCWsg7SvqI,807
100
100
  anyscale/client/.openapi-generator-ignore,sha256=pu2PTide7pJtJ-DFLzDy0cTYQJRlrB-8RRH3zGLeUds,1040
101
- anyscale/client/README.md,sha256=gmO0xijTKkiExa8vwJfp5F-SxyT-46a7NS11PJAJsik,131105
101
+ anyscale/client/README.md,sha256=p3RWozbBsETeEXtZ2GMT3TL6yX-ZDmEnB2uq76fPtIY,131181
102
102
  anyscale/client/git_push.sh,sha256=EDCZOTTiLxbtPHmiU63qC99rGH67B7dhdPZdNUKivF0,1827
103
103
  anyscale/client/requirements.txt,sha256=dkVKYUStC5h_g_87SH7pRdhXCj7ySozAJMGAFEzGgFc,126
104
104
  anyscale/client/setup.cfg,sha256=l7bdKSIedeBhhoDtupsBwx1xPrlBf2yYeTH7a8kMga4,28
@@ -106,14 +106,14 @@ anyscale/client/setup.py,sha256=tSxqw1kAL1B9adnrnOarjnQfSbwGmnTr_kg8ZXhlm5A,1109
106
106
  anyscale/client/test-requirements.txt,sha256=sTjmDTj5W9fh1ZAeo8UT2EBdeGDBNttj_PHiPBXg1D4,111
107
107
  anyscale/client/tox.ini,sha256=M6L3UmvAdvU65LsoAF-Oi7oRjwZlCJZn8I7ofdXn5Ok,156
108
108
  anyscale/client/.openapi-generator/VERSION,sha256=J0RzX-4u4jfin1kviKtmncjUePyjHm2kyvmkobOrt_E,5
109
- anyscale/client/openapi_client/__init__.py,sha256=UtTZmBf0YCKljEYbBFgqKNttiRRvRF3aERTQfvOmrF4,54776
109
+ anyscale/client/openapi_client/__init__.py,sha256=BPjTsGt6hwRXAN7imx_fLYd1aVw8SM9YH4rWslkdLmc,54875
110
110
  anyscale/client/openapi_client/api_client.py,sha256=d8Un6j2Ny2vlS2qBXPVFj6_ql0k36DFahpWt_28TfCk,25563
111
111
  anyscale/client/openapi_client/configuration.py,sha256=Dd5XrlHwv-wxnf0C35PG_-HBQoY3Yaz6hKrmkZz-m0E,12363
112
112
  anyscale/client/openapi_client/exceptions.py,sha256=3egwsXQG2j_vARbqgBxUO1xSltAhpfiHTYVP7VXTvU0,3792
113
113
  anyscale/client/openapi_client/rest.py,sha256=Ehj37v7GHW6SXV067Hze5HE42ayKaGi6a6ZlkR7u3Lg,12501
114
114
  anyscale/client/openapi_client/api/__init__.py,sha256=i8u7BI2xX1GrXTL3hN0pKpYIlnT-D_uDxH2ElOfYG1I,141
115
115
  anyscale/client/openapi_client/api/default_api.py,sha256=A-cm7khApyBZueMK_hFNrZEUhAvLf5rI15FG4L--myY,2114246
116
- anyscale/client/openapi_client/models/__init__.py,sha256=p-Xpd0VXL-MxScK3ifwCUhmOkhYfec_PSX5PhVjgbr4,54286
116
+ anyscale/client/openapi_client/models/__init__.py,sha256=xr6Kbv2_8idiZFFMoTA92uq4e9HnkbQxKkKQZ0RlwzY,54385
117
117
  anyscale/client/openapi_client/models/access_config.py,sha256=b2mA0qtuTA5PFbp6C61Jc_T2zUMaojM1v32IhZo0MfY,3648
118
118
  anyscale/client/openapi_client/models/admin_create_user.py,sha256=9DPr8D0lKgoEZ3Z2kGsAd8L7ocFCiP6woOGLVs8SRb8,7251
119
119
  anyscale/client/openapi_client/models/admin_created_user.py,sha256=uZffwCvMxIdPbpCRvFwpkfeG5D3LEQ50ebbwa_cj6bQ,8098
@@ -297,7 +297,7 @@ anyscale/client/openapi_client/models/create_machine_pool_response.py,sha256=B-H
297
297
  anyscale/client/openapi_client/models/create_machine_request.py,sha256=Jc7J8_9smmiki5hZey0nTqYFbR4VlcpWzZX3xHaj3hM,4724
298
298
  anyscale/client/openapi_client/models/create_machine_response.py,sha256=izPOW9h83TKyzaYPcUpuBOb_W5MZsSqQKofQTNxo97k,3833
299
299
  anyscale/client/openapi_client/models/create_metronome_webhook_notification.py,sha256=x6rMzehPl-n0Dvm9_EF6O5i0Bcxej7mpJfINTf_TVoM,5348
300
- anyscale/client/openapi_client/models/create_notification_channel_record.py,sha256=_zvws-h_5n5KqEL_0b3QHtKyg_vNGygecYXxFYjbr4A,4596
300
+ anyscale/client/openapi_client/models/create_notification_channel_record.py,sha256=2s19nGbBMxD_xZDH9kJATq0IzuWiknb03PmZ2o-cnMY,5490
301
301
  anyscale/client/openapi_client/models/create_organization_configuration.py,sha256=QoLUtdnqTwZX1zh5XDmvwKZHTtHOP-Tob0JzRYkLhvE,6348
302
302
  anyscale/client/openapi_client/models/create_organization_invitation.py,sha256=bEoVh05c39JlHYs-n_-WgQ1bJnzFRj3ZUCNw9VRZiTc,3566
303
303
  anyscale/client/openapi_client/models/create_otp_return_api_model.py,sha256=3vZdFnSnm0dRY0-R1HB0ZPRVy0OiQjfsm0puoc9WwQ0,4238
@@ -527,6 +527,7 @@ anyscale/client/openapi_client/models/node_registration_provisioned.py,sha256=-M
527
527
  anyscale/client/openapi_client/models/node_registration_v2.py,sha256=R8fQYZIqqI9PoL7rdsdAVzR9kgUVMUV0X6KAjkOOA88,7803
528
528
  anyscale/client/openapi_client/models/node_type.py,sha256=ILHDh4ixcSfin4JRfqM7PzjJWLlOH0vtp0Da9FFpL8M,2837
529
529
  anyscale/client/openapi_client/models/notification_channel_email_config.py,sha256=UZr99vatPMwuH8IzeNkv-2qZAWtZOMckh-JcYcbSoCs,3621
530
+ anyscale/client/openapi_client/models/notification_channel_slack_config.py,sha256=kYQ18Z8dvq8TY1QqNuJS6w7xz62AW44VwOjaVddHX7Y,3705
530
531
  anyscale/client/openapi_client/models/notification_channel_webhook_config.py,sha256=1kbsG1xp7W_MwNoemXH0oJA5KAdKHWNdCi5DEOQbMBw,3763
531
532
  anyscale/client/openapi_client/models/onboarding_user_cards_query.py,sha256=d83wBZi9u7xHGIPLsOpyp1t2R9-Ye6XtZtfs4yIdzVY,3584
532
533
  anyscale/client/openapi_client/models/organization.py,sha256=-xGnObI7kkDV66TGskc2uu9kG3z4rX_CkoHt8mdaVvU,16651
@@ -1157,10 +1158,10 @@ anyscale/workspace/__init__.py,sha256=fIxkn8b_HADCQl5njPAbcJxAf0sajZoc55L_wMvGAx
1157
1158
  anyscale/workspace/commands.py,sha256=21FubFd2wmEwlVbk-ng-adwBm-O4ZPBgEJnoavbfvbU,14035
1158
1159
  anyscale/workspace/models.py,sha256=Ey67KqxdslS51yK7xetbRaFjE8sURAArpf-F38r3cUU,9760
1159
1160
  anyscale/workspace/_private/workspace_sdk.py,sha256=4LOBmMm7kd-O94ii5uP1UDbkWLComh6zI5QmE2lXRTY,26824
1160
- anyscale-0.25.3.dist-info/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
1161
- anyscale-0.25.3.dist-info/METADATA,sha256=YBLyVuJeB1XICwEcWyZST4_3HQljlpcBrQx1LvtQkjg,3049
1162
- anyscale-0.25.3.dist-info/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
1163
- anyscale-0.25.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
1164
- anyscale-0.25.3.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
1165
- anyscale-0.25.3.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
1166
- anyscale-0.25.3.dist-info/RECORD,,
1161
+ anyscale-0.25.4.dist-info/LICENSE,sha256=UOPu974Wzsna6frFv1mu4VrZgNdZT7lbcNPzo5ue3qs,3494
1162
+ anyscale-0.25.4.dist-info/METADATA,sha256=JQS0xq_PfTuXl90oVaaYTY5yIXml4HSBU7mIJ2HXqmA,3049
1163
+ anyscale-0.25.4.dist-info/NOTICE,sha256=gHqDhSnUYlRXX-mDOL5FtE7774oiKyV_HO80qM3r9Xo,196
1164
+ anyscale-0.25.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
1165
+ anyscale-0.25.4.dist-info/entry_points.txt,sha256=NqO18sCZn6zG6J0S38itjcN00s7aE3C3v3k5lMAfCLk,51
1166
+ anyscale-0.25.4.dist-info/top_level.txt,sha256=g3NVNS8Oh0NZwbFFgeX696C5MZZkS5dqV2NqcsbDRJE,9
1167
+ anyscale-0.25.4.dist-info/RECORD,,