lightning-sdk 0.2.23__py3-none-any.whl → 0.2.24rc1__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 (83) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/base_studio_api.py +9 -2
  3. lightning_sdk/api/deployment_api.py +9 -9
  4. lightning_sdk/api/llm_api.py +23 -13
  5. lightning_sdk/api/pipeline_api.py +31 -11
  6. lightning_sdk/api/studio_api.py +4 -0
  7. lightning_sdk/base_studio.py +22 -6
  8. lightning_sdk/deployment/deployment.py +17 -7
  9. lightning_sdk/lightning_cloud/openapi/__init__.py +18 -0
  10. lightning_sdk/lightning_cloud/openapi/api/__init__.py +2 -0
  11. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +114 -1
  12. lightning_sdk/lightning_cloud/openapi/api/cloudy_service_api.py +129 -0
  13. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +9 -1
  14. lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +13 -1
  15. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +105 -0
  16. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +4 -4
  17. lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +105 -0
  18. lightning_sdk/lightning_cloud/openapi/api/volume_service_api.py +258 -0
  19. lightning_sdk/lightning_cloud/openapi/models/__init__.py +16 -0
  20. lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +79 -1
  22. lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body.py +175 -0
  23. lightning_sdk/lightning_cloud/openapi/models/credits_autoreplenish_body1.py +175 -0
  24. lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +53 -1
  25. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body1.py +123 -0
  27. lightning_sdk/lightning_cloud/openapi/models/project_id_agents_body.py +27 -1
  28. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +27 -1
  30. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +27 -1
  31. lightning_sdk/lightning_cloud/openapi/models/update.py +29 -3
  32. lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +1 -0
  34. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +29 -3
  37. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +29 -3
  38. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +1 -0
  39. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_specialized_view.py +104 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_cloudy_expert.py +279 -0
  41. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +79 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +53 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  44. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +27 -1
  45. lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +29 -3
  46. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +29 -3
  47. lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +79 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection_tier.py +103 -0
  49. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +47 -21
  50. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/v1_filestore_data_connection.py +29 -3
  52. lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +53 -1
  53. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  54. lightning_sdk/lightning_cloud/openapi/models/v1_get_volume_response.py +123 -0
  55. lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +1 -27
  56. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1.py +149 -0
  57. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_direct_v1_status.py +149 -0
  58. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloudy_experts_response.py +123 -0
  59. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +27 -1
  60. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +27 -1
  61. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +1 -0
  62. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +27 -1
  63. lightning_sdk/lightning_cloud/openapi/models/v1_schedule_action_type.py +104 -0
  64. lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +1 -0
  65. lightning_sdk/lightning_cloud/openapi/models/v1_token_usage.py +175 -0
  66. lightning_sdk/lightning_cloud/openapi/models/v1_update_organization_credits_auto_replenish_response.py +97 -0
  67. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_credits_auto_replenish_response.py +97 -0
  68. lightning_sdk/lightning_cloud/openapi/models/v1_update_volume_response.py +123 -0
  69. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +317 -31
  70. lightning_sdk/lightning_cloud/openapi/models/volumes_id_body.py +123 -0
  71. lightning_sdk/llm/llm.py +118 -115
  72. lightning_sdk/llm/public_assistants.json +8 -0
  73. lightning_sdk/pipeline/pipeline.py +17 -2
  74. lightning_sdk/pipeline/printer.py +11 -10
  75. lightning_sdk/pipeline/steps.py +4 -1
  76. lightning_sdk/pipeline/utils.py +29 -4
  77. lightning_sdk/studio.py +3 -0
  78. {lightning_sdk-0.2.23.dist-info → lightning_sdk-0.2.24rc1.dist-info}/METADATA +1 -1
  79. {lightning_sdk-0.2.23.dist-info → lightning_sdk-0.2.24rc1.dist-info}/RECORD +83 -64
  80. {lightning_sdk-0.2.23.dist-info → lightning_sdk-0.2.24rc1.dist-info}/LICENSE +0 -0
  81. {lightning_sdk-0.2.23.dist-info → lightning_sdk-0.2.24rc1.dist-info}/WHEEL +0 -0
  82. {lightning_sdk-0.2.23.dist-info → lightning_sdk-0.2.24rc1.dist-info}/entry_points.txt +0 -0
  83. {lightning_sdk-0.2.23.dist-info → lightning_sdk-0.2.24rc1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1KubernetesDirectV1(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_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
+ swagger_types = {
44
+ 'kubeconfig': 'str',
45
+ 'kubeconfig_elevated': 'str'
46
+ }
47
+
48
+ attribute_map = {
49
+ 'kubeconfig': 'kubeconfig',
50
+ 'kubeconfig_elevated': 'kubeconfigElevated'
51
+ }
52
+
53
+ def __init__(self, kubeconfig: 'str' =None, kubeconfig_elevated: 'str' =None): # noqa: E501
54
+ """V1KubernetesDirectV1 - a model defined in Swagger""" # noqa: E501
55
+ self._kubeconfig = None
56
+ self._kubeconfig_elevated = None
57
+ self.discriminator = None
58
+ if kubeconfig is not None:
59
+ self.kubeconfig = kubeconfig
60
+ if kubeconfig_elevated is not None:
61
+ self.kubeconfig_elevated = kubeconfig_elevated
62
+
63
+ @property
64
+ def kubeconfig(self) -> 'str':
65
+ """Gets the kubeconfig of this V1KubernetesDirectV1. # noqa: E501
66
+
67
+
68
+ :return: The kubeconfig of this V1KubernetesDirectV1. # noqa: E501
69
+ :rtype: str
70
+ """
71
+ return self._kubeconfig
72
+
73
+ @kubeconfig.setter
74
+ def kubeconfig(self, kubeconfig: 'str'):
75
+ """Sets the kubeconfig of this V1KubernetesDirectV1.
76
+
77
+
78
+ :param kubeconfig: The kubeconfig of this V1KubernetesDirectV1. # noqa: E501
79
+ :type: str
80
+ """
81
+
82
+ self._kubeconfig = kubeconfig
83
+
84
+ @property
85
+ def kubeconfig_elevated(self) -> 'str':
86
+ """Gets the kubeconfig_elevated of this V1KubernetesDirectV1. # noqa: E501
87
+
88
+
89
+ :return: The kubeconfig_elevated of this V1KubernetesDirectV1. # noqa: E501
90
+ :rtype: str
91
+ """
92
+ return self._kubeconfig_elevated
93
+
94
+ @kubeconfig_elevated.setter
95
+ def kubeconfig_elevated(self, kubeconfig_elevated: 'str'):
96
+ """Sets the kubeconfig_elevated of this V1KubernetesDirectV1.
97
+
98
+
99
+ :param kubeconfig_elevated: The kubeconfig_elevated of this V1KubernetesDirectV1. # noqa: E501
100
+ :type: str
101
+ """
102
+
103
+ self._kubeconfig_elevated = kubeconfig_elevated
104
+
105
+ def to_dict(self) -> dict:
106
+ """Returns the model properties as a dict"""
107
+ result = {}
108
+
109
+ for attr, _ in six.iteritems(self.swagger_types):
110
+ value = getattr(self, attr)
111
+ if isinstance(value, list):
112
+ result[attr] = list(map(
113
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
114
+ value
115
+ ))
116
+ elif hasattr(value, "to_dict"):
117
+ result[attr] = value.to_dict()
118
+ elif isinstance(value, dict):
119
+ result[attr] = dict(map(
120
+ lambda item: (item[0], item[1].to_dict())
121
+ if hasattr(item[1], "to_dict") else item,
122
+ value.items()
123
+ ))
124
+ else:
125
+ result[attr] = value
126
+ if issubclass(V1KubernetesDirectV1, dict):
127
+ for key, value in self.items():
128
+ result[key] = value
129
+
130
+ return result
131
+
132
+ def to_str(self) -> str:
133
+ """Returns the string representation of the model"""
134
+ return pprint.pformat(self.to_dict())
135
+
136
+ def __repr__(self) -> str:
137
+ """For `print` and `pprint`"""
138
+ return self.to_str()
139
+
140
+ def __eq__(self, other: 'V1KubernetesDirectV1') -> bool:
141
+ """Returns true if both objects are equal"""
142
+ if not isinstance(other, V1KubernetesDirectV1):
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other: 'V1KubernetesDirectV1') -> bool:
148
+ """Returns true if both objects are not equal"""
149
+ return not self == other
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1KubernetesDirectV1Status(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_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
+ swagger_types = {
44
+ 'reason': 'str',
45
+ 'state': 'V1RegionState'
46
+ }
47
+
48
+ attribute_map = {
49
+ 'reason': 'reason',
50
+ 'state': 'state'
51
+ }
52
+
53
+ def __init__(self, reason: 'str' =None, state: 'V1RegionState' =None): # noqa: E501
54
+ """V1KubernetesDirectV1Status - a model defined in Swagger""" # noqa: E501
55
+ self._reason = None
56
+ self._state = None
57
+ self.discriminator = None
58
+ if reason is not None:
59
+ self.reason = reason
60
+ if state is not None:
61
+ self.state = state
62
+
63
+ @property
64
+ def reason(self) -> 'str':
65
+ """Gets the reason of this V1KubernetesDirectV1Status. # noqa: E501
66
+
67
+
68
+ :return: The reason of this V1KubernetesDirectV1Status. # noqa: E501
69
+ :rtype: str
70
+ """
71
+ return self._reason
72
+
73
+ @reason.setter
74
+ def reason(self, reason: 'str'):
75
+ """Sets the reason of this V1KubernetesDirectV1Status.
76
+
77
+
78
+ :param reason: The reason of this V1KubernetesDirectV1Status. # noqa: E501
79
+ :type: str
80
+ """
81
+
82
+ self._reason = reason
83
+
84
+ @property
85
+ def state(self) -> 'V1RegionState':
86
+ """Gets the state of this V1KubernetesDirectV1Status. # noqa: E501
87
+
88
+
89
+ :return: The state of this V1KubernetesDirectV1Status. # noqa: E501
90
+ :rtype: V1RegionState
91
+ """
92
+ return self._state
93
+
94
+ @state.setter
95
+ def state(self, state: 'V1RegionState'):
96
+ """Sets the state of this V1KubernetesDirectV1Status.
97
+
98
+
99
+ :param state: The state of this V1KubernetesDirectV1Status. # noqa: E501
100
+ :type: V1RegionState
101
+ """
102
+
103
+ self._state = state
104
+
105
+ def to_dict(self) -> dict:
106
+ """Returns the model properties as a dict"""
107
+ result = {}
108
+
109
+ for attr, _ in six.iteritems(self.swagger_types):
110
+ value = getattr(self, attr)
111
+ if isinstance(value, list):
112
+ result[attr] = list(map(
113
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
114
+ value
115
+ ))
116
+ elif hasattr(value, "to_dict"):
117
+ result[attr] = value.to_dict()
118
+ elif isinstance(value, dict):
119
+ result[attr] = dict(map(
120
+ lambda item: (item[0], item[1].to_dict())
121
+ if hasattr(item[1], "to_dict") else item,
122
+ value.items()
123
+ ))
124
+ else:
125
+ result[attr] = value
126
+ if issubclass(V1KubernetesDirectV1Status, dict):
127
+ for key, value in self.items():
128
+ result[key] = value
129
+
130
+ return result
131
+
132
+ def to_str(self) -> str:
133
+ """Returns the string representation of the model"""
134
+ return pprint.pformat(self.to_dict())
135
+
136
+ def __repr__(self) -> str:
137
+ """For `print` and `pprint`"""
138
+ return self.to_str()
139
+
140
+ def __eq__(self, other: 'V1KubernetesDirectV1Status') -> bool:
141
+ """Returns true if both objects are equal"""
142
+ if not isinstance(other, V1KubernetesDirectV1Status):
143
+ return False
144
+
145
+ return self.__dict__ == other.__dict__
146
+
147
+ def __ne__(self, other: 'V1KubernetesDirectV1Status') -> bool:
148
+ """Returns true if both objects are not equal"""
149
+ return not self == other
@@ -0,0 +1,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class V1ListCloudyExpertsResponse(object):
32
+ """NOTE: This class is auto generated by the swagger code generator program.
33
+
34
+ Do not edit the class manually.
35
+ """
36
+ """
37
+ Attributes:
38
+ swagger_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
+ swagger_types = {
44
+ 'experts': 'list[V1CloudyExpert]'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'experts': 'experts'
49
+ }
50
+
51
+ def __init__(self, experts: 'list[V1CloudyExpert]' =None): # noqa: E501
52
+ """V1ListCloudyExpertsResponse - a model defined in Swagger""" # noqa: E501
53
+ self._experts = None
54
+ self.discriminator = None
55
+ if experts is not None:
56
+ self.experts = experts
57
+
58
+ @property
59
+ def experts(self) -> 'list[V1CloudyExpert]':
60
+ """Gets the experts of this V1ListCloudyExpertsResponse. # noqa: E501
61
+
62
+
63
+ :return: The experts of this V1ListCloudyExpertsResponse. # noqa: E501
64
+ :rtype: list[V1CloudyExpert]
65
+ """
66
+ return self._experts
67
+
68
+ @experts.setter
69
+ def experts(self, experts: 'list[V1CloudyExpert]'):
70
+ """Sets the experts of this V1ListCloudyExpertsResponse.
71
+
72
+
73
+ :param experts: The experts of this V1ListCloudyExpertsResponse. # noqa: E501
74
+ :type: list[V1CloudyExpert]
75
+ """
76
+
77
+ self._experts = experts
78
+
79
+ def to_dict(self) -> dict:
80
+ """Returns the model properties as a dict"""
81
+ result = {}
82
+
83
+ for attr, _ in six.iteritems(self.swagger_types):
84
+ value = getattr(self, attr)
85
+ if isinstance(value, list):
86
+ result[attr] = list(map(
87
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
88
+ value
89
+ ))
90
+ elif hasattr(value, "to_dict"):
91
+ result[attr] = value.to_dict()
92
+ elif isinstance(value, dict):
93
+ result[attr] = dict(map(
94
+ lambda item: (item[0], item[1].to_dict())
95
+ if hasattr(item[1], "to_dict") else item,
96
+ value.items()
97
+ ))
98
+ else:
99
+ result[attr] = value
100
+ if issubclass(V1ListCloudyExpertsResponse, dict):
101
+ for key, value in self.items():
102
+ result[key] = value
103
+
104
+ return result
105
+
106
+ def to_str(self) -> str:
107
+ """Returns the string representation of the model"""
108
+ return pprint.pformat(self.to_dict())
109
+
110
+ def __repr__(self) -> str:
111
+ """For `print` and `pprint`"""
112
+ return self.to_str()
113
+
114
+ def __eq__(self, other: 'V1ListCloudyExpertsResponse') -> bool:
115
+ """Returns true if both objects are equal"""
116
+ if not isinstance(other, V1ListCloudyExpertsResponse):
117
+ return False
118
+
119
+ return self.__dict__ == other.__dict__
120
+
121
+ def __ne__(self, other: 'V1ListCloudyExpertsResponse') -> bool:
122
+ """Returns true if both objects are not equal"""
123
+ return not self == other
@@ -43,25 +43,30 @@ class V1MagicLinkLoginResponse(object):
43
43
  swagger_types = {
44
44
  'auth_start_url': 'str',
45
45
  'sso_enabled': 'bool',
46
+ 'verified': 'bool',
46
47
  'waitlisted': 'bool'
47
48
  }
48
49
 
49
50
  attribute_map = {
50
51
  'auth_start_url': 'authStartUrl',
51
52
  'sso_enabled': 'ssoEnabled',
53
+ 'verified': 'verified',
52
54
  'waitlisted': 'waitlisted'
53
55
  }
54
56
 
55
- def __init__(self, auth_start_url: 'str' =None, sso_enabled: 'bool' =None, waitlisted: 'bool' =None): # noqa: E501
57
+ def __init__(self, auth_start_url: 'str' =None, sso_enabled: 'bool' =None, verified: 'bool' =None, waitlisted: 'bool' =None): # noqa: E501
56
58
  """V1MagicLinkLoginResponse - a model defined in Swagger""" # noqa: E501
57
59
  self._auth_start_url = None
58
60
  self._sso_enabled = None
61
+ self._verified = None
59
62
  self._waitlisted = None
60
63
  self.discriminator = None
61
64
  if auth_start_url is not None:
62
65
  self.auth_start_url = auth_start_url
63
66
  if sso_enabled is not None:
64
67
  self.sso_enabled = sso_enabled
68
+ if verified is not None:
69
+ self.verified = verified
65
70
  if waitlisted is not None:
66
71
  self.waitlisted = waitlisted
67
72
 
@@ -107,6 +112,27 @@ class V1MagicLinkLoginResponse(object):
107
112
 
108
113
  self._sso_enabled = sso_enabled
109
114
 
115
+ @property
116
+ def verified(self) -> 'bool':
117
+ """Gets the verified of this V1MagicLinkLoginResponse. # noqa: E501
118
+
119
+
120
+ :return: The verified of this V1MagicLinkLoginResponse. # noqa: E501
121
+ :rtype: bool
122
+ """
123
+ return self._verified
124
+
125
+ @verified.setter
126
+ def verified(self, verified: 'bool'):
127
+ """Sets the verified of this V1MagicLinkLoginResponse.
128
+
129
+
130
+ :param verified: The verified of this V1MagicLinkLoginResponse. # noqa: E501
131
+ :type: bool
132
+ """
133
+
134
+ self._verified = verified
135
+
110
136
  @property
111
137
  def waitlisted(self) -> 'bool':
112
138
  """Gets the waitlisted of this V1MagicLinkLoginResponse. # noqa: E501
@@ -58,6 +58,7 @@ class V1Organization(object):
58
58
  'created_at': 'datetime',
59
59
  'default_machine_image_version': 'str',
60
60
  'default_machine_type': 'str',
61
+ 'default_project_id': 'str',
61
62
  'description': 'str',
62
63
  'disallow_aws_saas': 'bool',
63
64
  'disallow_dgx_saas': 'bool',
@@ -108,6 +109,7 @@ class V1Organization(object):
108
109
  'created_at': 'createdAt',
109
110
  'default_machine_image_version': 'defaultMachineImageVersion',
110
111
  'default_machine_type': 'defaultMachineType',
112
+ 'default_project_id': 'defaultProjectId',
111
113
  'description': 'description',
112
114
  'disallow_aws_saas': 'disallowAwsSaas',
113
115
  'disallow_dgx_saas': 'disallowDgxSaas',
@@ -140,7 +142,7 @@ class V1Organization(object):
140
142
  'workload_max_run_duration': 'workloadMaxRunDuration'
141
143
  }
142
144
 
143
- def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
145
+ def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_budgeting: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_guest: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, auto_switch_machine: 'bool' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, default_machine_type: 'str' =None, default_project_id: 'str' =None, description: 'str' =None, disallow_aws_saas: 'bool' =None, disallow_dgx_saas: 'bool' =None, disallow_gcp_saas: 'bool' =None, disallow_lambda_saas: 'bool' =None, disallow_lightning_saas: 'bool' =None, disallow_vultr_saas: 'bool' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, full_story_end_date: 'datetime' =None, full_story_start_date: 'datetime' =None, general_teamspace: 'bool' =None, id: 'str' =None, last_storage_overuse_notification_sent_at: 'datetime' =None, location: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, storage_overuse_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, storage_overuse_notification_count: 'int' =None, switch_to_default_machine_on_idle: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None, workload_max_run_duration: 'str' =None): # noqa: E501
144
146
  """V1Organization - a model defined in Swagger""" # noqa: E501
145
147
  self._alerts_config = None
146
148
  self._allow_budgeting = None
@@ -159,6 +161,7 @@ class V1Organization(object):
159
161
  self._created_at = None
160
162
  self._default_machine_image_version = None
161
163
  self._default_machine_type = None
164
+ self._default_project_id = None
162
165
  self._description = None
163
166
  self._disallow_aws_saas = None
164
167
  self._disallow_dgx_saas = None
@@ -224,6 +227,8 @@ class V1Organization(object):
224
227
  self.default_machine_image_version = default_machine_image_version
225
228
  if default_machine_type is not None:
226
229
  self.default_machine_type = default_machine_type
230
+ if default_project_id is not None:
231
+ self.default_project_id = default_project_id
227
232
  if description is not None:
228
233
  self.description = description
229
234
  if disallow_aws_saas is not None:
@@ -644,6 +649,27 @@ class V1Organization(object):
644
649
 
645
650
  self._default_machine_type = default_machine_type
646
651
 
652
+ @property
653
+ def default_project_id(self) -> 'str':
654
+ """Gets the default_project_id of this V1Organization. # noqa: E501
655
+
656
+
657
+ :return: The default_project_id of this V1Organization. # noqa: E501
658
+ :rtype: str
659
+ """
660
+ return self._default_project_id
661
+
662
+ @default_project_id.setter
663
+ def default_project_id(self, default_project_id: 'str'):
664
+ """Sets the default_project_id of this V1Organization.
665
+
666
+
667
+ :param default_project_id: The default_project_id of this V1Organization. # noqa: E501
668
+ :type: str
669
+ """
670
+
671
+ self._default_project_id = default_project_id
672
+
647
673
  @property
648
674
  def description(self) -> 'str':
649
675
  """Gets the description of this V1Organization. # noqa: E501
@@ -77,6 +77,7 @@ class V1RuleResource(object):
77
77
  PIPELINE = "pipeline"
78
78
  CLOUDSPACEENVIRONMENTTEMPLATE = "cloudSpaceEnvironmentTemplate"
79
79
  ORGSTORAGE = "orgStorage"
80
+ KUBERNETESCLUSTER = "kubernetesCluster"
80
81
  """
81
82
  Attributes:
82
83
  swagger_types (dict): The key is attribute name
@@ -41,6 +41,7 @@ class V1Schedule(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'action_type': 'V1ScheduleActionType',
44
45
  'created_at': 'datetime',
45
46
  'cron_expression': 'str',
46
47
  'display_name': 'str',
@@ -58,6 +59,7 @@ class V1Schedule(object):
58
59
  }
59
60
 
60
61
  attribute_map = {
62
+ 'action_type': 'actionType',
61
63
  'created_at': 'createdAt',
62
64
  'cron_expression': 'cronExpression',
63
65
  'display_name': 'displayName',
@@ -74,8 +76,9 @@ class V1Schedule(object):
74
76
  'user_id': 'userId'
75
77
  }
76
78
 
77
- def __init__(self, created_at: 'datetime' =None, cron_expression: 'str' =None, display_name: 'str' =None, id: 'str' =None, name: 'str' =None, next: 'datetime' =None, parent_resource_id: 'str' =None, project_id: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None, state: 'str' =None, total: 'int' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
79
+ def __init__(self, action_type: 'V1ScheduleActionType' =None, created_at: 'datetime' =None, cron_expression: 'str' =None, display_name: 'str' =None, id: 'str' =None, name: 'str' =None, next: 'datetime' =None, parent_resource_id: 'str' =None, project_id: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None, state: 'str' =None, total: 'int' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
78
80
  """V1Schedule - a model defined in Swagger""" # noqa: E501
81
+ self._action_type = None
79
82
  self._created_at = None
80
83
  self._cron_expression = None
81
84
  self._display_name = None
@@ -91,6 +94,8 @@ class V1Schedule(object):
91
94
  self._updated_at = None
92
95
  self._user_id = None
93
96
  self.discriminator = None
97
+ if action_type is not None:
98
+ self.action_type = action_type
94
99
  if created_at is not None:
95
100
  self.created_at = created_at
96
101
  if cron_expression is not None:
@@ -120,6 +125,27 @@ class V1Schedule(object):
120
125
  if user_id is not None:
121
126
  self.user_id = user_id
122
127
 
128
+ @property
129
+ def action_type(self) -> 'V1ScheduleActionType':
130
+ """Gets the action_type of this V1Schedule. # noqa: E501
131
+
132
+
133
+ :return: The action_type of this V1Schedule. # noqa: E501
134
+ :rtype: V1ScheduleActionType
135
+ """
136
+ return self._action_type
137
+
138
+ @action_type.setter
139
+ def action_type(self, action_type: 'V1ScheduleActionType'):
140
+ """Sets the action_type of this V1Schedule.
141
+
142
+
143
+ :param action_type: The action_type of this V1Schedule. # noqa: E501
144
+ :type: V1ScheduleActionType
145
+ """
146
+
147
+ self._action_type = action_type
148
+
123
149
  @property
124
150
  def created_at(self) -> 'datetime':
125
151
  """Gets the created_at of this V1Schedule. # noqa: E501