lightning-sdk 0.2.8__py3-none-any.whl → 0.2.9__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.
- lightning_sdk/__init__.py +1 -1
- lightning_sdk/api/cluster_api.py +22 -0
- lightning_sdk/api/lit_container_api.py +5 -3
- lightning_sdk/api/teamspace_api.py +2 -1
- lightning_sdk/cli/clusters_menu.py +46 -0
- lightning_sdk/cli/list.py +25 -5
- lightning_sdk/cli/serve.py +102 -19
- lightning_sdk/lightning_cloud/openapi/__init__.py +5 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +206 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +5 -0
- lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_systemmetrics_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_billing_tier.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_cold_start_metrics.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_instance_system_metrics_aggregate_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_report_cloud_space_instance_system_metrics_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_server_alert_phase.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_system_metrics_aggregated.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +55 -185
- lightning_sdk/lightning_cloud/openapi/models/v1_weka_data_connection.py +227 -0
- lightning_sdk/lit_container.py +13 -5
- lightning_sdk/models.py +7 -2
- lightning_sdk/serve.py +0 -20
- lightning_sdk/teamspace.py +19 -4
- {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.9.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.9.dist-info}/RECORD +32 -25
- {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.9.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.9.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.9.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.8.dist-info → lightning_sdk-0.2.9.dist-info}/top_level.txt +0 -0
|
@@ -67,7 +67,6 @@ class V1UserFeatures(object):
|
|
|
67
67
|
'dgx_cloud': 'bool',
|
|
68
68
|
'docs_agent': 'bool',
|
|
69
69
|
'drive_v2': 'bool',
|
|
70
|
-
'enable_crypto_crackdown': 'bool',
|
|
71
70
|
'enable_storage_limits': 'bool',
|
|
72
71
|
'enterprise_compute_admin': 'bool',
|
|
73
72
|
'fair_share': 'bool',
|
|
@@ -79,7 +78,6 @@ class V1UserFeatures(object):
|
|
|
79
78
|
'lambda_labs': 'bool',
|
|
80
79
|
'landing_studios': 'bool',
|
|
81
80
|
'lit_logger': 'bool',
|
|
82
|
-
'manage_default_studio_machine': 'bool',
|
|
83
81
|
'marketplace': 'bool',
|
|
84
82
|
'mmt_fault_tolerance': 'bool',
|
|
85
83
|
'mmt_strategy_selector': 'bool',
|
|
@@ -92,14 +90,9 @@ class V1UserFeatures(object):
|
|
|
92
90
|
'plugin_inference': 'bool',
|
|
93
91
|
'plugin_label_studio': 'bool',
|
|
94
92
|
'plugin_langflow': 'bool',
|
|
95
|
-
'plugin_lightning_apps': 'bool',
|
|
96
|
-
'plugin_lightning_apps_distributed': 'bool',
|
|
97
|
-
'plugin_milvus': 'bool',
|
|
98
93
|
'plugin_python_profiler': 'bool',
|
|
99
|
-
'plugin_react': 'bool',
|
|
100
94
|
'plugin_service': 'bool',
|
|
101
95
|
'plugin_sweeps': 'bool',
|
|
102
|
-
'plugin_weviate': 'bool',
|
|
103
96
|
'pricing_updates': 'bool',
|
|
104
97
|
'product_generator': 'bool',
|
|
105
98
|
'project_selector': 'bool',
|
|
@@ -116,10 +109,12 @@ class V1UserFeatures(object):
|
|
|
116
109
|
'studio_on_stop': 'bool',
|
|
117
110
|
'studio_version_visibility': 'bool',
|
|
118
111
|
'studios_dashboard': 'bool',
|
|
112
|
+
'studios_dashboard_system_metrics': 'bool',
|
|
119
113
|
'teamspace_storage_tab': 'bool',
|
|
120
114
|
'trainium2': 'bool',
|
|
121
115
|
'use_rclone_mounts_only': 'bool',
|
|
122
|
-
'vultr': 'bool'
|
|
116
|
+
'vultr': 'bool',
|
|
117
|
+
'weka': 'bool'
|
|
123
118
|
}
|
|
124
119
|
|
|
125
120
|
attribute_map = {
|
|
@@ -149,7 +144,6 @@ class V1UserFeatures(object):
|
|
|
149
144
|
'dgx_cloud': 'dgxCloud',
|
|
150
145
|
'docs_agent': 'docsAgent',
|
|
151
146
|
'drive_v2': 'driveV2',
|
|
152
|
-
'enable_crypto_crackdown': 'enableCryptoCrackdown',
|
|
153
147
|
'enable_storage_limits': 'enableStorageLimits',
|
|
154
148
|
'enterprise_compute_admin': 'enterpriseComputeAdmin',
|
|
155
149
|
'fair_share': 'fairShare',
|
|
@@ -161,7 +155,6 @@ class V1UserFeatures(object):
|
|
|
161
155
|
'lambda_labs': 'lambdaLabs',
|
|
162
156
|
'landing_studios': 'landingStudios',
|
|
163
157
|
'lit_logger': 'litLogger',
|
|
164
|
-
'manage_default_studio_machine': 'manageDefaultStudioMachine',
|
|
165
158
|
'marketplace': 'marketplace',
|
|
166
159
|
'mmt_fault_tolerance': 'mmtFaultTolerance',
|
|
167
160
|
'mmt_strategy_selector': 'mmtStrategySelector',
|
|
@@ -174,14 +167,9 @@ class V1UserFeatures(object):
|
|
|
174
167
|
'plugin_inference': 'pluginInference',
|
|
175
168
|
'plugin_label_studio': 'pluginLabelStudio',
|
|
176
169
|
'plugin_langflow': 'pluginLangflow',
|
|
177
|
-
'plugin_lightning_apps': 'pluginLightningApps',
|
|
178
|
-
'plugin_lightning_apps_distributed': 'pluginLightningAppsDistributed',
|
|
179
|
-
'plugin_milvus': 'pluginMilvus',
|
|
180
170
|
'plugin_python_profiler': 'pluginPythonProfiler',
|
|
181
|
-
'plugin_react': 'pluginReact',
|
|
182
171
|
'plugin_service': 'pluginService',
|
|
183
172
|
'plugin_sweeps': 'pluginSweeps',
|
|
184
|
-
'plugin_weviate': 'pluginWeviate',
|
|
185
173
|
'pricing_updates': 'pricingUpdates',
|
|
186
174
|
'product_generator': 'productGenerator',
|
|
187
175
|
'project_selector': 'projectSelector',
|
|
@@ -198,13 +186,15 @@ class V1UserFeatures(object):
|
|
|
198
186
|
'studio_on_stop': 'studioOnStop',
|
|
199
187
|
'studio_version_visibility': 'studioVersionVisibility',
|
|
200
188
|
'studios_dashboard': 'studiosDashboard',
|
|
189
|
+
'studios_dashboard_system_metrics': 'studiosDashboardSystemMetrics',
|
|
201
190
|
'teamspace_storage_tab': 'teamspaceStorageTab',
|
|
202
191
|
'trainium2': 'trainium2',
|
|
203
192
|
'use_rclone_mounts_only': 'useRcloneMountsOnly',
|
|
204
|
-
'vultr': 'vultr'
|
|
193
|
+
'vultr': 'vultr',
|
|
194
|
+
'weka': 'weka'
|
|
205
195
|
}
|
|
206
196
|
|
|
207
|
-
def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, b2c_experience: 'bool' =None, byoc_litcr: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloud_space_environment_templates: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_reservations: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None,
|
|
197
|
+
def __init__(self, affiliate_links: 'bool' =None, agents_v2: 'bool' =None, ai_hub_monetization: 'bool' =None, auto_fast_load: 'bool' =None, auto_join_orgs: 'bool' =None, b2c_experience: 'bool' =None, byoc_litcr: 'bool' =None, cap_add: 'list[str]' =None, cap_drop: 'list[str]' =None, capacity_reservation_byoc: 'bool' =None, capacity_reservation_dry_run: 'bool' =None, chat_models: 'bool' =None, cloud_space_environment_templates: 'bool' =None, code_tab: 'bool' =None, collab_screen_sharing: 'bool' =None, cost_attribution_settings: 'bool' =None, custom_app_domain: 'bool' =None, custom_instance_types: 'bool' =None, datasets: 'bool' =None, default_one_cluster: 'bool' =None, deployment_alerts: 'bool' =None, deployment_persistent_disk: 'bool' =None, deployment_reservations: 'bool' =None, dgx_cloud: 'bool' =None, docs_agent: 'bool' =None, drive_v2: 'bool' =None, enable_storage_limits: 'bool' =None, enterprise_compute_admin: 'bool' =None, fair_share: 'bool' =None, featured_studios_admin: 'bool' =None, filestore: 'bool' =None, inactive_notify_delete: 'bool' =None, instant_capacity_reservation: 'bool' =None, job_artifacts_v2: 'bool' =None, lambda_labs: 'bool' =None, landing_studios: 'bool' =None, lit_logger: 'bool' =None, marketplace: 'bool' =None, mmt_fault_tolerance: 'bool' =None, mmt_strategy_selector: 'bool' =None, multicloud_saas: 'bool' =None, multiple_studio_versions: 'bool' =None, org_admin_alerts: 'bool' =None, org_level_member_permissions: 'bool' =None, pipelines: 'bool' =None, plugin_distributed: 'bool' =None, plugin_inference: 'bool' =None, plugin_label_studio: 'bool' =None, plugin_langflow: 'bool' =None, plugin_python_profiler: 'bool' =None, plugin_service: 'bool' =None, plugin_sweeps: 'bool' =None, pricing_updates: 'bool' =None, product_generator: 'bool' =None, project_selector: 'bool' =None, publish_pipelines: 'bool' =None, restartable_jobs: 'bool' =None, runnable_public_studio_page: 'bool' =None, security_docs: 'bool' =None, show_dev_admin: 'bool' =None, single_wallet: 'bool' =None, slurm: 'bool' =None, slurm_machine_selector: 'bool' =None, stop_ide_container_on_shutdown: 'bool' =None, studio_config: 'bool' =None, studio_on_stop: 'bool' =None, studio_version_visibility: 'bool' =None, studios_dashboard: 'bool' =None, studios_dashboard_system_metrics: 'bool' =None, teamspace_storage_tab: 'bool' =None, trainium2: 'bool' =None, use_rclone_mounts_only: 'bool' =None, vultr: 'bool' =None, weka: 'bool' =None): # noqa: E501
|
|
208
198
|
"""V1UserFeatures - a model defined in Swagger""" # noqa: E501
|
|
209
199
|
self._affiliate_links = None
|
|
210
200
|
self._agents_v2 = None
|
|
@@ -232,7 +222,6 @@ class V1UserFeatures(object):
|
|
|
232
222
|
self._dgx_cloud = None
|
|
233
223
|
self._docs_agent = None
|
|
234
224
|
self._drive_v2 = None
|
|
235
|
-
self._enable_crypto_crackdown = None
|
|
236
225
|
self._enable_storage_limits = None
|
|
237
226
|
self._enterprise_compute_admin = None
|
|
238
227
|
self._fair_share = None
|
|
@@ -244,7 +233,6 @@ class V1UserFeatures(object):
|
|
|
244
233
|
self._lambda_labs = None
|
|
245
234
|
self._landing_studios = None
|
|
246
235
|
self._lit_logger = None
|
|
247
|
-
self._manage_default_studio_machine = None
|
|
248
236
|
self._marketplace = None
|
|
249
237
|
self._mmt_fault_tolerance = None
|
|
250
238
|
self._mmt_strategy_selector = None
|
|
@@ -257,14 +245,9 @@ class V1UserFeatures(object):
|
|
|
257
245
|
self._plugin_inference = None
|
|
258
246
|
self._plugin_label_studio = None
|
|
259
247
|
self._plugin_langflow = None
|
|
260
|
-
self._plugin_lightning_apps = None
|
|
261
|
-
self._plugin_lightning_apps_distributed = None
|
|
262
|
-
self._plugin_milvus = None
|
|
263
248
|
self._plugin_python_profiler = None
|
|
264
|
-
self._plugin_react = None
|
|
265
249
|
self._plugin_service = None
|
|
266
250
|
self._plugin_sweeps = None
|
|
267
|
-
self._plugin_weviate = None
|
|
268
251
|
self._pricing_updates = None
|
|
269
252
|
self._product_generator = None
|
|
270
253
|
self._project_selector = None
|
|
@@ -281,10 +264,12 @@ class V1UserFeatures(object):
|
|
|
281
264
|
self._studio_on_stop = None
|
|
282
265
|
self._studio_version_visibility = None
|
|
283
266
|
self._studios_dashboard = None
|
|
267
|
+
self._studios_dashboard_system_metrics = None
|
|
284
268
|
self._teamspace_storage_tab = None
|
|
285
269
|
self._trainium2 = None
|
|
286
270
|
self._use_rclone_mounts_only = None
|
|
287
271
|
self._vultr = None
|
|
272
|
+
self._weka = None
|
|
288
273
|
self.discriminator = None
|
|
289
274
|
if affiliate_links is not None:
|
|
290
275
|
self.affiliate_links = affiliate_links
|
|
@@ -338,8 +323,6 @@ class V1UserFeatures(object):
|
|
|
338
323
|
self.docs_agent = docs_agent
|
|
339
324
|
if drive_v2 is not None:
|
|
340
325
|
self.drive_v2 = drive_v2
|
|
341
|
-
if enable_crypto_crackdown is not None:
|
|
342
|
-
self.enable_crypto_crackdown = enable_crypto_crackdown
|
|
343
326
|
if enable_storage_limits is not None:
|
|
344
327
|
self.enable_storage_limits = enable_storage_limits
|
|
345
328
|
if enterprise_compute_admin is not None:
|
|
@@ -362,8 +345,6 @@ class V1UserFeatures(object):
|
|
|
362
345
|
self.landing_studios = landing_studios
|
|
363
346
|
if lit_logger is not None:
|
|
364
347
|
self.lit_logger = lit_logger
|
|
365
|
-
if manage_default_studio_machine is not None:
|
|
366
|
-
self.manage_default_studio_machine = manage_default_studio_machine
|
|
367
348
|
if marketplace is not None:
|
|
368
349
|
self.marketplace = marketplace
|
|
369
350
|
if mmt_fault_tolerance is not None:
|
|
@@ -388,22 +369,12 @@ class V1UserFeatures(object):
|
|
|
388
369
|
self.plugin_label_studio = plugin_label_studio
|
|
389
370
|
if plugin_langflow is not None:
|
|
390
371
|
self.plugin_langflow = plugin_langflow
|
|
391
|
-
if plugin_lightning_apps is not None:
|
|
392
|
-
self.plugin_lightning_apps = plugin_lightning_apps
|
|
393
|
-
if plugin_lightning_apps_distributed is not None:
|
|
394
|
-
self.plugin_lightning_apps_distributed = plugin_lightning_apps_distributed
|
|
395
|
-
if plugin_milvus is not None:
|
|
396
|
-
self.plugin_milvus = plugin_milvus
|
|
397
372
|
if plugin_python_profiler is not None:
|
|
398
373
|
self.plugin_python_profiler = plugin_python_profiler
|
|
399
|
-
if plugin_react is not None:
|
|
400
|
-
self.plugin_react = plugin_react
|
|
401
374
|
if plugin_service is not None:
|
|
402
375
|
self.plugin_service = plugin_service
|
|
403
376
|
if plugin_sweeps is not None:
|
|
404
377
|
self.plugin_sweeps = plugin_sweeps
|
|
405
|
-
if plugin_weviate is not None:
|
|
406
|
-
self.plugin_weviate = plugin_weviate
|
|
407
378
|
if pricing_updates is not None:
|
|
408
379
|
self.pricing_updates = pricing_updates
|
|
409
380
|
if product_generator is not None:
|
|
@@ -436,6 +407,8 @@ class V1UserFeatures(object):
|
|
|
436
407
|
self.studio_version_visibility = studio_version_visibility
|
|
437
408
|
if studios_dashboard is not None:
|
|
438
409
|
self.studios_dashboard = studios_dashboard
|
|
410
|
+
if studios_dashboard_system_metrics is not None:
|
|
411
|
+
self.studios_dashboard_system_metrics = studios_dashboard_system_metrics
|
|
439
412
|
if teamspace_storage_tab is not None:
|
|
440
413
|
self.teamspace_storage_tab = teamspace_storage_tab
|
|
441
414
|
if trainium2 is not None:
|
|
@@ -444,6 +417,8 @@ class V1UserFeatures(object):
|
|
|
444
417
|
self.use_rclone_mounts_only = use_rclone_mounts_only
|
|
445
418
|
if vultr is not None:
|
|
446
419
|
self.vultr = vultr
|
|
420
|
+
if weka is not None:
|
|
421
|
+
self.weka = weka
|
|
447
422
|
|
|
448
423
|
@property
|
|
449
424
|
def affiliate_links(self) -> 'bool':
|
|
@@ -991,27 +966,6 @@ class V1UserFeatures(object):
|
|
|
991
966
|
|
|
992
967
|
self._drive_v2 = drive_v2
|
|
993
968
|
|
|
994
|
-
@property
|
|
995
|
-
def enable_crypto_crackdown(self) -> 'bool':
|
|
996
|
-
"""Gets the enable_crypto_crackdown of this V1UserFeatures. # noqa: E501
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
:return: The enable_crypto_crackdown of this V1UserFeatures. # noqa: E501
|
|
1000
|
-
:rtype: bool
|
|
1001
|
-
"""
|
|
1002
|
-
return self._enable_crypto_crackdown
|
|
1003
|
-
|
|
1004
|
-
@enable_crypto_crackdown.setter
|
|
1005
|
-
def enable_crypto_crackdown(self, enable_crypto_crackdown: 'bool'):
|
|
1006
|
-
"""Sets the enable_crypto_crackdown of this V1UserFeatures.
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
:param enable_crypto_crackdown: The enable_crypto_crackdown of this V1UserFeatures. # noqa: E501
|
|
1010
|
-
:type: bool
|
|
1011
|
-
"""
|
|
1012
|
-
|
|
1013
|
-
self._enable_crypto_crackdown = enable_crypto_crackdown
|
|
1014
|
-
|
|
1015
969
|
@property
|
|
1016
970
|
def enable_storage_limits(self) -> 'bool':
|
|
1017
971
|
"""Gets the enable_storage_limits of this V1UserFeatures. # noqa: E501
|
|
@@ -1243,27 +1197,6 @@ class V1UserFeatures(object):
|
|
|
1243
1197
|
|
|
1244
1198
|
self._lit_logger = lit_logger
|
|
1245
1199
|
|
|
1246
|
-
@property
|
|
1247
|
-
def manage_default_studio_machine(self) -> 'bool':
|
|
1248
|
-
"""Gets the manage_default_studio_machine of this V1UserFeatures. # noqa: E501
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
:return: The manage_default_studio_machine of this V1UserFeatures. # noqa: E501
|
|
1252
|
-
:rtype: bool
|
|
1253
|
-
"""
|
|
1254
|
-
return self._manage_default_studio_machine
|
|
1255
|
-
|
|
1256
|
-
@manage_default_studio_machine.setter
|
|
1257
|
-
def manage_default_studio_machine(self, manage_default_studio_machine: 'bool'):
|
|
1258
|
-
"""Sets the manage_default_studio_machine of this V1UserFeatures.
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
:param manage_default_studio_machine: The manage_default_studio_machine of this V1UserFeatures. # noqa: E501
|
|
1262
|
-
:type: bool
|
|
1263
|
-
"""
|
|
1264
|
-
|
|
1265
|
-
self._manage_default_studio_machine = manage_default_studio_machine
|
|
1266
|
-
|
|
1267
1200
|
@property
|
|
1268
1201
|
def marketplace(self) -> 'bool':
|
|
1269
1202
|
"""Gets the marketplace of this V1UserFeatures. # noqa: E501
|
|
@@ -1516,69 +1449,6 @@ class V1UserFeatures(object):
|
|
|
1516
1449
|
|
|
1517
1450
|
self._plugin_langflow = plugin_langflow
|
|
1518
1451
|
|
|
1519
|
-
@property
|
|
1520
|
-
def plugin_lightning_apps(self) -> 'bool':
|
|
1521
|
-
"""Gets the plugin_lightning_apps of this V1UserFeatures. # noqa: E501
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
:return: The plugin_lightning_apps of this V1UserFeatures. # noqa: E501
|
|
1525
|
-
:rtype: bool
|
|
1526
|
-
"""
|
|
1527
|
-
return self._plugin_lightning_apps
|
|
1528
|
-
|
|
1529
|
-
@plugin_lightning_apps.setter
|
|
1530
|
-
def plugin_lightning_apps(self, plugin_lightning_apps: 'bool'):
|
|
1531
|
-
"""Sets the plugin_lightning_apps of this V1UserFeatures.
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
:param plugin_lightning_apps: The plugin_lightning_apps of this V1UserFeatures. # noqa: E501
|
|
1535
|
-
:type: bool
|
|
1536
|
-
"""
|
|
1537
|
-
|
|
1538
|
-
self._plugin_lightning_apps = plugin_lightning_apps
|
|
1539
|
-
|
|
1540
|
-
@property
|
|
1541
|
-
def plugin_lightning_apps_distributed(self) -> 'bool':
|
|
1542
|
-
"""Gets the plugin_lightning_apps_distributed of this V1UserFeatures. # noqa: E501
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
:return: The plugin_lightning_apps_distributed of this V1UserFeatures. # noqa: E501
|
|
1546
|
-
:rtype: bool
|
|
1547
|
-
"""
|
|
1548
|
-
return self._plugin_lightning_apps_distributed
|
|
1549
|
-
|
|
1550
|
-
@plugin_lightning_apps_distributed.setter
|
|
1551
|
-
def plugin_lightning_apps_distributed(self, plugin_lightning_apps_distributed: 'bool'):
|
|
1552
|
-
"""Sets the plugin_lightning_apps_distributed of this V1UserFeatures.
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
:param plugin_lightning_apps_distributed: The plugin_lightning_apps_distributed of this V1UserFeatures. # noqa: E501
|
|
1556
|
-
:type: bool
|
|
1557
|
-
"""
|
|
1558
|
-
|
|
1559
|
-
self._plugin_lightning_apps_distributed = plugin_lightning_apps_distributed
|
|
1560
|
-
|
|
1561
|
-
@property
|
|
1562
|
-
def plugin_milvus(self) -> 'bool':
|
|
1563
|
-
"""Gets the plugin_milvus of this V1UserFeatures. # noqa: E501
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
:return: The plugin_milvus of this V1UserFeatures. # noqa: E501
|
|
1567
|
-
:rtype: bool
|
|
1568
|
-
"""
|
|
1569
|
-
return self._plugin_milvus
|
|
1570
|
-
|
|
1571
|
-
@plugin_milvus.setter
|
|
1572
|
-
def plugin_milvus(self, plugin_milvus: 'bool'):
|
|
1573
|
-
"""Sets the plugin_milvus of this V1UserFeatures.
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
:param plugin_milvus: The plugin_milvus of this V1UserFeatures. # noqa: E501
|
|
1577
|
-
:type: bool
|
|
1578
|
-
"""
|
|
1579
|
-
|
|
1580
|
-
self._plugin_milvus = plugin_milvus
|
|
1581
|
-
|
|
1582
1452
|
@property
|
|
1583
1453
|
def plugin_python_profiler(self) -> 'bool':
|
|
1584
1454
|
"""Gets the plugin_python_profiler of this V1UserFeatures. # noqa: E501
|
|
@@ -1600,27 +1470,6 @@ class V1UserFeatures(object):
|
|
|
1600
1470
|
|
|
1601
1471
|
self._plugin_python_profiler = plugin_python_profiler
|
|
1602
1472
|
|
|
1603
|
-
@property
|
|
1604
|
-
def plugin_react(self) -> 'bool':
|
|
1605
|
-
"""Gets the plugin_react of this V1UserFeatures. # noqa: E501
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
:return: The plugin_react of this V1UserFeatures. # noqa: E501
|
|
1609
|
-
:rtype: bool
|
|
1610
|
-
"""
|
|
1611
|
-
return self._plugin_react
|
|
1612
|
-
|
|
1613
|
-
@plugin_react.setter
|
|
1614
|
-
def plugin_react(self, plugin_react: 'bool'):
|
|
1615
|
-
"""Sets the plugin_react of this V1UserFeatures.
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
:param plugin_react: The plugin_react of this V1UserFeatures. # noqa: E501
|
|
1619
|
-
:type: bool
|
|
1620
|
-
"""
|
|
1621
|
-
|
|
1622
|
-
self._plugin_react = plugin_react
|
|
1623
|
-
|
|
1624
1473
|
@property
|
|
1625
1474
|
def plugin_service(self) -> 'bool':
|
|
1626
1475
|
"""Gets the plugin_service of this V1UserFeatures. # noqa: E501
|
|
@@ -1663,27 +1512,6 @@ class V1UserFeatures(object):
|
|
|
1663
1512
|
|
|
1664
1513
|
self._plugin_sweeps = plugin_sweeps
|
|
1665
1514
|
|
|
1666
|
-
@property
|
|
1667
|
-
def plugin_weviate(self) -> 'bool':
|
|
1668
|
-
"""Gets the plugin_weviate of this V1UserFeatures. # noqa: E501
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
:return: The plugin_weviate of this V1UserFeatures. # noqa: E501
|
|
1672
|
-
:rtype: bool
|
|
1673
|
-
"""
|
|
1674
|
-
return self._plugin_weviate
|
|
1675
|
-
|
|
1676
|
-
@plugin_weviate.setter
|
|
1677
|
-
def plugin_weviate(self, plugin_weviate: 'bool'):
|
|
1678
|
-
"""Sets the plugin_weviate of this V1UserFeatures.
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
:param plugin_weviate: The plugin_weviate of this V1UserFeatures. # noqa: E501
|
|
1682
|
-
:type: bool
|
|
1683
|
-
"""
|
|
1684
|
-
|
|
1685
|
-
self._plugin_weviate = plugin_weviate
|
|
1686
|
-
|
|
1687
1515
|
@property
|
|
1688
1516
|
def pricing_updates(self) -> 'bool':
|
|
1689
1517
|
"""Gets the pricing_updates of this V1UserFeatures. # noqa: E501
|
|
@@ -2020,6 +1848,27 @@ class V1UserFeatures(object):
|
|
|
2020
1848
|
|
|
2021
1849
|
self._studios_dashboard = studios_dashboard
|
|
2022
1850
|
|
|
1851
|
+
@property
|
|
1852
|
+
def studios_dashboard_system_metrics(self) -> 'bool':
|
|
1853
|
+
"""Gets the studios_dashboard_system_metrics of this V1UserFeatures. # noqa: E501
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
:return: The studios_dashboard_system_metrics of this V1UserFeatures. # noqa: E501
|
|
1857
|
+
:rtype: bool
|
|
1858
|
+
"""
|
|
1859
|
+
return self._studios_dashboard_system_metrics
|
|
1860
|
+
|
|
1861
|
+
@studios_dashboard_system_metrics.setter
|
|
1862
|
+
def studios_dashboard_system_metrics(self, studios_dashboard_system_metrics: 'bool'):
|
|
1863
|
+
"""Sets the studios_dashboard_system_metrics of this V1UserFeatures.
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
:param studios_dashboard_system_metrics: The studios_dashboard_system_metrics of this V1UserFeatures. # noqa: E501
|
|
1867
|
+
:type: bool
|
|
1868
|
+
"""
|
|
1869
|
+
|
|
1870
|
+
self._studios_dashboard_system_metrics = studios_dashboard_system_metrics
|
|
1871
|
+
|
|
2023
1872
|
@property
|
|
2024
1873
|
def teamspace_storage_tab(self) -> 'bool':
|
|
2025
1874
|
"""Gets the teamspace_storage_tab of this V1UserFeatures. # noqa: E501
|
|
@@ -2104,6 +1953,27 @@ class V1UserFeatures(object):
|
|
|
2104
1953
|
|
|
2105
1954
|
self._vultr = vultr
|
|
2106
1955
|
|
|
1956
|
+
@property
|
|
1957
|
+
def weka(self) -> 'bool':
|
|
1958
|
+
"""Gets the weka of this V1UserFeatures. # noqa: E501
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
:return: The weka of this V1UserFeatures. # noqa: E501
|
|
1962
|
+
:rtype: bool
|
|
1963
|
+
"""
|
|
1964
|
+
return self._weka
|
|
1965
|
+
|
|
1966
|
+
@weka.setter
|
|
1967
|
+
def weka(self, weka: 'bool'):
|
|
1968
|
+
"""Sets the weka of this V1UserFeatures.
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
:param weka: The weka of this V1UserFeatures. # noqa: E501
|
|
1972
|
+
:type: bool
|
|
1973
|
+
"""
|
|
1974
|
+
|
|
1975
|
+
self._weka = weka
|
|
1976
|
+
|
|
2107
1977
|
def to_dict(self) -> dict:
|
|
2108
1978
|
"""Returns the model properties as a dict"""
|
|
2109
1979
|
result = {}
|
|
@@ -0,0 +1,227 @@
|
|
|
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 V1WekaDataConnection(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
|
+
'backend_ips': 'list[str]',
|
|
45
|
+
'cores': 'int',
|
|
46
|
+
'file_system_name': 'str',
|
|
47
|
+
'management_ip': 'str',
|
|
48
|
+
'memory_mb': 'int'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
attribute_map = {
|
|
52
|
+
'backend_ips': 'backendIps',
|
|
53
|
+
'cores': 'cores',
|
|
54
|
+
'file_system_name': 'fileSystemName',
|
|
55
|
+
'management_ip': 'managementIp',
|
|
56
|
+
'memory_mb': 'memoryMb'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, backend_ips: 'list[str]' =None, cores: 'int' =None, file_system_name: 'str' =None, management_ip: 'str' =None, memory_mb: 'int' =None): # noqa: E501
|
|
60
|
+
"""V1WekaDataConnection - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
self._backend_ips = None
|
|
62
|
+
self._cores = None
|
|
63
|
+
self._file_system_name = None
|
|
64
|
+
self._management_ip = None
|
|
65
|
+
self._memory_mb = None
|
|
66
|
+
self.discriminator = None
|
|
67
|
+
if backend_ips is not None:
|
|
68
|
+
self.backend_ips = backend_ips
|
|
69
|
+
if cores is not None:
|
|
70
|
+
self.cores = cores
|
|
71
|
+
if file_system_name is not None:
|
|
72
|
+
self.file_system_name = file_system_name
|
|
73
|
+
if management_ip is not None:
|
|
74
|
+
self.management_ip = management_ip
|
|
75
|
+
if memory_mb is not None:
|
|
76
|
+
self.memory_mb = memory_mb
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def backend_ips(self) -> 'list[str]':
|
|
80
|
+
"""Gets the backend_ips of this V1WekaDataConnection. # noqa: E501
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:return: The backend_ips of this V1WekaDataConnection. # noqa: E501
|
|
84
|
+
:rtype: list[str]
|
|
85
|
+
"""
|
|
86
|
+
return self._backend_ips
|
|
87
|
+
|
|
88
|
+
@backend_ips.setter
|
|
89
|
+
def backend_ips(self, backend_ips: 'list[str]'):
|
|
90
|
+
"""Sets the backend_ips of this V1WekaDataConnection.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param backend_ips: The backend_ips of this V1WekaDataConnection. # noqa: E501
|
|
94
|
+
:type: list[str]
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
self._backend_ips = backend_ips
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def cores(self) -> 'int':
|
|
101
|
+
"""Gets the cores of this V1WekaDataConnection. # noqa: E501
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:return: The cores of this V1WekaDataConnection. # noqa: E501
|
|
105
|
+
:rtype: int
|
|
106
|
+
"""
|
|
107
|
+
return self._cores
|
|
108
|
+
|
|
109
|
+
@cores.setter
|
|
110
|
+
def cores(self, cores: 'int'):
|
|
111
|
+
"""Sets the cores of this V1WekaDataConnection.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
:param cores: The cores of this V1WekaDataConnection. # noqa: E501
|
|
115
|
+
:type: int
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
self._cores = cores
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def file_system_name(self) -> 'str':
|
|
122
|
+
"""Gets the file_system_name of this V1WekaDataConnection. # noqa: E501
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:return: The file_system_name of this V1WekaDataConnection. # noqa: E501
|
|
126
|
+
:rtype: str
|
|
127
|
+
"""
|
|
128
|
+
return self._file_system_name
|
|
129
|
+
|
|
130
|
+
@file_system_name.setter
|
|
131
|
+
def file_system_name(self, file_system_name: 'str'):
|
|
132
|
+
"""Sets the file_system_name of this V1WekaDataConnection.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param file_system_name: The file_system_name of this V1WekaDataConnection. # noqa: E501
|
|
136
|
+
:type: str
|
|
137
|
+
"""
|
|
138
|
+
|
|
139
|
+
self._file_system_name = file_system_name
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
def management_ip(self) -> 'str':
|
|
143
|
+
"""Gets the management_ip of this V1WekaDataConnection. # noqa: E501
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
:return: The management_ip of this V1WekaDataConnection. # noqa: E501
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._management_ip
|
|
150
|
+
|
|
151
|
+
@management_ip.setter
|
|
152
|
+
def management_ip(self, management_ip: 'str'):
|
|
153
|
+
"""Sets the management_ip of this V1WekaDataConnection.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param management_ip: The management_ip of this V1WekaDataConnection. # noqa: E501
|
|
157
|
+
:type: str
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
self._management_ip = management_ip
|
|
161
|
+
|
|
162
|
+
@property
|
|
163
|
+
def memory_mb(self) -> 'int':
|
|
164
|
+
"""Gets the memory_mb of this V1WekaDataConnection. # noqa: E501
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
:return: The memory_mb of this V1WekaDataConnection. # noqa: E501
|
|
168
|
+
:rtype: int
|
|
169
|
+
"""
|
|
170
|
+
return self._memory_mb
|
|
171
|
+
|
|
172
|
+
@memory_mb.setter
|
|
173
|
+
def memory_mb(self, memory_mb: 'int'):
|
|
174
|
+
"""Sets the memory_mb of this V1WekaDataConnection.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
:param memory_mb: The memory_mb of this V1WekaDataConnection. # noqa: E501
|
|
178
|
+
:type: int
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
self._memory_mb = memory_mb
|
|
182
|
+
|
|
183
|
+
def to_dict(self) -> dict:
|
|
184
|
+
"""Returns the model properties as a dict"""
|
|
185
|
+
result = {}
|
|
186
|
+
|
|
187
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
188
|
+
value = getattr(self, attr)
|
|
189
|
+
if isinstance(value, list):
|
|
190
|
+
result[attr] = list(map(
|
|
191
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
192
|
+
value
|
|
193
|
+
))
|
|
194
|
+
elif hasattr(value, "to_dict"):
|
|
195
|
+
result[attr] = value.to_dict()
|
|
196
|
+
elif isinstance(value, dict):
|
|
197
|
+
result[attr] = dict(map(
|
|
198
|
+
lambda item: (item[0], item[1].to_dict())
|
|
199
|
+
if hasattr(item[1], "to_dict") else item,
|
|
200
|
+
value.items()
|
|
201
|
+
))
|
|
202
|
+
else:
|
|
203
|
+
result[attr] = value
|
|
204
|
+
if issubclass(V1WekaDataConnection, dict):
|
|
205
|
+
for key, value in self.items():
|
|
206
|
+
result[key] = value
|
|
207
|
+
|
|
208
|
+
return result
|
|
209
|
+
|
|
210
|
+
def to_str(self) -> str:
|
|
211
|
+
"""Returns the string representation of the model"""
|
|
212
|
+
return pprint.pformat(self.to_dict())
|
|
213
|
+
|
|
214
|
+
def __repr__(self) -> str:
|
|
215
|
+
"""For `print` and `pprint`"""
|
|
216
|
+
return self.to_str()
|
|
217
|
+
|
|
218
|
+
def __eq__(self, other: 'V1WekaDataConnection') -> bool:
|
|
219
|
+
"""Returns true if both objects are equal"""
|
|
220
|
+
if not isinstance(other, V1WekaDataConnection):
|
|
221
|
+
return False
|
|
222
|
+
|
|
223
|
+
return self.__dict__ == other.__dict__
|
|
224
|
+
|
|
225
|
+
def __ne__(self, other: 'V1WekaDataConnection') -> bool:
|
|
226
|
+
"""Returns true if both objects are not equal"""
|
|
227
|
+
return not self == other
|