lightning-sdk 0.2.3__py3-none-any.whl → 0.2.5__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/ai_hub.py +10 -17
- lightning_sdk/api/ai_hub_api.py +20 -3
- lightning_sdk/api/studio_api.py +0 -8
- lightning_sdk/cli/serve.py +139 -22
- lightning_sdk/deployment/deployment.py +32 -4
- lightning_sdk/lightning_cloud/openapi/__init__.py +49 -1
- lightning_sdk/lightning_cloud/openapi/api/__init__.py +4 -0
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_environment_template_service_api.py +537 -0
- lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +10 -6
- lightning_sdk/lightning_cloud/openapi/api/lit_dataset_service_api.py +1973 -0
- lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +20 -20
- lightning_sdk/lightning_cloud/openapi/api/pipeline_templates_service_api.py +339 -0
- lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +5 -1
- lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +573 -0
- lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +202 -0
- lightning_sdk/lightning_cloud/openapi/models/__init__.py +45 -1
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/cluster_id_slurmusers_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_versions_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/dataset_id_visibility_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/environmenttemplates_id_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +69 -69
- lightning_sdk/lightning_cloud/openapi/models/litdatasets_dataset_id_body.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +69 -17
- lightning_sdk/lightning_cloud/openapi/models/pipelinetemplates_id_body.py +331 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_litdatasets_body.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +17 -17
- lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +201 -0
- lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +15 -15
- lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +124 -20
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +2 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_environment_template.py +253 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_multi_part_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_complete_lit_dataset_upload_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_cloud_space_environment_template_request.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_lit_dataset_multi_part_upload_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_create_pipeline_template_request.py +383 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/{v1_pipeline_schedule.py → v1_delete_cloud_space_environment_template_response.py} +32 -32
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_dataset_version_response.py +97 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_delete_schedule_response.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_cloud_space_size_response.py +79 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_file_upload_urls_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_lit_dataset_files_url_response.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +79 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_environment_templates_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_dataset_versions_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_lit_datasets_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_schedules_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_list_slurm_cluster_users_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset.py +539 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_file.py +175 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_dataset_version_archive.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +107 -3
- lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +69 -17
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_placement_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_parameter_type.py +106 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template.py +513 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_pipeline_template_visibility_type.py +105 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +435 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_schedule_resource_type.py +103 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_cluster_user.py +227 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +58 -6
- lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +31 -291
- lightning_sdk/lightning_cloud/openapi/models/v1_update_lit_dataset_visibility_response.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +157 -105
- lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_voltage_park_direct_v1.py +203 -0
- lightning_sdk/lightning_cloud/openapi/models/version_default_body.py +29 -29
- lightning_sdk/lightning_cloud/openapi/models/version_default_body1.py +149 -0
- lightning_sdk/lightning_cloud/openapi/models/version_uploads_body1.py +123 -0
- lightning_sdk/lightning_cloud/openapi/models/versions_version_body1.py +123 -0
- lightning_sdk/lightning_cloud/rest_client.py +2 -0
- lightning_sdk/lit_container.py +8 -1
- lightning_sdk/mmt/mmt.py +1 -18
- lightning_sdk/mmt/v1.py +1 -28
- lightning_sdk/models.py +15 -6
- lightning_sdk/pipeline/pipeline.py +2 -2
- lightning_sdk/pipeline/types.py +28 -2
- lightning_sdk/pipeline/utils.py +1 -1
- lightning_sdk/plugin.py +0 -6
- lightning_sdk/serve.py +55 -22
- lightning_sdk/utils/resolve.py +1 -0
- {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/METADATA +1 -1
- {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/RECORD +110 -62
- {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/WHEEL +1 -1
- {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.2.3.dist-info → lightning_sdk-0.2.5.dist-info}/top_level.txt +0 -0
|
@@ -43,43 +43,57 @@ class V1ManagedModel(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'abilities': 'V1ManagedModelAbilities',
|
|
45
45
|
'completion_token_price': 'float',
|
|
46
|
+
'context_length': 'str',
|
|
46
47
|
'deployment_details': 'V1DeploymentDetails',
|
|
47
48
|
'description': 'str',
|
|
48
49
|
'endpoint_id': 'str',
|
|
49
50
|
'id': 'str',
|
|
51
|
+
'max_completion_tokens': 'str',
|
|
50
52
|
'name': 'str',
|
|
51
53
|
'prompt_token_price': 'float',
|
|
52
|
-
'status': 'V1AssistantModelStatus'
|
|
54
|
+
'status': 'V1AssistantModelStatus',
|
|
55
|
+
'temperature': 'float',
|
|
56
|
+
'top_k': 'str'
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
attribute_map = {
|
|
56
60
|
'abilities': 'abilities',
|
|
57
61
|
'completion_token_price': 'completionTokenPrice',
|
|
62
|
+
'context_length': 'contextLength',
|
|
58
63
|
'deployment_details': 'deploymentDetails',
|
|
59
64
|
'description': 'description',
|
|
60
65
|
'endpoint_id': 'endpointId',
|
|
61
66
|
'id': 'id',
|
|
67
|
+
'max_completion_tokens': 'maxCompletionTokens',
|
|
62
68
|
'name': 'name',
|
|
63
69
|
'prompt_token_price': 'promptTokenPrice',
|
|
64
|
-
'status': 'status'
|
|
70
|
+
'status': 'status',
|
|
71
|
+
'temperature': 'temperature',
|
|
72
|
+
'top_k': 'topK'
|
|
65
73
|
}
|
|
66
74
|
|
|
67
|
-
def __init__(self, abilities: 'V1ManagedModelAbilities' =None, completion_token_price: 'float' =None, deployment_details: 'V1DeploymentDetails' =None, description: 'str' =None, endpoint_id: 'str' =None, id: 'str' =None, name: 'str' =None, prompt_token_price: 'float' =None, status: 'V1AssistantModelStatus' =None): # noqa: E501
|
|
75
|
+
def __init__(self, abilities: 'V1ManagedModelAbilities' =None, completion_token_price: 'float' =None, context_length: 'str' =None, deployment_details: 'V1DeploymentDetails' =None, description: 'str' =None, endpoint_id: 'str' =None, id: 'str' =None, max_completion_tokens: 'str' =None, name: 'str' =None, prompt_token_price: 'float' =None, status: 'V1AssistantModelStatus' =None, temperature: 'float' =None, top_k: 'str' =None): # noqa: E501
|
|
68
76
|
"""V1ManagedModel - a model defined in Swagger""" # noqa: E501
|
|
69
77
|
self._abilities = None
|
|
70
78
|
self._completion_token_price = None
|
|
79
|
+
self._context_length = None
|
|
71
80
|
self._deployment_details = None
|
|
72
81
|
self._description = None
|
|
73
82
|
self._endpoint_id = None
|
|
74
83
|
self._id = None
|
|
84
|
+
self._max_completion_tokens = None
|
|
75
85
|
self._name = None
|
|
76
86
|
self._prompt_token_price = None
|
|
77
87
|
self._status = None
|
|
88
|
+
self._temperature = None
|
|
89
|
+
self._top_k = None
|
|
78
90
|
self.discriminator = None
|
|
79
91
|
if abilities is not None:
|
|
80
92
|
self.abilities = abilities
|
|
81
93
|
if completion_token_price is not None:
|
|
82
94
|
self.completion_token_price = completion_token_price
|
|
95
|
+
if context_length is not None:
|
|
96
|
+
self.context_length = context_length
|
|
83
97
|
if deployment_details is not None:
|
|
84
98
|
self.deployment_details = deployment_details
|
|
85
99
|
if description is not None:
|
|
@@ -88,12 +102,18 @@ class V1ManagedModel(object):
|
|
|
88
102
|
self.endpoint_id = endpoint_id
|
|
89
103
|
if id is not None:
|
|
90
104
|
self.id = id
|
|
105
|
+
if max_completion_tokens is not None:
|
|
106
|
+
self.max_completion_tokens = max_completion_tokens
|
|
91
107
|
if name is not None:
|
|
92
108
|
self.name = name
|
|
93
109
|
if prompt_token_price is not None:
|
|
94
110
|
self.prompt_token_price = prompt_token_price
|
|
95
111
|
if status is not None:
|
|
96
112
|
self.status = status
|
|
113
|
+
if temperature is not None:
|
|
114
|
+
self.temperature = temperature
|
|
115
|
+
if top_k is not None:
|
|
116
|
+
self.top_k = top_k
|
|
97
117
|
|
|
98
118
|
@property
|
|
99
119
|
def abilities(self) -> 'V1ManagedModelAbilities':
|
|
@@ -137,6 +157,27 @@ class V1ManagedModel(object):
|
|
|
137
157
|
|
|
138
158
|
self._completion_token_price = completion_token_price
|
|
139
159
|
|
|
160
|
+
@property
|
|
161
|
+
def context_length(self) -> 'str':
|
|
162
|
+
"""Gets the context_length of this V1ManagedModel. # noqa: E501
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
:return: The context_length of this V1ManagedModel. # noqa: E501
|
|
166
|
+
:rtype: str
|
|
167
|
+
"""
|
|
168
|
+
return self._context_length
|
|
169
|
+
|
|
170
|
+
@context_length.setter
|
|
171
|
+
def context_length(self, context_length: 'str'):
|
|
172
|
+
"""Sets the context_length of this V1ManagedModel.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param context_length: The context_length of this V1ManagedModel. # noqa: E501
|
|
176
|
+
:type: str
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
self._context_length = context_length
|
|
180
|
+
|
|
140
181
|
@property
|
|
141
182
|
def deployment_details(self) -> 'V1DeploymentDetails':
|
|
142
183
|
"""Gets the deployment_details of this V1ManagedModel. # noqa: E501
|
|
@@ -221,6 +262,27 @@ class V1ManagedModel(object):
|
|
|
221
262
|
|
|
222
263
|
self._id = id
|
|
223
264
|
|
|
265
|
+
@property
|
|
266
|
+
def max_completion_tokens(self) -> 'str':
|
|
267
|
+
"""Gets the max_completion_tokens of this V1ManagedModel. # noqa: E501
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
:return: The max_completion_tokens of this V1ManagedModel. # noqa: E501
|
|
271
|
+
:rtype: str
|
|
272
|
+
"""
|
|
273
|
+
return self._max_completion_tokens
|
|
274
|
+
|
|
275
|
+
@max_completion_tokens.setter
|
|
276
|
+
def max_completion_tokens(self, max_completion_tokens: 'str'):
|
|
277
|
+
"""Sets the max_completion_tokens of this V1ManagedModel.
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
:param max_completion_tokens: The max_completion_tokens of this V1ManagedModel. # noqa: E501
|
|
281
|
+
:type: str
|
|
282
|
+
"""
|
|
283
|
+
|
|
284
|
+
self._max_completion_tokens = max_completion_tokens
|
|
285
|
+
|
|
224
286
|
@property
|
|
225
287
|
def name(self) -> 'str':
|
|
226
288
|
"""Gets the name of this V1ManagedModel. # noqa: E501
|
|
@@ -284,6 +346,48 @@ class V1ManagedModel(object):
|
|
|
284
346
|
|
|
285
347
|
self._status = status
|
|
286
348
|
|
|
349
|
+
@property
|
|
350
|
+
def temperature(self) -> 'float':
|
|
351
|
+
"""Gets the temperature of this V1ManagedModel. # noqa: E501
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
:return: The temperature of this V1ManagedModel. # noqa: E501
|
|
355
|
+
:rtype: float
|
|
356
|
+
"""
|
|
357
|
+
return self._temperature
|
|
358
|
+
|
|
359
|
+
@temperature.setter
|
|
360
|
+
def temperature(self, temperature: 'float'):
|
|
361
|
+
"""Sets the temperature of this V1ManagedModel.
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
:param temperature: The temperature of this V1ManagedModel. # noqa: E501
|
|
365
|
+
:type: float
|
|
366
|
+
"""
|
|
367
|
+
|
|
368
|
+
self._temperature = temperature
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
def top_k(self) -> 'str':
|
|
372
|
+
"""Gets the top_k of this V1ManagedModel. # noqa: E501
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
:return: The top_k of this V1ManagedModel. # noqa: E501
|
|
376
|
+
:rtype: str
|
|
377
|
+
"""
|
|
378
|
+
return self._top_k
|
|
379
|
+
|
|
380
|
+
@top_k.setter
|
|
381
|
+
def top_k(self, top_k: 'str'):
|
|
382
|
+
"""Sets the top_k of this V1ManagedModel.
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
:param top_k: The top_k of this V1ManagedModel. # noqa: E501
|
|
386
|
+
:type: str
|
|
387
|
+
"""
|
|
388
|
+
|
|
389
|
+
self._top_k = top_k
|
|
390
|
+
|
|
287
391
|
def to_dict(self) -> dict:
|
|
288
392
|
"""Returns the model properties as a dict"""
|
|
289
393
|
result = {}
|
|
@@ -45,6 +45,7 @@ class V1Organization(object):
|
|
|
45
45
|
'allow_gcp_saas': 'bool',
|
|
46
46
|
'allow_guest': 'bool',
|
|
47
47
|
'allow_lambda_saas': 'bool',
|
|
48
|
+
'allow_marketplace': 'bool',
|
|
48
49
|
'allow_member_invitations': 'bool',
|
|
49
50
|
'allow_member_teamspace_creation': 'bool',
|
|
50
51
|
'allow_vultr_saas': 'bool',
|
|
@@ -52,6 +53,7 @@ class V1Organization(object):
|
|
|
52
53
|
'auto_join_domain_validations': 'dict(str, V1AutoJoinDomainValidation)',
|
|
53
54
|
'auto_join_domains': 'list[str]',
|
|
54
55
|
'created_at': 'datetime',
|
|
56
|
+
'default_machine_image_version': 'str',
|
|
55
57
|
'description': 'str',
|
|
56
58
|
'display_name': 'str',
|
|
57
59
|
'domain': 'str',
|
|
@@ -76,6 +78,7 @@ class V1Organization(object):
|
|
|
76
78
|
'allow_gcp_saas': 'allowGcpSaas',
|
|
77
79
|
'allow_guest': 'allowGuest',
|
|
78
80
|
'allow_lambda_saas': 'allowLambdaSaas',
|
|
81
|
+
'allow_marketplace': 'allowMarketplace',
|
|
79
82
|
'allow_member_invitations': 'allowMemberInvitations',
|
|
80
83
|
'allow_member_teamspace_creation': 'allowMemberTeamspaceCreation',
|
|
81
84
|
'allow_vultr_saas': 'allowVultrSaas',
|
|
@@ -83,6 +86,7 @@ class V1Organization(object):
|
|
|
83
86
|
'auto_join_domain_validations': 'autoJoinDomainValidations',
|
|
84
87
|
'auto_join_domains': 'autoJoinDomains',
|
|
85
88
|
'created_at': 'createdAt',
|
|
89
|
+
'default_machine_image_version': 'defaultMachineImageVersion',
|
|
86
90
|
'description': 'description',
|
|
87
91
|
'display_name': 'displayName',
|
|
88
92
|
'domain': 'domain',
|
|
@@ -102,12 +106,13 @@ class V1Organization(object):
|
|
|
102
106
|
'updated_at': 'updatedAt'
|
|
103
107
|
}
|
|
104
108
|
|
|
105
|
-
def __init__(self, allow_aws_saas: 'bool' =None, allow_gcp_saas: 'bool' =None, allow_guest: 'bool' =None, allow_lambda_saas: '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_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, created_at: 'datetime' =None, description: 'str' =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, id: 'str' =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, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
|
|
109
|
+
def __init__(self, allow_aws_saas: '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_domain_validations: 'dict(str, V1AutoJoinDomainValidation)' =None, auto_join_domains: 'list[str]' =None, created_at: 'datetime' =None, default_machine_image_version: 'str' =None, description: 'str' =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, id: 'str' =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, teamspace_default_credits: 'float' =None, twitter_username: 'str' =None, updated_at: 'datetime' =None): # noqa: E501
|
|
106
110
|
"""V1Organization - a model defined in Swagger""" # noqa: E501
|
|
107
111
|
self._allow_aws_saas = None
|
|
108
112
|
self._allow_gcp_saas = None
|
|
109
113
|
self._allow_guest = None
|
|
110
114
|
self._allow_lambda_saas = None
|
|
115
|
+
self._allow_marketplace = None
|
|
111
116
|
self._allow_member_invitations = None
|
|
112
117
|
self._allow_member_teamspace_creation = None
|
|
113
118
|
self._allow_vultr_saas = None
|
|
@@ -115,6 +120,7 @@ class V1Organization(object):
|
|
|
115
120
|
self._auto_join_domain_validations = None
|
|
116
121
|
self._auto_join_domains = None
|
|
117
122
|
self._created_at = None
|
|
123
|
+
self._default_machine_image_version = None
|
|
118
124
|
self._description = None
|
|
119
125
|
self._display_name = None
|
|
120
126
|
self._domain = None
|
|
@@ -141,6 +147,8 @@ class V1Organization(object):
|
|
|
141
147
|
self.allow_guest = allow_guest
|
|
142
148
|
if allow_lambda_saas is not None:
|
|
143
149
|
self.allow_lambda_saas = allow_lambda_saas
|
|
150
|
+
if allow_marketplace is not None:
|
|
151
|
+
self.allow_marketplace = allow_marketplace
|
|
144
152
|
if allow_member_invitations is not None:
|
|
145
153
|
self.allow_member_invitations = allow_member_invitations
|
|
146
154
|
if allow_member_teamspace_creation is not None:
|
|
@@ -155,6 +163,8 @@ class V1Organization(object):
|
|
|
155
163
|
self.auto_join_domains = auto_join_domains
|
|
156
164
|
if created_at is not None:
|
|
157
165
|
self.created_at = created_at
|
|
166
|
+
if default_machine_image_version is not None:
|
|
167
|
+
self.default_machine_image_version = default_machine_image_version
|
|
158
168
|
if description is not None:
|
|
159
169
|
self.description = description
|
|
160
170
|
if display_name is not None:
|
|
@@ -274,6 +284,27 @@ class V1Organization(object):
|
|
|
274
284
|
|
|
275
285
|
self._allow_lambda_saas = allow_lambda_saas
|
|
276
286
|
|
|
287
|
+
@property
|
|
288
|
+
def allow_marketplace(self) -> 'bool':
|
|
289
|
+
"""Gets the allow_marketplace of this V1Organization. # noqa: E501
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
:return: The allow_marketplace of this V1Organization. # noqa: E501
|
|
293
|
+
:rtype: bool
|
|
294
|
+
"""
|
|
295
|
+
return self._allow_marketplace
|
|
296
|
+
|
|
297
|
+
@allow_marketplace.setter
|
|
298
|
+
def allow_marketplace(self, allow_marketplace: 'bool'):
|
|
299
|
+
"""Sets the allow_marketplace of this V1Organization.
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
:param allow_marketplace: The allow_marketplace of this V1Organization. # noqa: E501
|
|
303
|
+
:type: bool
|
|
304
|
+
"""
|
|
305
|
+
|
|
306
|
+
self._allow_marketplace = allow_marketplace
|
|
307
|
+
|
|
277
308
|
@property
|
|
278
309
|
def allow_member_invitations(self) -> 'bool':
|
|
279
310
|
"""Gets the allow_member_invitations of this V1Organization. # noqa: E501
|
|
@@ -421,6 +452,27 @@ class V1Organization(object):
|
|
|
421
452
|
|
|
422
453
|
self._created_at = created_at
|
|
423
454
|
|
|
455
|
+
@property
|
|
456
|
+
def default_machine_image_version(self) -> 'str':
|
|
457
|
+
"""Gets the default_machine_image_version of this V1Organization. # noqa: E501
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
:return: The default_machine_image_version of this V1Organization. # noqa: E501
|
|
461
|
+
:rtype: str
|
|
462
|
+
"""
|
|
463
|
+
return self._default_machine_image_version
|
|
464
|
+
|
|
465
|
+
@default_machine_image_version.setter
|
|
466
|
+
def default_machine_image_version(self, default_machine_image_version: 'str'):
|
|
467
|
+
"""Sets the default_machine_image_version of this V1Organization.
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
:param default_machine_image_version: The default_machine_image_version of this V1Organization. # noqa: E501
|
|
471
|
+
:type: str
|
|
472
|
+
"""
|
|
473
|
+
|
|
474
|
+
self._default_machine_image_version = default_machine_image_version
|
|
475
|
+
|
|
424
476
|
@property
|
|
425
477
|
def description(self) -> 'str':
|
|
426
478
|
"""Gets the description of this V1Organization. # noqa: E501
|
|
@@ -46,11 +46,13 @@ class V1Pipeline(object):
|
|
|
46
46
|
'display_name': 'str',
|
|
47
47
|
'error': 'str',
|
|
48
48
|
'id': 'str',
|
|
49
|
+
'is_published': 'bool',
|
|
49
50
|
'message': 'str',
|
|
50
51
|
'name': 'str',
|
|
52
|
+
'parameters': 'list[V1PipelineParameter]',
|
|
51
53
|
'parent_pipeline_id': 'str',
|
|
52
54
|
'project_id': 'str',
|
|
53
|
-
'
|
|
55
|
+
'schedule_id': 'str',
|
|
54
56
|
'shared_filesystem': 'V1SharedFilesystem',
|
|
55
57
|
'state': 'str',
|
|
56
58
|
'statuses': 'list[V1PipelineStepStatus]',
|
|
@@ -65,11 +67,13 @@ class V1Pipeline(object):
|
|
|
65
67
|
'display_name': 'displayName',
|
|
66
68
|
'error': 'error',
|
|
67
69
|
'id': 'id',
|
|
70
|
+
'is_published': 'isPublished',
|
|
68
71
|
'message': 'message',
|
|
69
72
|
'name': 'name',
|
|
73
|
+
'parameters': 'parameters',
|
|
70
74
|
'parent_pipeline_id': 'parentPipelineId',
|
|
71
75
|
'project_id': 'projectId',
|
|
72
|
-
'
|
|
76
|
+
'schedule_id': 'scheduleId',
|
|
73
77
|
'shared_filesystem': 'sharedFilesystem',
|
|
74
78
|
'state': 'state',
|
|
75
79
|
'statuses': 'statuses',
|
|
@@ -78,18 +82,20 @@ class V1Pipeline(object):
|
|
|
78
82
|
'user_id': 'userId'
|
|
79
83
|
}
|
|
80
84
|
|
|
81
|
-
def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, id: 'str' =None, message: 'str' =None, name: 'str' =None, parent_pipeline_id: 'str' =None, project_id: 'str' =None,
|
|
85
|
+
def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, display_name: 'str' =None, error: 'str' =None, id: 'str' =None, is_published: 'bool' =None, message: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, project_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
|
|
82
86
|
"""V1Pipeline - a model defined in Swagger""" # noqa: E501
|
|
83
87
|
self._cluster_id = None
|
|
84
88
|
self._created_at = None
|
|
85
89
|
self._display_name = None
|
|
86
90
|
self._error = None
|
|
87
91
|
self._id = None
|
|
92
|
+
self._is_published = None
|
|
88
93
|
self._message = None
|
|
89
94
|
self._name = None
|
|
95
|
+
self._parameters = None
|
|
90
96
|
self._parent_pipeline_id = None
|
|
91
97
|
self._project_id = None
|
|
92
|
-
self.
|
|
98
|
+
self._schedule_id = None
|
|
93
99
|
self._shared_filesystem = None
|
|
94
100
|
self._state = None
|
|
95
101
|
self._statuses = None
|
|
@@ -107,16 +113,20 @@ class V1Pipeline(object):
|
|
|
107
113
|
self.error = error
|
|
108
114
|
if id is not None:
|
|
109
115
|
self.id = id
|
|
116
|
+
if is_published is not None:
|
|
117
|
+
self.is_published = is_published
|
|
110
118
|
if message is not None:
|
|
111
119
|
self.message = message
|
|
112
120
|
if name is not None:
|
|
113
121
|
self.name = name
|
|
122
|
+
if parameters is not None:
|
|
123
|
+
self.parameters = parameters
|
|
114
124
|
if parent_pipeline_id is not None:
|
|
115
125
|
self.parent_pipeline_id = parent_pipeline_id
|
|
116
126
|
if project_id is not None:
|
|
117
127
|
self.project_id = project_id
|
|
118
|
-
if
|
|
119
|
-
self.
|
|
128
|
+
if schedule_id is not None:
|
|
129
|
+
self.schedule_id = schedule_id
|
|
120
130
|
if shared_filesystem is not None:
|
|
121
131
|
self.shared_filesystem = shared_filesystem
|
|
122
132
|
if state is not None:
|
|
@@ -235,6 +245,27 @@ class V1Pipeline(object):
|
|
|
235
245
|
|
|
236
246
|
self._id = id
|
|
237
247
|
|
|
248
|
+
@property
|
|
249
|
+
def is_published(self) -> 'bool':
|
|
250
|
+
"""Gets the is_published of this V1Pipeline. # noqa: E501
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
:return: The is_published of this V1Pipeline. # noqa: E501
|
|
254
|
+
:rtype: bool
|
|
255
|
+
"""
|
|
256
|
+
return self._is_published
|
|
257
|
+
|
|
258
|
+
@is_published.setter
|
|
259
|
+
def is_published(self, is_published: 'bool'):
|
|
260
|
+
"""Sets the is_published of this V1Pipeline.
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
:param is_published: The is_published of this V1Pipeline. # noqa: E501
|
|
264
|
+
:type: bool
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
self._is_published = is_published
|
|
268
|
+
|
|
238
269
|
@property
|
|
239
270
|
def message(self) -> 'str':
|
|
240
271
|
"""Gets the message of this V1Pipeline. # noqa: E501
|
|
@@ -277,6 +308,27 @@ class V1Pipeline(object):
|
|
|
277
308
|
|
|
278
309
|
self._name = name
|
|
279
310
|
|
|
311
|
+
@property
|
|
312
|
+
def parameters(self) -> 'list[V1PipelineParameter]':
|
|
313
|
+
"""Gets the parameters of this V1Pipeline. # noqa: E501
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
:return: The parameters of this V1Pipeline. # noqa: E501
|
|
317
|
+
:rtype: list[V1PipelineParameter]
|
|
318
|
+
"""
|
|
319
|
+
return self._parameters
|
|
320
|
+
|
|
321
|
+
@parameters.setter
|
|
322
|
+
def parameters(self, parameters: 'list[V1PipelineParameter]'):
|
|
323
|
+
"""Sets the parameters of this V1Pipeline.
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
:param parameters: The parameters of this V1Pipeline. # noqa: E501
|
|
327
|
+
:type: list[V1PipelineParameter]
|
|
328
|
+
"""
|
|
329
|
+
|
|
330
|
+
self._parameters = parameters
|
|
331
|
+
|
|
280
332
|
@property
|
|
281
333
|
def parent_pipeline_id(self) -> 'str':
|
|
282
334
|
"""Gets the parent_pipeline_id of this V1Pipeline. # noqa: E501
|
|
@@ -320,25 +372,25 @@ class V1Pipeline(object):
|
|
|
320
372
|
self._project_id = project_id
|
|
321
373
|
|
|
322
374
|
@property
|
|
323
|
-
def
|
|
324
|
-
"""Gets the
|
|
375
|
+
def schedule_id(self) -> 'str':
|
|
376
|
+
"""Gets the schedule_id of this V1Pipeline. # noqa: E501
|
|
325
377
|
|
|
326
378
|
|
|
327
|
-
:return: The
|
|
328
|
-
:rtype:
|
|
379
|
+
:return: The schedule_id of this V1Pipeline. # noqa: E501
|
|
380
|
+
:rtype: str
|
|
329
381
|
"""
|
|
330
|
-
return self.
|
|
382
|
+
return self._schedule_id
|
|
331
383
|
|
|
332
|
-
@
|
|
333
|
-
def
|
|
334
|
-
"""Sets the
|
|
384
|
+
@schedule_id.setter
|
|
385
|
+
def schedule_id(self, schedule_id: 'str'):
|
|
386
|
+
"""Sets the schedule_id of this V1Pipeline.
|
|
335
387
|
|
|
336
388
|
|
|
337
|
-
:param
|
|
338
|
-
:type:
|
|
389
|
+
:param schedule_id: The schedule_id of this V1Pipeline. # noqa: E501
|
|
390
|
+
:type: str
|
|
339
391
|
"""
|
|
340
392
|
|
|
341
|
-
self.
|
|
393
|
+
self._schedule_id = schedule_id
|
|
342
394
|
|
|
343
395
|
@property
|
|
344
396
|
def shared_filesystem(self) -> 'V1SharedFilesystem':
|