lightning-sdk 0.2.14__py3-none-any.whl → 0.2.15__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 +73 -0
  3. lightning_sdk/api/license_api.py +48 -0
  4. lightning_sdk/api/llm_api.py +50 -8
  5. lightning_sdk/api/studio_api.py +47 -1
  6. lightning_sdk/base_studio.py +70 -0
  7. lightning_sdk/cli/delete.py +6 -8
  8. lightning_sdk/cli/download.py +25 -0
  9. lightning_sdk/cli/serve.py +82 -30
  10. lightning_sdk/cli/teamspace_menu.py +9 -1
  11. lightning_sdk/cli/upload.py +0 -1
  12. lightning_sdk/lightning_cloud/openapi/__init__.py +11 -0
  13. lightning_sdk/lightning_cloud/openapi/api/__init__.py +1 -0
  14. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +9 -1
  15. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +121 -0
  16. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +178 -0
  17. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +243 -2
  18. lightning_sdk/lightning_cloud/openapi/api/product_license_service_api.py +525 -0
  19. lightning_sdk/lightning_cloud/openapi/configuration.py +1 -1
  20. lightning_sdk/lightning_cloud/openapi/models/__init__.py +10 -0
  21. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +53 -1
  22. lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/model_id_versions_body.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +79 -1
  25. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +6 -6
  26. lightning_sdk/lightning_cloud/openapi/models/project_id_storage_body.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +79 -1
  28. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +27 -1
  29. lightning_sdk/lightning_cloud/openapi/models/update.py +79 -1
  30. lightning_sdk/lightning_cloud/openapi/models/uploads_upload_id_body1.py +55 -3
  31. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +53 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +3 -0
  33. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_config.py +123 -0
  35. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template_config.py +79 -1
  36. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_type.py +104 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_cloudflare_v1.py +66 -66
  38. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_upload.py +149 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_complete_upload.py +55 -3
  41. lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +27 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +79 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +27 -1
  44. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +4 -4
  45. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +27 -1
  46. lightning_sdk/lightning_cloud/openapi/models/v1_external_search_user.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_ge_list_deployment_routing_telemetry_response.py +97 -0
  48. lightning_sdk/lightning_cloud/openapi/models/v1_get_job_stats_response.py +53 -1
  49. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +1 -27
  50. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  51. lightning_sdk/lightning_cloud/openapi/models/v1_job_type.py +1 -0
  52. lightning_sdk/lightning_cloud/openapi/models/v1_list_product_licenses_response.py +123 -0
  53. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +27 -1
  54. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +17 -17
  55. lightning_sdk/lightning_cloud/openapi/models/v1_modify_filesystem_volume_response.py +97 -0
  56. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +79 -1
  57. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +6 -6
  58. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_state.py +111 -0
  59. lightning_sdk/lightning_cloud/openapi/models/v1_presigned_url.py +53 -1
  60. lightning_sdk/lightning_cloud/openapi/models/v1_product_license.py +409 -0
  61. lightning_sdk/lightning_cloud/openapi/models/v1_product_license_check_response.py +123 -0
  62. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +17 -17
  63. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +79 -1
  64. lightning_sdk/lightning_cloud/openapi/models/v1_r2_data_connection.py +53 -1
  65. lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +1 -0
  66. lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_type.py +1 -0
  67. lightning_sdk/lightning_cloud/openapi/models/v1_trigger_filesystem_upgrade_response.py +123 -0
  68. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
  69. lightning_sdk/lightning_cloud/openapi/models/v1_upload_project_artifact_response.py +27 -1
  70. lightning_sdk/lightning_cloud/openapi/models/v1_usage_report.py +79 -1
  71. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +295 -113
  72. lightning_sdk/lightning_cloud/rest_client.py +4 -0
  73. lightning_sdk/llm/llm.py +88 -40
  74. lightning_sdk/services/__init__.py +1 -1
  75. lightning_sdk/services/license.py +236 -0
  76. lightning_sdk/studio.py +30 -0
  77. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/METADATA +1 -1
  78. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/RECORD +83 -68
  79. /lightning_sdk/services/{finetune/__init__.py → finetune_llm.py} +0 -0
  80. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/LICENSE +0 -0
  81. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/WHEEL +0 -0
  82. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/entry_points.txt +0 -0
  83. {lightning_sdk-0.2.14.dist-info → lightning_sdk-0.2.15.dist-info}/top_level.txt +0 -0
@@ -42,36 +42,44 @@ class AssistantIdConversationsBody(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'auto_name': 'bool',
45
+ 'billing_project_id': 'str',
45
46
  'conversation_id': 'str',
46
47
  'max_tokens': 'str',
47
48
  'message': 'V1Message',
48
49
  'metadata': 'dict(str, str)',
50
+ 'name': 'str',
49
51
  'parent_message_id': 'str',
50
52
  'stream': 'bool'
51
53
  }
52
54
 
53
55
  attribute_map = {
54
56
  'auto_name': 'autoName',
57
+ 'billing_project_id': 'billingProjectId',
55
58
  'conversation_id': 'conversationId',
56
59
  'max_tokens': 'maxTokens',
57
60
  'message': 'message',
58
61
  'metadata': 'metadata',
62
+ 'name': 'name',
59
63
  'parent_message_id': 'parentMessageId',
60
64
  'stream': 'stream'
61
65
  }
62
66
 
63
- def __init__(self, auto_name: 'bool' =None, conversation_id: 'str' =None, max_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, parent_message_id: 'str' =None, stream: 'bool' =None): # noqa: E501
67
+ def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, max_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, name: 'str' =None, parent_message_id: 'str' =None, stream: 'bool' =None): # noqa: E501
64
68
  """AssistantIdConversationsBody - a model defined in Swagger""" # noqa: E501
65
69
  self._auto_name = None
70
+ self._billing_project_id = None
66
71
  self._conversation_id = None
67
72
  self._max_tokens = None
68
73
  self._message = None
69
74
  self._metadata = None
75
+ self._name = None
70
76
  self._parent_message_id = None
71
77
  self._stream = None
72
78
  self.discriminator = None
73
79
  if auto_name is not None:
74
80
  self.auto_name = auto_name
81
+ if billing_project_id is not None:
82
+ self.billing_project_id = billing_project_id
75
83
  if conversation_id is not None:
76
84
  self.conversation_id = conversation_id
77
85
  if max_tokens is not None:
@@ -80,6 +88,8 @@ class AssistantIdConversationsBody(object):
80
88
  self.message = message
81
89
  if metadata is not None:
82
90
  self.metadata = metadata
91
+ if name is not None:
92
+ self.name = name
83
93
  if parent_message_id is not None:
84
94
  self.parent_message_id = parent_message_id
85
95
  if stream is not None:
@@ -106,6 +116,27 @@ class AssistantIdConversationsBody(object):
106
116
 
107
117
  self._auto_name = auto_name
108
118
 
119
+ @property
120
+ def billing_project_id(self) -> 'str':
121
+ """Gets the billing_project_id of this AssistantIdConversationsBody. # noqa: E501
122
+
123
+
124
+ :return: The billing_project_id of this AssistantIdConversationsBody. # noqa: E501
125
+ :rtype: str
126
+ """
127
+ return self._billing_project_id
128
+
129
+ @billing_project_id.setter
130
+ def billing_project_id(self, billing_project_id: 'str'):
131
+ """Sets the billing_project_id of this AssistantIdConversationsBody.
132
+
133
+
134
+ :param billing_project_id: The billing_project_id of this AssistantIdConversationsBody. # noqa: E501
135
+ :type: str
136
+ """
137
+
138
+ self._billing_project_id = billing_project_id
139
+
109
140
  @property
110
141
  def conversation_id(self) -> 'str':
111
142
  """Gets the conversation_id of this AssistantIdConversationsBody. # noqa: E501
@@ -190,6 +221,27 @@ class AssistantIdConversationsBody(object):
190
221
 
191
222
  self._metadata = metadata
192
223
 
224
+ @property
225
+ def name(self) -> 'str':
226
+ """Gets the name of this AssistantIdConversationsBody. # noqa: E501
227
+
228
+
229
+ :return: The name of this AssistantIdConversationsBody. # noqa: E501
230
+ :rtype: str
231
+ """
232
+ return self._name
233
+
234
+ @name.setter
235
+ def name(self, name: 'str'):
236
+ """Sets the name of this AssistantIdConversationsBody.
237
+
238
+
239
+ :param name: The name of this AssistantIdConversationsBody. # noqa: E501
240
+ :type: str
241
+ """
242
+
243
+ self._name = name
244
+
193
245
  @property
194
246
  def parent_message_id(self) -> 'str':
195
247
  """Gets the parent_message_id of this AssistantIdConversationsBody. # noqa: E501
@@ -51,6 +51,7 @@ class EndpointsIdBody(object):
51
51
  'openai': 'V1UpstreamOpenAI',
52
52
  'ports': 'list[str]',
53
53
  'prewarm': 'V1EndpointPrewarm',
54
+ 'proxy': 'bool',
54
55
  'updated_at': 'datetime',
55
56
  'urls': 'list[str]',
56
57
  'user_id': 'str'
@@ -67,12 +68,13 @@ class EndpointsIdBody(object):
67
68
  'openai': 'openai',
68
69
  'ports': 'ports',
69
70
  'prewarm': 'prewarm',
71
+ 'proxy': 'proxy',
70
72
  'updated_at': 'updatedAt',
71
73
  'urls': 'urls',
72
74
  'user_id': 'userId'
73
75
  }
74
76
 
75
- def __init__(self, auth: 'V1EndpointAuth' =None, cloudspace: 'V1UpstreamCloudSpace' =None, created_at: 'datetime' =None, custom_domain: 'str' =None, job: 'V1UpstreamJob' =None, managed: 'V1UpstreamManaged' =None, name: 'str' =None, openai: 'V1UpstreamOpenAI' =None, ports: 'list[str]' =None, prewarm: 'V1EndpointPrewarm' =None, updated_at: 'datetime' =None, urls: 'list[str]' =None, user_id: 'str' =None): # noqa: E501
77
+ def __init__(self, auth: 'V1EndpointAuth' =None, cloudspace: 'V1UpstreamCloudSpace' =None, created_at: 'datetime' =None, custom_domain: 'str' =None, job: 'V1UpstreamJob' =None, managed: 'V1UpstreamManaged' =None, name: 'str' =None, openai: 'V1UpstreamOpenAI' =None, ports: 'list[str]' =None, prewarm: 'V1EndpointPrewarm' =None, proxy: 'bool' =None, updated_at: 'datetime' =None, urls: 'list[str]' =None, user_id: 'str' =None): # noqa: E501
76
78
  """EndpointsIdBody - a model defined in Swagger""" # noqa: E501
77
79
  self._auth = None
78
80
  self._cloudspace = None
@@ -84,6 +86,7 @@ class EndpointsIdBody(object):
84
86
  self._openai = None
85
87
  self._ports = None
86
88
  self._prewarm = None
89
+ self._proxy = None
87
90
  self._updated_at = None
88
91
  self._urls = None
89
92
  self._user_id = None
@@ -108,6 +111,8 @@ class EndpointsIdBody(object):
108
111
  self.ports = ports
109
112
  if prewarm is not None:
110
113
  self.prewarm = prewarm
114
+ if proxy is not None:
115
+ self.proxy = proxy
111
116
  if updated_at is not None:
112
117
  self.updated_at = updated_at
113
118
  if urls is not None:
@@ -325,6 +330,27 @@ class EndpointsIdBody(object):
325
330
 
326
331
  self._prewarm = prewarm
327
332
 
333
+ @property
334
+ def proxy(self) -> 'bool':
335
+ """Gets the proxy of this EndpointsIdBody. # noqa: E501
336
+
337
+
338
+ :return: The proxy of this EndpointsIdBody. # noqa: E501
339
+ :rtype: bool
340
+ """
341
+ return self._proxy
342
+
343
+ @proxy.setter
344
+ def proxy(self, proxy: 'bool'):
345
+ """Sets the proxy of this EndpointsIdBody.
346
+
347
+
348
+ :param proxy: The proxy of this EndpointsIdBody. # noqa: E501
349
+ :type: bool
350
+ """
351
+
352
+ self._proxy = proxy
353
+
328
354
  @property
329
355
  def updated_at(self) -> 'datetime':
330
356
  """Gets the updated_at of this EndpointsIdBody. # noqa: E501
@@ -42,21 +42,26 @@ class ModelIdVersionsBody(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'cluster_id': 'str',
45
+ 'metadata': 'dict(str, str)',
45
46
  'version': 'str'
46
47
  }
47
48
 
48
49
  attribute_map = {
49
50
  'cluster_id': 'clusterId',
51
+ 'metadata': 'metadata',
50
52
  'version': 'version'
51
53
  }
52
54
 
53
- def __init__(self, cluster_id: 'str' =None, version: 'str' =None): # noqa: E501
55
+ def __init__(self, cluster_id: 'str' =None, metadata: 'dict(str, str)' =None, version: 'str' =None): # noqa: E501
54
56
  """ModelIdVersionsBody - a model defined in Swagger""" # noqa: E501
55
57
  self._cluster_id = None
58
+ self._metadata = None
56
59
  self._version = None
57
60
  self.discriminator = None
58
61
  if cluster_id is not None:
59
62
  self.cluster_id = cluster_id
63
+ if metadata is not None:
64
+ self.metadata = metadata
60
65
  if version is not None:
61
66
  self.version = version
62
67
 
@@ -81,6 +86,27 @@ class ModelIdVersionsBody(object):
81
86
 
82
87
  self._cluster_id = cluster_id
83
88
 
89
+ @property
90
+ def metadata(self) -> 'dict(str, str)':
91
+ """Gets the metadata of this ModelIdVersionsBody. # noqa: E501
92
+
93
+
94
+ :return: The metadata of this ModelIdVersionsBody. # noqa: E501
95
+ :rtype: dict(str, str)
96
+ """
97
+ return self._metadata
98
+
99
+ @metadata.setter
100
+ def metadata(self, metadata: 'dict(str, str)'):
101
+ """Sets the metadata of this ModelIdVersionsBody.
102
+
103
+
104
+ :param metadata: The metadata of this ModelIdVersionsBody. # noqa: E501
105
+ :type: dict(str, str)
106
+ """
107
+
108
+ self._metadata = metadata
109
+
84
110
  @property
85
111
  def version(self) -> 'str':
86
112
  """Gets the version of this ModelIdVersionsBody. # noqa: E501
@@ -44,16 +44,19 @@ class OrgsIdBody(object):
44
44
  'alerts_config': 'V1AlertsConfig',
45
45
  'allow_aws_saas': 'bool',
46
46
  'allow_budgeting': 'bool',
47
+ 'allow_dgx_saas': 'bool',
47
48
  'allow_external_project_duplication': 'bool',
48
49
  'allow_gcp_saas': 'bool',
49
50
  'allow_guest': 'bool',
50
51
  'allow_lambda_saas': 'bool',
52
+ 'allow_lightning_saas': 'bool',
51
53
  'allow_marketplace': 'bool',
52
54
  'allow_member_invitations': 'bool',
53
55
  'allow_member_teamspace_creation': 'bool',
54
56
  'allow_vultr_saas': 'bool',
55
57
  'auto_invite_by_domain': 'bool',
56
58
  'auto_join_domains': 'list[str]',
59
+ 'auto_switch_machine': 'bool',
57
60
  'default_machine_type': 'str',
58
61
  'description': 'str',
59
62
  'display_name': 'str',
@@ -74,16 +77,19 @@ class OrgsIdBody(object):
74
77
  'alerts_config': 'alertsConfig',
75
78
  'allow_aws_saas': 'allowAwsSaas',
76
79
  'allow_budgeting': 'allowBudgeting',
80
+ 'allow_dgx_saas': 'allowDgxSaas',
77
81
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
78
82
  'allow_gcp_saas': 'allowGcpSaas',
79
83
  'allow_guest': 'allowGuest',
80
84
  'allow_lambda_saas': 'allowLambdaSaas',
85
+ 'allow_lightning_saas': 'allowLightningSaas',
81
86
  'allow_marketplace': 'allowMarketplace',
82
87
  'allow_member_invitations': 'allowMemberInvitations',
83
88
  'allow_member_teamspace_creation': 'allowMemberTeamspaceCreation',
84
89
  'allow_vultr_saas': 'allowVultrSaas',
85
90
  'auto_invite_by_domain': 'autoInviteByDomain',
86
91
  'auto_join_domains': 'autoJoinDomains',
92
+ 'auto_switch_machine': 'autoSwitchMachine',
87
93
  'default_machine_type': 'defaultMachineType',
88
94
  'description': 'description',
89
95
  'display_name': 'displayName',
@@ -100,21 +106,24 @@ class OrgsIdBody(object):
100
106
  'workload_max_run_duration': 'workloadMaxRunDuration'
101
107
  }
102
108
 
103
- def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_aws_saas: 'bool' =None, allow_budgeting: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
109
+ def __init__(self, alerts_config: 'V1AlertsConfig' =None, allow_aws_saas: 'bool' =None, allow_budgeting: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_marketplace: 'bool' =None, allow_member_invitations: 'bool' =None, allow_member_teamspace_creation: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_invite_by_domain: 'bool' =None, auto_join_domains: 'list[str]' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, domain: 'str' =None, email: 'str' =None, featured_gallery: 'bool' =None, location: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, start_studios_on_spot_instance: 'bool' =None, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, workload_max_run_duration: 'str' =None): # noqa: E501
104
110
  """OrgsIdBody - a model defined in Swagger""" # noqa: E501
105
111
  self._alerts_config = None
106
112
  self._allow_aws_saas = None
107
113
  self._allow_budgeting = None
114
+ self._allow_dgx_saas = None
108
115
  self._allow_external_project_duplication = None
109
116
  self._allow_gcp_saas = None
110
117
  self._allow_guest = None
111
118
  self._allow_lambda_saas = None
119
+ self._allow_lightning_saas = None
112
120
  self._allow_marketplace = None
113
121
  self._allow_member_invitations = None
114
122
  self._allow_member_teamspace_creation = None
115
123
  self._allow_vultr_saas = None
116
124
  self._auto_invite_by_domain = None
117
125
  self._auto_join_domains = None
126
+ self._auto_switch_machine = None
118
127
  self._default_machine_type = None
119
128
  self._description = None
120
129
  self._display_name = None
@@ -136,6 +145,8 @@ class OrgsIdBody(object):
136
145
  self.allow_aws_saas = allow_aws_saas
137
146
  if allow_budgeting is not None:
138
147
  self.allow_budgeting = allow_budgeting
148
+ if allow_dgx_saas is not None:
149
+ self.allow_dgx_saas = allow_dgx_saas
139
150
  if allow_external_project_duplication is not None:
140
151
  self.allow_external_project_duplication = allow_external_project_duplication
141
152
  if allow_gcp_saas is not None:
@@ -144,6 +155,8 @@ class OrgsIdBody(object):
144
155
  self.allow_guest = allow_guest
145
156
  if allow_lambda_saas is not None:
146
157
  self.allow_lambda_saas = allow_lambda_saas
158
+ if allow_lightning_saas is not None:
159
+ self.allow_lightning_saas = allow_lightning_saas
147
160
  if allow_marketplace is not None:
148
161
  self.allow_marketplace = allow_marketplace
149
162
  if allow_member_invitations is not None:
@@ -156,6 +169,8 @@ class OrgsIdBody(object):
156
169
  self.auto_invite_by_domain = auto_invite_by_domain
157
170
  if auto_join_domains is not None:
158
171
  self.auto_join_domains = auto_join_domains
172
+ if auto_switch_machine is not None:
173
+ self.auto_switch_machine = auto_switch_machine
159
174
  if default_machine_type is not None:
160
175
  self.default_machine_type = default_machine_type
161
176
  if description is not None:
@@ -248,6 +263,27 @@ class OrgsIdBody(object):
248
263
 
249
264
  self._allow_budgeting = allow_budgeting
250
265
 
266
+ @property
267
+ def allow_dgx_saas(self) -> 'bool':
268
+ """Gets the allow_dgx_saas of this OrgsIdBody. # noqa: E501
269
+
270
+
271
+ :return: The allow_dgx_saas of this OrgsIdBody. # noqa: E501
272
+ :rtype: bool
273
+ """
274
+ return self._allow_dgx_saas
275
+
276
+ @allow_dgx_saas.setter
277
+ def allow_dgx_saas(self, allow_dgx_saas: 'bool'):
278
+ """Sets the allow_dgx_saas of this OrgsIdBody.
279
+
280
+
281
+ :param allow_dgx_saas: The allow_dgx_saas of this OrgsIdBody. # noqa: E501
282
+ :type: bool
283
+ """
284
+
285
+ self._allow_dgx_saas = allow_dgx_saas
286
+
251
287
  @property
252
288
  def allow_external_project_duplication(self) -> 'bool':
253
289
  """Gets the allow_external_project_duplication of this OrgsIdBody. # noqa: E501
@@ -332,6 +368,27 @@ class OrgsIdBody(object):
332
368
 
333
369
  self._allow_lambda_saas = allow_lambda_saas
334
370
 
371
+ @property
372
+ def allow_lightning_saas(self) -> 'bool':
373
+ """Gets the allow_lightning_saas of this OrgsIdBody. # noqa: E501
374
+
375
+
376
+ :return: The allow_lightning_saas of this OrgsIdBody. # noqa: E501
377
+ :rtype: bool
378
+ """
379
+ return self._allow_lightning_saas
380
+
381
+ @allow_lightning_saas.setter
382
+ def allow_lightning_saas(self, allow_lightning_saas: 'bool'):
383
+ """Sets the allow_lightning_saas of this OrgsIdBody.
384
+
385
+
386
+ :param allow_lightning_saas: The allow_lightning_saas of this OrgsIdBody. # noqa: E501
387
+ :type: bool
388
+ """
389
+
390
+ self._allow_lightning_saas = allow_lightning_saas
391
+
335
392
  @property
336
393
  def allow_marketplace(self) -> 'bool':
337
394
  """Gets the allow_marketplace of this OrgsIdBody. # noqa: E501
@@ -458,6 +515,27 @@ class OrgsIdBody(object):
458
515
 
459
516
  self._auto_join_domains = auto_join_domains
460
517
 
518
+ @property
519
+ def auto_switch_machine(self) -> 'bool':
520
+ """Gets the auto_switch_machine of this OrgsIdBody. # noqa: E501
521
+
522
+
523
+ :return: The auto_switch_machine of this OrgsIdBody. # noqa: E501
524
+ :rtype: bool
525
+ """
526
+ return self._auto_switch_machine
527
+
528
+ @auto_switch_machine.setter
529
+ def auto_switch_machine(self, auto_switch_machine: 'bool'):
530
+ """Sets the auto_switch_machine of this OrgsIdBody.
531
+
532
+
533
+ :param auto_switch_machine: The auto_switch_machine of this OrgsIdBody. # noqa: E501
534
+ :type: bool
535
+ """
536
+
537
+ self._auto_switch_machine = auto_switch_machine
538
+
461
539
  @property
462
540
  def default_machine_type(self) -> 'str':
463
541
  """Gets the default_machine_type of this OrgsIdBody. # noqa: E501
@@ -52,7 +52,7 @@ class PipelinesIdBody(object):
52
52
  'parent_pipeline_id': 'str',
53
53
  'schedule_id': 'str',
54
54
  'shared_filesystem': 'V1SharedFilesystem',
55
- 'state': 'str',
55
+ 'state': 'V1PipelineState',
56
56
  'statuses': 'list[V1PipelineStepStatus]',
57
57
  'steps': 'list[V1PipelineStep]',
58
58
  'updated_at': 'datetime',
@@ -78,7 +78,7 @@ class PipelinesIdBody(object):
78
78
  'user_id': 'userId'
79
79
  }
80
80
 
81
- def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, is_published: 'bool' =None, message: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, schedule_id: 'str' =None, shared_filesystem: 'V1SharedFilesystem' =None, state: 'str' =None, statuses: 'list[V1PipelineStepStatus]' =None, steps: 'list[V1PipelineStep]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
81
+ def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, is_published: 'bool' =None, message: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, schedule_id: 'str' =None, shared_filesystem: 'V1SharedFilesystem' =None, state: 'V1PipelineState' =None, statuses: 'list[V1PipelineStepStatus]' =None, steps: 'list[V1PipelineStep]' =None, updated_at: 'datetime' =None, user_id: 'str' =None): # noqa: E501
82
82
  """PipelinesIdBody - a model defined in Swagger""" # noqa: E501
83
83
  self._cluster_id = None
84
84
  self._created_at = None
@@ -362,22 +362,22 @@ class PipelinesIdBody(object):
362
362
  self._shared_filesystem = shared_filesystem
363
363
 
364
364
  @property
365
- def state(self) -> 'str':
365
+ def state(self) -> 'V1PipelineState':
366
366
  """Gets the state of this PipelinesIdBody. # noqa: E501
367
367
 
368
368
 
369
369
  :return: The state of this PipelinesIdBody. # noqa: E501
370
- :rtype: str
370
+ :rtype: V1PipelineState
371
371
  """
372
372
  return self._state
373
373
 
374
374
  @state.setter
375
- def state(self, state: 'str'):
375
+ def state(self, state: 'V1PipelineState'):
376
376
  """Sets the state of this PipelinesIdBody.
377
377
 
378
378
 
379
379
  :param state: The state of this PipelinesIdBody. # noqa: E501
380
- :type: str
380
+ :type: V1PipelineState
381
381
  """
382
382
 
383
383
  self._state = state
@@ -41,23 +41,28 @@ class ProjectIdStorageBody(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
+ 'allow_multicloud': 'bool',
44
45
  'cluster_id': 'str',
45
46
  'count': 'str',
46
47
  'filename': 'str'
47
48
  }
48
49
 
49
50
  attribute_map = {
51
+ 'allow_multicloud': 'allowMulticloud',
50
52
  'cluster_id': 'clusterId',
51
53
  'count': 'count',
52
54
  'filename': 'filename'
53
55
  }
54
56
 
55
- def __init__(self, cluster_id: 'str' =None, count: 'str' =None, filename: 'str' =None): # noqa: E501
57
+ def __init__(self, allow_multicloud: 'bool' =None, cluster_id: 'str' =None, count: 'str' =None, filename: 'str' =None): # noqa: E501
56
58
  """ProjectIdStorageBody - a model defined in Swagger""" # noqa: E501
59
+ self._allow_multicloud = None
57
60
  self._cluster_id = None
58
61
  self._count = None
59
62
  self._filename = None
60
63
  self.discriminator = None
64
+ if allow_multicloud is not None:
65
+ self.allow_multicloud = allow_multicloud
61
66
  if cluster_id is not None:
62
67
  self.cluster_id = cluster_id
63
68
  if count is not None:
@@ -65,6 +70,27 @@ class ProjectIdStorageBody(object):
65
70
  if filename is not None:
66
71
  self.filename = filename
67
72
 
73
+ @property
74
+ def allow_multicloud(self) -> 'bool':
75
+ """Gets the allow_multicloud of this ProjectIdStorageBody. # noqa: E501
76
+
77
+
78
+ :return: The allow_multicloud of this ProjectIdStorageBody. # noqa: E501
79
+ :rtype: bool
80
+ """
81
+ return self._allow_multicloud
82
+
83
+ @allow_multicloud.setter
84
+ def allow_multicloud(self, allow_multicloud: 'bool'):
85
+ """Sets the allow_multicloud of this ProjectIdStorageBody.
86
+
87
+
88
+ :param allow_multicloud: The allow_multicloud of this ProjectIdStorageBody. # noqa: E501
89
+ :type: bool
90
+ """
91
+
92
+ self._allow_multicloud = allow_multicloud
93
+
68
94
  @property
69
95
  def cluster_id(self) -> 'str':
70
96
  """Gets the cluster_id of this ProjectIdStorageBody. # noqa: E501
@@ -42,10 +42,13 @@ class ProjectsIdBody(object):
42
42
  """
43
43
  swagger_types = {
44
44
  'allow_aws_saas': 'bool',
45
+ 'allow_dgx_saas': 'bool',
45
46
  'allow_external_project_duplication': 'bool',
46
47
  'allow_gcp_saas': 'bool',
47
48
  'allow_lambda_saas': 'bool',
49
+ 'allow_lightning_saas': 'bool',
48
50
  'allow_vultr_saas': 'bool',
51
+ 'auto_switch_machine': 'bool',
49
52
  'default_machine_type': 'str',
50
53
  'description': 'str',
51
54
  'display_name': 'str',
@@ -60,10 +63,13 @@ class ProjectsIdBody(object):
60
63
 
61
64
  attribute_map = {
62
65
  'allow_aws_saas': 'allowAwsSaas',
66
+ 'allow_dgx_saas': 'allowDgxSaas',
63
67
  'allow_external_project_duplication': 'allowExternalProjectDuplication',
64
68
  'allow_gcp_saas': 'allowGcpSaas',
65
69
  'allow_lambda_saas': 'allowLambdaSaas',
70
+ 'allow_lightning_saas': 'allowLightningSaas',
66
71
  'allow_vultr_saas': 'allowVultrSaas',
72
+ 'auto_switch_machine': 'autoSwitchMachine',
67
73
  'default_machine_type': 'defaultMachineType',
68
74
  'description': 'description',
69
75
  'display_name': 'displayName',
@@ -76,13 +82,16 @@ class ProjectsIdBody(object):
76
82
  'start_studio_on_spot_instance': 'startStudioOnSpotInstance'
77
83
  }
78
84
 
79
- def __init__(self, allow_aws_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, quotas: 'V1Quotas' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None): # noqa: E501
85
+ def __init__(self, allow_aws_saas: 'bool' =None, allow_dgx_saas: 'bool' =None, allow_external_project_duplication: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_lambda_saas: 'bool' =None, allow_lightning_saas: 'bool' =None, allow_vultr_saas: 'bool' =None, auto_switch_machine: 'bool' =None, default_machine_type: 'str' =None, description: 'str' =None, display_name: 'str' =None, name: 'str' =None, preferred_cluster: 'str' =None, preferred_deployment_provider: 'str' =None, preferred_studio_provider: 'str' =None, quotas: 'V1Quotas' =None, same_compute_on_resume: 'bool' =None, start_studio_on_spot_instance: 'bool' =None): # noqa: E501
80
86
  """ProjectsIdBody - a model defined in Swagger""" # noqa: E501
81
87
  self._allow_aws_saas = None
88
+ self._allow_dgx_saas = None
82
89
  self._allow_external_project_duplication = None
83
90
  self._allow_gcp_saas = None
84
91
  self._allow_lambda_saas = None
92
+ self._allow_lightning_saas = None
85
93
  self._allow_vultr_saas = None
94
+ self._auto_switch_machine = None
86
95
  self._default_machine_type = None
87
96
  self._description = None
88
97
  self._display_name = None
@@ -96,14 +105,20 @@ class ProjectsIdBody(object):
96
105
  self.discriminator = None
97
106
  if allow_aws_saas is not None:
98
107
  self.allow_aws_saas = allow_aws_saas
108
+ if allow_dgx_saas is not None:
109
+ self.allow_dgx_saas = allow_dgx_saas
99
110
  if allow_external_project_duplication is not None:
100
111
  self.allow_external_project_duplication = allow_external_project_duplication
101
112
  if allow_gcp_saas is not None:
102
113
  self.allow_gcp_saas = allow_gcp_saas
103
114
  if allow_lambda_saas is not None:
104
115
  self.allow_lambda_saas = allow_lambda_saas
116
+ if allow_lightning_saas is not None:
117
+ self.allow_lightning_saas = allow_lightning_saas
105
118
  if allow_vultr_saas is not None:
106
119
  self.allow_vultr_saas = allow_vultr_saas
120
+ if auto_switch_machine is not None:
121
+ self.auto_switch_machine = auto_switch_machine
107
122
  if default_machine_type is not None:
108
123
  self.default_machine_type = default_machine_type
109
124
  if description is not None:
@@ -146,6 +161,27 @@ class ProjectsIdBody(object):
146
161
 
147
162
  self._allow_aws_saas = allow_aws_saas
148
163
 
164
+ @property
165
+ def allow_dgx_saas(self) -> 'bool':
166
+ """Gets the allow_dgx_saas of this ProjectsIdBody. # noqa: E501
167
+
168
+
169
+ :return: The allow_dgx_saas of this ProjectsIdBody. # noqa: E501
170
+ :rtype: bool
171
+ """
172
+ return self._allow_dgx_saas
173
+
174
+ @allow_dgx_saas.setter
175
+ def allow_dgx_saas(self, allow_dgx_saas: 'bool'):
176
+ """Sets the allow_dgx_saas of this ProjectsIdBody.
177
+
178
+
179
+ :param allow_dgx_saas: The allow_dgx_saas of this ProjectsIdBody. # noqa: E501
180
+ :type: bool
181
+ """
182
+
183
+ self._allow_dgx_saas = allow_dgx_saas
184
+
149
185
  @property
150
186
  def allow_external_project_duplication(self) -> 'bool':
151
187
  """Gets the allow_external_project_duplication of this ProjectsIdBody. # noqa: E501
@@ -209,6 +245,27 @@ class ProjectsIdBody(object):
209
245
 
210
246
  self._allow_lambda_saas = allow_lambda_saas
211
247
 
248
+ @property
249
+ def allow_lightning_saas(self) -> 'bool':
250
+ """Gets the allow_lightning_saas of this ProjectsIdBody. # noqa: E501
251
+
252
+
253
+ :return: The allow_lightning_saas of this ProjectsIdBody. # noqa: E501
254
+ :rtype: bool
255
+ """
256
+ return self._allow_lightning_saas
257
+
258
+ @allow_lightning_saas.setter
259
+ def allow_lightning_saas(self, allow_lightning_saas: 'bool'):
260
+ """Sets the allow_lightning_saas of this ProjectsIdBody.
261
+
262
+
263
+ :param allow_lightning_saas: The allow_lightning_saas of this ProjectsIdBody. # noqa: E501
264
+ :type: bool
265
+ """
266
+
267
+ self._allow_lightning_saas = allow_lightning_saas
268
+
212
269
  @property
213
270
  def allow_vultr_saas(self) -> 'bool':
214
271
  """Gets the allow_vultr_saas of this ProjectsIdBody. # noqa: E501
@@ -230,6 +287,27 @@ class ProjectsIdBody(object):
230
287
 
231
288
  self._allow_vultr_saas = allow_vultr_saas
232
289
 
290
+ @property
291
+ def auto_switch_machine(self) -> 'bool':
292
+ """Gets the auto_switch_machine of this ProjectsIdBody. # noqa: E501
293
+
294
+
295
+ :return: The auto_switch_machine of this ProjectsIdBody. # noqa: E501
296
+ :rtype: bool
297
+ """
298
+ return self._auto_switch_machine
299
+
300
+ @auto_switch_machine.setter
301
+ def auto_switch_machine(self, auto_switch_machine: 'bool'):
302
+ """Sets the auto_switch_machine of this ProjectsIdBody.
303
+
304
+
305
+ :param auto_switch_machine: The auto_switch_machine of this ProjectsIdBody. # noqa: E501
306
+ :type: bool
307
+ """
308
+
309
+ self._auto_switch_machine = auto_switch_machine
310
+
233
311
  @property
234
312
  def default_machine_type(self) -> 'str':
235
313
  """Gets the default_machine_type of this ProjectsIdBody. # noqa: E501