lightning-sdk 0.2.21rc1__py3-none-any.whl → 0.2.23__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 (70) hide show
  1. lightning_sdk/__init__.py +1 -1
  2. lightning_sdk/api/license_api.py +2 -2
  3. lightning_sdk/api/llm_api.py +69 -27
  4. lightning_sdk/api/pipeline_api.py +49 -9
  5. lightning_sdk/api/studio_api.py +2 -0
  6. lightning_sdk/cli/configure.py +34 -27
  7. lightning_sdk/cli/connect.py +2 -2
  8. lightning_sdk/cli/download.py +38 -2
  9. lightning_sdk/cli/entrypoint.py +15 -13
  10. lightning_sdk/cli/start.py +5 -2
  11. lightning_sdk/lightning_cloud/openapi/__init__.py +9 -0
  12. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +206 -0
  13. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +98 -5
  14. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +113 -0
  15. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +118 -1
  16. lightning_sdk/lightning_cloud/openapi/api/schedules_service_api.py +5 -1
  17. lightning_sdk/lightning_cloud/openapi/models/__init__.py +9 -0
  18. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +29 -3
  19. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +123 -0
  20. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
  21. lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
  22. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +27 -1
  23. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
  24. lightning_sdk/lightning_cloud/openapi/models/project_id_pipelines_body.py +27 -1
  25. lightning_sdk/lightning_cloud/openapi/models/project_id_schedules_body.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/schedules_id_body.py +27 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
  28. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  30. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +53 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
  32. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +79 -1
  34. lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +27 -1
  35. lightning_sdk/lightning_cloud/openapi/models/v1_delete_lit_registry_repository_image_artifact_version_by_digest_response.py +97 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
  37. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +827 -0
  38. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +27 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +105 -1
  40. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +53 -1
  41. lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +29 -1
  42. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
  43. lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
  44. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
  45. lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
  46. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
  47. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +27 -1
  48. lightning_sdk/lightning_cloud/openapi/models/v1_schedule.py +27 -1
  49. lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +131 -1
  50. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
  51. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +79 -1
  52. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -183
  53. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +78 -104
  54. lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +104 -0
  55. lightning_sdk/llm/llm.py +6 -1
  56. lightning_sdk/pipeline/__init__.py +12 -2
  57. lightning_sdk/pipeline/pipeline.py +59 -17
  58. lightning_sdk/pipeline/printer.py +121 -0
  59. lightning_sdk/pipeline/schedule.py +8 -0
  60. lightning_sdk/pipeline/{types.py → steps.py} +77 -59
  61. lightning_sdk/pipeline/utils.py +39 -17
  62. lightning_sdk/sandbox.py +157 -0
  63. lightning_sdk/services/license.py +12 -6
  64. lightning_sdk/studio.py +7 -1
  65. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/METADATA +1 -1
  66. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/RECORD +70 -58
  67. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/LICENSE +0 -0
  68. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/WHEEL +0 -0
  69. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/entry_points.txt +0 -0
  70. {lightning_sdk-0.2.21rc1.dist-info → lightning_sdk-0.2.23.dist-info}/top_level.txt +0 -0
@@ -44,6 +44,7 @@ from lightning_sdk.lightning_cloud.openapi.models.cloud_space_id_versions_body i
44
44
  from lightning_sdk.lightning_cloud.openapi.models.cloudspace_id_metric_body import CloudspaceIdMetricBody
45
45
  from lightning_sdk.lightning_cloud.openapi.models.cloudspace_id_runs_body import CloudspaceIdRunsBody
46
46
  from lightning_sdk.lightning_cloud.openapi.models.cloudspace_id_systemmetrics_body import CloudspaceIdSystemmetricsBody
47
+ from lightning_sdk.lightning_cloud.openapi.models.cloudspace_id_visibility_body import CloudspaceIdVisibilityBody
47
48
  from lightning_sdk.lightning_cloud.openapi.models.cloudspaces_id_body import CloudspacesIdBody
48
49
  from lightning_sdk.lightning_cloud.openapi.models.cluster_id_capacityblock_body import ClusterIdCapacityblockBody
49
50
  from lightning_sdk.lightning_cloud.openapi.models.cluster_id_capacityreservations_body import ClusterIdCapacityreservationsBody
@@ -230,6 +231,8 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_cpu_system_metrics import V
230
231
  from lightning_sdk.lightning_cloud.openapi.models.v1_cancel_cloud_space_instance_switch_response import V1CancelCloudSpaceInstanceSwitchResponse
231
232
  from lightning_sdk.lightning_cloud.openapi.models.v1_cancellation_metadata import V1CancellationMetadata
232
233
  from lightning_sdk.lightning_cloud.openapi.models.v1_capacity_block_offering import V1CapacityBlockOffering
234
+ from lightning_sdk.lightning_cloud.openapi.models.v1_check_cluster_name_availability_request import V1CheckClusterNameAvailabilityRequest
235
+ from lightning_sdk.lightning_cloud.openapi.models.v1_check_cluster_name_availability_response import V1CheckClusterNameAvailabilityResponse
233
236
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_external_service_status_response import V1CheckExternalServiceStatusResponse
234
237
  from lightning_sdk.lightning_cloud.openapi.models.v1_check_snowflake_connection_response import V1CheckSnowflakeConnectionResponse
235
238
  from lightning_sdk.lightning_cloud.openapi.models.v1_checkbox import V1Checkbox
@@ -375,6 +378,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lightningwork_respon
375
378
  from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lit_dataset_response import V1DeleteLitDatasetResponse
376
379
  from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lit_dataset_version_response import V1DeleteLitDatasetVersionResponse
377
380
  from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lit_page_response import V1DeleteLitPageResponse
381
+ from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lit_registry_repository_image_artifact_version_by_digest_response import V1DeleteLitRegistryRepositoryImageArtifactVersionByDigestResponse
378
382
  from lightning_sdk.lightning_cloud.openapi.models.v1_delete_lit_repository_response import V1DeleteLitRepositoryResponse
379
383
  from lightning_sdk.lightning_cloud.openapi.models.v1_delete_logger_artifact_response import V1DeleteLoggerArtifactResponse
380
384
  from lightning_sdk.lightning_cloud.openapi.models.v1_delete_managed_endpoint_response import V1DeleteManagedEndpointResponse
@@ -453,6 +457,8 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_execute_in_cloud_space_sess
453
457
  from lightning_sdk.lightning_cloud.openapi.models.v1_execute_snowflake_query_response import V1ExecuteSnowflakeQueryResponse
454
458
  from lightning_sdk.lightning_cloud.openapi.models.v1_experiment import V1Experiment
455
459
  from lightning_sdk.lightning_cloud.openapi.models.v1_export_snowflake_query_response import V1ExportSnowflakeQueryResponse
460
+ from lightning_sdk.lightning_cloud.openapi.models.v1_external_cluster import V1ExternalCluster
461
+ from lightning_sdk.lightning_cloud.openapi.models.v1_external_cluster_spec import V1ExternalClusterSpec
456
462
  from lightning_sdk.lightning_cloud.openapi.models.v1_external_search_user import V1ExternalSearchUser
457
463
  from lightning_sdk.lightning_cloud.openapi.models.v1_file_endpoint import V1FileEndpoint
458
464
  from lightning_sdk.lightning_cloud.openapi.models.v1_filestore_data_connection import V1FilestoreDataConnection
@@ -673,6 +679,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_lit_page_type import V1LitP
673
679
  from lightning_sdk.lightning_cloud.openapi.models.v1_lit_registry_artifact import V1LitRegistryArtifact
674
680
  from lightning_sdk.lightning_cloud.openapi.models.v1_lit_registry_project import V1LitRegistryProject
675
681
  from lightning_sdk.lightning_cloud.openapi.models.v1_lit_repository import V1LitRepository
682
+ from lightning_sdk.lightning_cloud.openapi.models.v1_lite_published_cloud_space_response import V1LitePublishedCloudSpaceResponse
676
683
  from lightning_sdk.lightning_cloud.openapi.models.v1_locked_resource import V1LockedResource
677
684
  from lightning_sdk.lightning_cloud.openapi.models.v1_log_page import V1LogPage
678
685
  from lightning_sdk.lightning_cloud.openapi.models.v1_logger_artifact import V1LoggerArtifact
@@ -865,6 +872,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_update_agent_status_respons
865
872
  from lightning_sdk.lightning_cloud.openapi.models.v1_update_billing_subscription_request import V1UpdateBillingSubscriptionRequest
866
873
  from lightning_sdk.lightning_cloud.openapi.models.v1_update_cloud_space_collab_response import V1UpdateCloudSpaceCollabResponse
867
874
  from lightning_sdk.lightning_cloud.openapi.models.v1_update_cloud_space_publication_response import V1UpdateCloudSpacePublicationResponse
875
+ from lightning_sdk.lightning_cloud.openapi.models.v1_update_cloud_space_visibility_response import V1UpdateCloudSpaceVisibilityResponse
868
876
  from lightning_sdk.lightning_cloud.openapi.models.v1_update_cluster_accelerators_request import V1UpdateClusterAcceleratorsRequest
869
877
  from lightning_sdk.lightning_cloud.openapi.models.v1_update_cluster_accelerators_response import V1UpdateClusterAcceleratorsResponse
870
878
  from lightning_sdk.lightning_cloud.openapi.models.v1_update_cluster_availability_request import V1UpdateClusterAvailabilityRequest
@@ -913,6 +921,7 @@ from lightning_sdk.lightning_cloud.openapi.models.v1_validate_managed_model_resp
913
921
  from lightning_sdk.lightning_cloud.openapi.models.v1_verify_verification_response import V1VerifyVerificationResponse
914
922
  from lightning_sdk.lightning_cloud.openapi.models.v1_voltage_park_direct_v1 import V1VoltageParkDirectV1
915
923
  from lightning_sdk.lightning_cloud.openapi.models.v1_volume import V1Volume
924
+ from lightning_sdk.lightning_cloud.openapi.models.v1_volume_state import V1VolumeState
916
925
  from lightning_sdk.lightning_cloud.openapi.models.v1_vultr_direct_v1 import V1VultrDirectV1
917
926
  from lightning_sdk.lightning_cloud.openapi.models.v1_weka_data_connection import V1WekaDataConnection
918
927
  from lightning_sdk.lightning_cloud.openapi.models.v1_work import V1Work
@@ -51,7 +51,8 @@ class AssistantIdConversationsBody(object):
51
51
  'name': 'str',
52
52
  'parent_message_id': 'str',
53
53
  'store': 'bool',
54
- 'stream': 'bool'
54
+ 'stream': 'bool',
55
+ 'system_prompt': 'str'
55
56
  }
56
57
 
57
58
  attribute_map = {
@@ -65,10 +66,11 @@ class AssistantIdConversationsBody(object):
65
66
  'name': 'name',
66
67
  'parent_message_id': 'parentMessageId',
67
68
  'store': 'store',
68
- 'stream': 'stream'
69
+ 'stream': 'stream',
70
+ 'system_prompt': 'systemPrompt'
69
71
  }
70
72
 
71
- def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, internal_conversation: 'bool' =None, max_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, name: 'str' =None, parent_message_id: 'str' =None, store: 'bool' =None, stream: 'bool' =None): # noqa: E501
73
+ def __init__(self, auto_name: 'bool' =None, billing_project_id: 'str' =None, conversation_id: 'str' =None, internal_conversation: 'bool' =None, max_tokens: 'str' =None, message: 'V1Message' =None, metadata: 'dict(str, str)' =None, name: 'str' =None, parent_message_id: 'str' =None, store: 'bool' =None, stream: 'bool' =None, system_prompt: 'str' =None): # noqa: E501
72
74
  """AssistantIdConversationsBody - a model defined in Swagger""" # noqa: E501
73
75
  self._auto_name = None
74
76
  self._billing_project_id = None
@@ -81,6 +83,7 @@ class AssistantIdConversationsBody(object):
81
83
  self._parent_message_id = None
82
84
  self._store = None
83
85
  self._stream = None
86
+ self._system_prompt = None
84
87
  self.discriminator = None
85
88
  if auto_name is not None:
86
89
  self.auto_name = auto_name
@@ -104,6 +107,8 @@ class AssistantIdConversationsBody(object):
104
107
  self.store = store
105
108
  if stream is not None:
106
109
  self.stream = stream
110
+ if system_prompt is not None:
111
+ self.system_prompt = system_prompt
107
112
 
108
113
  @property
109
114
  def auto_name(self) -> 'bool':
@@ -336,6 +341,27 @@ class AssistantIdConversationsBody(object):
336
341
 
337
342
  self._stream = stream
338
343
 
344
+ @property
345
+ def system_prompt(self) -> 'str':
346
+ """Gets the system_prompt of this AssistantIdConversationsBody. # noqa: E501
347
+
348
+
349
+ :return: The system_prompt of this AssistantIdConversationsBody. # noqa: E501
350
+ :rtype: str
351
+ """
352
+ return self._system_prompt
353
+
354
+ @system_prompt.setter
355
+ def system_prompt(self, system_prompt: 'str'):
356
+ """Sets the system_prompt of this AssistantIdConversationsBody.
357
+
358
+
359
+ :param system_prompt: The system_prompt of this AssistantIdConversationsBody. # noqa: E501
360
+ :type: str
361
+ """
362
+
363
+ self._system_prompt = system_prompt
364
+
339
365
  def to_dict(self) -> dict:
340
366
  """Returns the model properties as a dict"""
341
367
  result = {}
@@ -0,0 +1,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ external/v1/auth_service.proto
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: version not set
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+
12
+ NOTE
13
+ ----
14
+ standard swagger-codegen-cli for this python client has been modified
15
+ by custom templates. The purpose of these templates is to include
16
+ typing information in the API and Model code. Please refer to the
17
+ main grid repository for more info
18
+ """
19
+
20
+ import pprint
21
+ import re # noqa: F401
22
+
23
+ from typing import TYPE_CHECKING
24
+
25
+ import six
26
+
27
+ if TYPE_CHECKING:
28
+ from datetime import datetime
29
+ from lightning_sdk.lightning_cloud.openapi.models import *
30
+
31
+ class CloudspaceIdVisibilityBody(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
+ 'visibility': 'V1ResourceVisibility'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'visibility': 'visibility'
49
+ }
50
+
51
+ def __init__(self, visibility: 'V1ResourceVisibility' =None): # noqa: E501
52
+ """CloudspaceIdVisibilityBody - a model defined in Swagger""" # noqa: E501
53
+ self._visibility = None
54
+ self.discriminator = None
55
+ if visibility is not None:
56
+ self.visibility = visibility
57
+
58
+ @property
59
+ def visibility(self) -> 'V1ResourceVisibility':
60
+ """Gets the visibility of this CloudspaceIdVisibilityBody. # noqa: E501
61
+
62
+
63
+ :return: The visibility of this CloudspaceIdVisibilityBody. # noqa: E501
64
+ :rtype: V1ResourceVisibility
65
+ """
66
+ return self._visibility
67
+
68
+ @visibility.setter
69
+ def visibility(self, visibility: 'V1ResourceVisibility'):
70
+ """Sets the visibility of this CloudspaceIdVisibilityBody.
71
+
72
+
73
+ :param visibility: The visibility of this CloudspaceIdVisibilityBody. # noqa: E501
74
+ :type: V1ResourceVisibility
75
+ """
76
+
77
+ self._visibility = visibility
78
+
79
+ def to_dict(self) -> dict:
80
+ """Returns the model properties as a dict"""
81
+ result = {}
82
+
83
+ for attr, _ in six.iteritems(self.swagger_types):
84
+ value = getattr(self, attr)
85
+ if isinstance(value, list):
86
+ result[attr] = list(map(
87
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
88
+ value
89
+ ))
90
+ elif hasattr(value, "to_dict"):
91
+ result[attr] = value.to_dict()
92
+ elif isinstance(value, dict):
93
+ result[attr] = dict(map(
94
+ lambda item: (item[0], item[1].to_dict())
95
+ if hasattr(item[1], "to_dict") else item,
96
+ value.items()
97
+ ))
98
+ else:
99
+ result[attr] = value
100
+ if issubclass(CloudspaceIdVisibilityBody, dict):
101
+ for key, value in self.items():
102
+ result[key] = value
103
+
104
+ return result
105
+
106
+ def to_str(self) -> str:
107
+ """Returns the string representation of the model"""
108
+ return pprint.pformat(self.to_dict())
109
+
110
+ def __repr__(self) -> str:
111
+ """For `print` and `pprint`"""
112
+ return self.to_str()
113
+
114
+ def __eq__(self, other: 'CloudspaceIdVisibilityBody') -> bool:
115
+ """Returns true if both objects are equal"""
116
+ if not isinstance(other, CloudspaceIdVisibilityBody):
117
+ return False
118
+
119
+ return self.__dict__ == other.__dict__
120
+
121
+ def __ne__(self, other: 'CloudspaceIdVisibilityBody') -> bool:
122
+ """Returns true if both objects are not equal"""
123
+ return not self == other
@@ -52,6 +52,7 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
52
52
  'name': 'str',
53
53
  'parameter_spec': 'V1ParameterizationSpec',
54
54
  'parent_template_id': 'str',
55
+ 'pipeline_reuse_deployment_between_runs': 'bool',
55
56
  'recipients': 'V1DeploymentAlertingRecipients',
56
57
  'replicas': 'int',
57
58
  'spec': 'V1JobSpec',
@@ -70,13 +71,14 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
70
71
  'name': 'name',
71
72
  'parameter_spec': 'parameterSpec',
72
73
  'parent_template_id': 'parentTemplateId',
74
+ 'pipeline_reuse_deployment_between_runs': 'pipelineReuseDeploymentBetweenRuns',
73
75
  'recipients': 'recipients',
74
76
  'replicas': 'replicas',
75
77
  'spec': 'spec',
76
78
  'strategy': 'strategy'
77
79
  }
78
80
 
79
- def __init__(self, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, endpoint: 'V1Endpoint' =None, from_litserve: 'bool' =None, from_onboarding: 'bool' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, parent_template_id: 'str' =None, recipients: 'V1DeploymentAlertingRecipients' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, strategy: 'V1DeploymentStrategy' =None): # noqa: E501
81
+ def __init__(self, api_standard: 'str' =None, apis: 'list[V1DeploymentAPI]' =None, autoscaling: 'V1AutoscalingSpec' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, endpoint: 'V1Endpoint' =None, from_litserve: 'bool' =None, from_onboarding: 'bool' =None, name: 'str' =None, parameter_spec: 'V1ParameterizationSpec' =None, parent_template_id: 'str' =None, pipeline_reuse_deployment_between_runs: 'bool' =None, recipients: 'V1DeploymentAlertingRecipients' =None, replicas: 'int' =None, spec: 'V1JobSpec' =None, strategy: 'V1DeploymentStrategy' =None): # noqa: E501
80
82
  """CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs - a model defined in Swagger""" # noqa: E501
81
83
  self._api_standard = None
82
84
  self._apis = None
@@ -89,6 +91,7 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
89
91
  self._name = None
90
92
  self._parameter_spec = None
91
93
  self._parent_template_id = None
94
+ self._pipeline_reuse_deployment_between_runs = None
92
95
  self._recipients = None
93
96
  self._replicas = None
94
97
  self._spec = None
@@ -116,6 +119,8 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
116
119
  self.parameter_spec = parameter_spec
117
120
  if parent_template_id is not None:
118
121
  self.parent_template_id = parent_template_id
122
+ if pipeline_reuse_deployment_between_runs is not None:
123
+ self.pipeline_reuse_deployment_between_runs = pipeline_reuse_deployment_between_runs
119
124
  if recipients is not None:
120
125
  self.recipients = recipients
121
126
  if replicas is not None:
@@ -356,6 +361,27 @@ class CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs(o
356
361
 
357
362
  self._parent_template_id = parent_template_id
358
363
 
364
+ @property
365
+ def pipeline_reuse_deployment_between_runs(self) -> 'bool':
366
+ """Gets the pipeline_reuse_deployment_between_runs of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
367
+
368
+
369
+ :return: The pipeline_reuse_deployment_between_runs of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
370
+ :rtype: bool
371
+ """
372
+ return self._pipeline_reuse_deployment_between_runs
373
+
374
+ @pipeline_reuse_deployment_between_runs.setter
375
+ def pipeline_reuse_deployment_between_runs(self, pipeline_reuse_deployment_between_runs: 'bool'):
376
+ """Sets the pipeline_reuse_deployment_between_runs of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs.
377
+
378
+
379
+ :param pipeline_reuse_deployment_between_runs: The pipeline_reuse_deployment_between_runs of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
380
+ :type: bool
381
+ """
382
+
383
+ self._pipeline_reuse_deployment_between_runs = pipeline_reuse_deployment_between_runs
384
+
359
385
  @property
360
386
  def recipients(self) -> 'V1DeploymentAlertingRecipients':
361
387
  """Gets the recipients of this CreateDeploymentRequestDefinesASpecForTheJobThatAllowsForAutoscalingJobs. # noqa: E501
@@ -44,6 +44,7 @@ class MetricsstreamCreateBody(object):
44
44
  'app_id': 'str',
45
45
  'cloudspace_id': 'str',
46
46
  'dark_color': 'str',
47
+ 'experiment_project_name': 'str',
47
48
  'job_id': 'str',
48
49
  'light_color': 'str',
49
50
  'name': 'str',
@@ -59,6 +60,7 @@ class MetricsstreamCreateBody(object):
59
60
  'app_id': 'appId',
60
61
  'cloudspace_id': 'cloudspaceId',
61
62
  'dark_color': 'darkColor',
63
+ 'experiment_project_name': 'experimentProjectName',
62
64
  'job_id': 'jobId',
63
65
  'light_color': 'lightColor',
64
66
  'name': 'name',
@@ -70,11 +72,12 @@ class MetricsstreamCreateBody(object):
70
72
  'work_id': 'workId'
71
73
  }
72
74
 
73
- def __init__(self, app_id: 'str' =None, cloudspace_id: 'str' =None, dark_color: 'str' =None, job_id: 'str' =None, light_color: 'str' =None, name: 'str' =None, store_created_at: 'bool' =None, store_step: 'bool' =None, system_info: 'V1SystemInfo' =None, tags: 'list[V1MetricsTags]' =None, version: 'datetime' =None, work_id: 'str' =None): # noqa: E501
75
+ def __init__(self, app_id: 'str' =None, cloudspace_id: 'str' =None, dark_color: 'str' =None, experiment_project_name: 'str' =None, job_id: 'str' =None, light_color: 'str' =None, name: 'str' =None, store_created_at: 'bool' =None, store_step: 'bool' =None, system_info: 'V1SystemInfo' =None, tags: 'list[V1MetricsTags]' =None, version: 'datetime' =None, work_id: 'str' =None): # noqa: E501
74
76
  """MetricsstreamCreateBody - a model defined in Swagger""" # noqa: E501
75
77
  self._app_id = None
76
78
  self._cloudspace_id = None
77
79
  self._dark_color = None
80
+ self._experiment_project_name = None
78
81
  self._job_id = None
79
82
  self._light_color = None
80
83
  self._name = None
@@ -91,6 +94,8 @@ class MetricsstreamCreateBody(object):
91
94
  self.cloudspace_id = cloudspace_id
92
95
  if dark_color is not None:
93
96
  self.dark_color = dark_color
97
+ if experiment_project_name is not None:
98
+ self.experiment_project_name = experiment_project_name
94
99
  if job_id is not None:
95
100
  self.job_id = job_id
96
101
  if light_color is not None:
@@ -173,6 +178,27 @@ class MetricsstreamCreateBody(object):
173
178
 
174
179
  self._dark_color = dark_color
175
180
 
181
+ @property
182
+ def experiment_project_name(self) -> 'str':
183
+ """Gets the experiment_project_name of this MetricsstreamCreateBody. # noqa: E501
184
+
185
+
186
+ :return: The experiment_project_name of this MetricsstreamCreateBody. # noqa: E501
187
+ :rtype: str
188
+ """
189
+ return self._experiment_project_name
190
+
191
+ @experiment_project_name.setter
192
+ def experiment_project_name(self, experiment_project_name: 'str'):
193
+ """Sets the experiment_project_name of this MetricsstreamCreateBody.
194
+
195
+
196
+ :param experiment_project_name: The experiment_project_name of this MetricsstreamCreateBody. # noqa: E501
197
+ :type: str
198
+ """
199
+
200
+ self._experiment_project_name = experiment_project_name
201
+
176
202
  @property
177
203
  def job_id(self) -> 'str':
178
204
  """Gets the job_id of this MetricsstreamCreateBody. # noqa: E501
@@ -43,6 +43,7 @@ class PipelinesIdBody(object):
43
43
  swagger_types = {
44
44
  'cluster_id': 'str',
45
45
  'created_at': 'datetime',
46
+ 'created_from_ui': 'bool',
46
47
  'display_name': 'str',
47
48
  'error': 'str',
48
49
  'is_published': 'bool',
@@ -62,6 +63,7 @@ class PipelinesIdBody(object):
62
63
  attribute_map = {
63
64
  'cluster_id': 'clusterId',
64
65
  'created_at': 'createdAt',
66
+ 'created_from_ui': 'createdFromUi',
65
67
  'display_name': 'displayName',
66
68
  'error': 'error',
67
69
  'is_published': 'isPublished',
@@ -78,10 +80,11 @@ class PipelinesIdBody(object):
78
80
  'user_id': 'userId'
79
81
  }
80
82
 
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
83
+ def __init__(self, cluster_id: 'str' =None, created_at: 'datetime' =None, created_from_ui: 'bool' =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
84
  """PipelinesIdBody - a model defined in Swagger""" # noqa: E501
83
85
  self._cluster_id = None
84
86
  self._created_at = None
87
+ self._created_from_ui = None
85
88
  self._display_name = None
86
89
  self._error = None
87
90
  self._is_published = None
@@ -101,6 +104,8 @@ class PipelinesIdBody(object):
101
104
  self.cluster_id = cluster_id
102
105
  if created_at is not None:
103
106
  self.created_at = created_at
107
+ if created_from_ui is not None:
108
+ self.created_from_ui = created_from_ui
104
109
  if display_name is not None:
105
110
  self.display_name = display_name
106
111
  if error is not None:
@@ -172,6 +177,27 @@ class PipelinesIdBody(object):
172
177
 
173
178
  self._created_at = created_at
174
179
 
180
+ @property
181
+ def created_from_ui(self) -> 'bool':
182
+ """Gets the created_from_ui of this PipelinesIdBody. # noqa: E501
183
+
184
+
185
+ :return: The created_from_ui of this PipelinesIdBody. # noqa: E501
186
+ :rtype: bool
187
+ """
188
+ return self._created_from_ui
189
+
190
+ @created_from_ui.setter
191
+ def created_from_ui(self, created_from_ui: 'bool'):
192
+ """Sets the created_from_ui of this PipelinesIdBody.
193
+
194
+
195
+ :param created_from_ui: The created_from_ui of this PipelinesIdBody. # noqa: E501
196
+ :type: bool
197
+ """
198
+
199
+ self._created_from_ui = created_from_ui
200
+
175
201
  @property
176
202
  def display_name(self) -> 'str':
177
203
  """Gets the display_name of this PipelinesIdBody. # noqa: E501
@@ -48,6 +48,7 @@ class ProjectIdCloudspacesBody(object):
48
48
  'cluster_id': 'str',
49
49
  'compute_name': 'str',
50
50
  'data_connection_mounts': 'list[V1DataConnectionMount]',
51
+ 'disable_secrets': 'bool',
51
52
  'disk_size': 'str',
52
53
  'display_name': 'str',
53
54
  'name': 'str',
@@ -67,6 +68,7 @@ class ProjectIdCloudspacesBody(object):
67
68
  'cluster_id': 'clusterId',
68
69
  'compute_name': 'computeName',
69
70
  'data_connection_mounts': 'dataConnectionMounts',
71
+ 'disable_secrets': 'disableSecrets',
70
72
  'disk_size': 'diskSize',
71
73
  'display_name': 'displayName',
72
74
  'name': 'name',
@@ -78,7 +80,7 @@ class ProjectIdCloudspacesBody(object):
78
80
  'spot': 'spot'
79
81
  }
80
82
 
81
- def __init__(self, can_download_source_code: 'bool' =None, cloud_space_environment_template_id: 'str' =None, cloud_space_instance_cpu_image_override: 'str' =None, cloud_space_instance_gpu_image_override: 'str' =None, cluster_id: 'str' =None, compute_name: 'str' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, disk_size: 'str' =None, display_name: 'str' =None, name: 'str' =None, plugins: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, same_compute_on_resume: 'bool' =None, seed_files: 'list[V1CloudSpaceSeedFile]' =None, source: 'V1CloudSpaceSourceType' =None, spot: 'bool' =None): # noqa: E501
83
+ def __init__(self, can_download_source_code: 'bool' =None, cloud_space_environment_template_id: 'str' =None, cloud_space_instance_cpu_image_override: 'str' =None, cloud_space_instance_gpu_image_override: 'str' =None, cluster_id: 'str' =None, compute_name: 'str' =None, data_connection_mounts: 'list[V1DataConnectionMount]' =None, disable_secrets: 'bool' =None, disk_size: 'str' =None, display_name: 'str' =None, name: 'str' =None, plugins: 'list[str]' =None, requested_run_duration_seconds: 'str' =None, same_compute_on_resume: 'bool' =None, seed_files: 'list[V1CloudSpaceSeedFile]' =None, source: 'V1CloudSpaceSourceType' =None, spot: 'bool' =None): # noqa: E501
82
84
  """ProjectIdCloudspacesBody - a model defined in Swagger""" # noqa: E501
83
85
  self._can_download_source_code = None
84
86
  self._cloud_space_environment_template_id = None
@@ -87,6 +89,7 @@ class ProjectIdCloudspacesBody(object):
87
89
  self._cluster_id = None
88
90
  self._compute_name = None
89
91
  self._data_connection_mounts = None
92
+ self._disable_secrets = None
90
93
  self._disk_size = None
91
94
  self._display_name = None
92
95
  self._name = None
@@ -111,6 +114,8 @@ class ProjectIdCloudspacesBody(object):
111
114
  self.compute_name = compute_name
112
115
  if data_connection_mounts is not None:
113
116
  self.data_connection_mounts = data_connection_mounts
117
+ if disable_secrets is not None:
118
+ self.disable_secrets = disable_secrets
114
119
  if disk_size is not None:
115
120
  self.disk_size = disk_size
116
121
  if display_name is not None:
@@ -277,6 +282,27 @@ class ProjectIdCloudspacesBody(object):
277
282
 
278
283
  self._data_connection_mounts = data_connection_mounts
279
284
 
285
+ @property
286
+ def disable_secrets(self) -> 'bool':
287
+ """Gets the disable_secrets of this ProjectIdCloudspacesBody. # noqa: E501
288
+
289
+
290
+ :return: The disable_secrets of this ProjectIdCloudspacesBody. # noqa: E501
291
+ :rtype: bool
292
+ """
293
+ return self._disable_secrets
294
+
295
+ @disable_secrets.setter
296
+ def disable_secrets(self, disable_secrets: 'bool'):
297
+ """Sets the disable_secrets of this ProjectIdCloudspacesBody.
298
+
299
+
300
+ :param disable_secrets: The disable_secrets of this ProjectIdCloudspacesBody. # noqa: E501
301
+ :type: bool
302
+ """
303
+
304
+ self._disable_secrets = disable_secrets
305
+
280
306
  @property
281
307
  def disk_size(self) -> 'str':
282
308
  """Gets the disk_size of this ProjectIdCloudspacesBody. # noqa: E501
@@ -44,6 +44,7 @@ class ProjectIdPipelinesBody(object):
44
44
  'cluster_id': 'str',
45
45
  'name': 'str',
46
46
  'parameters': 'list[V1PipelineParameter]',
47
+ 'parent_pipeline_id': 'str',
47
48
  'shared_filesystem': 'V1SharedFilesystem',
48
49
  'steps': 'list[V1PipelineStep]'
49
50
  }
@@ -52,15 +53,17 @@ class ProjectIdPipelinesBody(object):
52
53
  'cluster_id': 'clusterId',
53
54
  'name': 'name',
54
55
  'parameters': 'parameters',
56
+ 'parent_pipeline_id': 'parentPipelineId',
55
57
  'shared_filesystem': 'sharedFilesystem',
56
58
  'steps': 'steps'
57
59
  }
58
60
 
59
- def __init__(self, cluster_id: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, shared_filesystem: 'V1SharedFilesystem' =None, steps: 'list[V1PipelineStep]' =None): # noqa: E501
61
+ def __init__(self, cluster_id: 'str' =None, name: 'str' =None, parameters: 'list[V1PipelineParameter]' =None, parent_pipeline_id: 'str' =None, shared_filesystem: 'V1SharedFilesystem' =None, steps: 'list[V1PipelineStep]' =None): # noqa: E501
60
62
  """ProjectIdPipelinesBody - a model defined in Swagger""" # noqa: E501
61
63
  self._cluster_id = None
62
64
  self._name = None
63
65
  self._parameters = None
66
+ self._parent_pipeline_id = None
64
67
  self._shared_filesystem = None
65
68
  self._steps = None
66
69
  self.discriminator = None
@@ -70,6 +73,8 @@ class ProjectIdPipelinesBody(object):
70
73
  self.name = name
71
74
  if parameters is not None:
72
75
  self.parameters = parameters
76
+ if parent_pipeline_id is not None:
77
+ self.parent_pipeline_id = parent_pipeline_id
73
78
  if shared_filesystem is not None:
74
79
  self.shared_filesystem = shared_filesystem
75
80
  if steps is not None:
@@ -138,6 +143,27 @@ class ProjectIdPipelinesBody(object):
138
143
 
139
144
  self._parameters = parameters
140
145
 
146
+ @property
147
+ def parent_pipeline_id(self) -> 'str':
148
+ """Gets the parent_pipeline_id of this ProjectIdPipelinesBody. # noqa: E501
149
+
150
+
151
+ :return: The parent_pipeline_id of this ProjectIdPipelinesBody. # noqa: E501
152
+ :rtype: str
153
+ """
154
+ return self._parent_pipeline_id
155
+
156
+ @parent_pipeline_id.setter
157
+ def parent_pipeline_id(self, parent_pipeline_id: 'str'):
158
+ """Sets the parent_pipeline_id of this ProjectIdPipelinesBody.
159
+
160
+
161
+ :param parent_pipeline_id: The parent_pipeline_id of this ProjectIdPipelinesBody. # noqa: E501
162
+ :type: str
163
+ """
164
+
165
+ self._parent_pipeline_id = parent_pipeline_id
166
+
141
167
  @property
142
168
  def shared_filesystem(self) -> 'V1SharedFilesystem':
143
169
  """Gets the shared_filesystem of this ProjectIdPipelinesBody. # noqa: E501
@@ -43,6 +43,7 @@ class ProjectIdSchedulesBody(object):
43
43
  swagger_types = {
44
44
  'cron_expression': 'str',
45
45
  'display_name': 'str',
46
+ 'parent_resource_id': 'str',
46
47
  'resource_id': 'str',
47
48
  'resource_type': 'V1ScheduleResourceType'
48
49
  }
@@ -50,14 +51,16 @@ class ProjectIdSchedulesBody(object):
50
51
  attribute_map = {
51
52
  'cron_expression': 'cronExpression',
52
53
  'display_name': 'displayName',
54
+ 'parent_resource_id': 'parentResourceId',
53
55
  'resource_id': 'resourceId',
54
56
  'resource_type': 'resourceType'
55
57
  }
56
58
 
57
- def __init__(self, cron_expression: 'str' =None, display_name: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None): # noqa: E501
59
+ def __init__(self, cron_expression: 'str' =None, display_name: 'str' =None, parent_resource_id: 'str' =None, resource_id: 'str' =None, resource_type: 'V1ScheduleResourceType' =None): # noqa: E501
58
60
  """ProjectIdSchedulesBody - a model defined in Swagger""" # noqa: E501
59
61
  self._cron_expression = None
60
62
  self._display_name = None
63
+ self._parent_resource_id = None
61
64
  self._resource_id = None
62
65
  self._resource_type = None
63
66
  self.discriminator = None
@@ -65,6 +68,8 @@ class ProjectIdSchedulesBody(object):
65
68
  self.cron_expression = cron_expression
66
69
  if display_name is not None:
67
70
  self.display_name = display_name
71
+ if parent_resource_id is not None:
72
+ self.parent_resource_id = parent_resource_id
68
73
  if resource_id is not None:
69
74
  self.resource_id = resource_id
70
75
  if resource_type is not None:
@@ -112,6 +117,27 @@ class ProjectIdSchedulesBody(object):
112
117
 
113
118
  self._display_name = display_name
114
119
 
120
+ @property
121
+ def parent_resource_id(self) -> 'str':
122
+ """Gets the parent_resource_id of this ProjectIdSchedulesBody. # noqa: E501
123
+
124
+
125
+ :return: The parent_resource_id of this ProjectIdSchedulesBody. # noqa: E501
126
+ :rtype: str
127
+ """
128
+ return self._parent_resource_id
129
+
130
+ @parent_resource_id.setter
131
+ def parent_resource_id(self, parent_resource_id: 'str'):
132
+ """Sets the parent_resource_id of this ProjectIdSchedulesBody.
133
+
134
+
135
+ :param parent_resource_id: The parent_resource_id of this ProjectIdSchedulesBody. # noqa: E501
136
+ :type: str
137
+ """
138
+
139
+ self._parent_resource_id = parent_resource_id
140
+
115
141
  @property
116
142
  def resource_id(self) -> 'str':
117
143
  """Gets the resource_id of this ProjectIdSchedulesBody. # noqa: E501