lightning-sdk 0.2.22__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 (57) 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 +2 -0
  4. lightning_sdk/api/pipeline_api.py +1 -0
  5. lightning_sdk/api/studio_api.py +2 -0
  6. lightning_sdk/cli/entrypoint.py +15 -13
  7. lightning_sdk/cli/start.py +5 -2
  8. lightning_sdk/lightning_cloud/openapi/__init__.py +8 -0
  9. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +206 -0
  10. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +97 -0
  11. lightning_sdk/lightning_cloud/openapi/api/pipelines_service_api.py +118 -1
  12. lightning_sdk/lightning_cloud/openapi/configuration.py +1 -1
  13. lightning_sdk/lightning_cloud/openapi/models/__init__.py +8 -0
  14. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +29 -3
  15. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_visibility_body.py +123 -0
  16. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
  17. lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +27 -1
  18. lightning_sdk/lightning_cloud/openapi/models/pipelines_id_body.py +27 -1
  19. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +27 -1
  20. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_request.py +123 -0
  21. lightning_sdk/lightning_cloud/openapi/models/v1_check_cluster_name_availability_response.py +123 -0
  22. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_provider.py +1 -0
  23. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +53 -1
  24. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_session.py +29 -3
  25. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +27 -1
  26. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +79 -1
  27. lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_request.py +27 -1
  28. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster.py +253 -0
  29. lightning_sdk/lightning_cloud/openapi/models/v1_external_cluster_spec.py +827 -0
  30. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +27 -1
  31. lightning_sdk/lightning_cloud/openapi/models/v1_instance_overprovisioning_spec.py +29 -1
  32. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +53 -1
  33. lightning_sdk/lightning_cloud/openapi/models/v1_list_clusters_response.py +6 -6
  34. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_clusters_response.py +6 -6
  35. lightning_sdk/lightning_cloud/openapi/models/v1_lite_published_cloud_space_response.py +513 -0
  36. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +27 -1
  37. lightning_sdk/lightning_cloud/openapi/models/v1_pipeline.py +27 -1
  38. lightning_sdk/lightning_cloud/openapi/models/v1_shared_filesystem.py +131 -1
  39. lightning_sdk/lightning_cloud/openapi/models/v1_update_cloud_space_visibility_response.py +97 -0
  40. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +53 -79
  41. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +78 -104
  42. lightning_sdk/lightning_cloud/openapi/models/v1_volume_state.py +104 -0
  43. lightning_sdk/pipeline/__init__.py +11 -2
  44. lightning_sdk/pipeline/pipeline.py +38 -13
  45. lightning_sdk/pipeline/printer.py +29 -10
  46. lightning_sdk/pipeline/schedule.py +2 -1
  47. lightning_sdk/pipeline/{types.py → steps.py} +74 -56
  48. lightning_sdk/pipeline/utils.py +39 -2
  49. lightning_sdk/sandbox.py +157 -0
  50. lightning_sdk/services/license.py +12 -6
  51. lightning_sdk/studio.py +7 -1
  52. {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.23.dist-info}/METADATA +1 -1
  53. {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.23.dist-info}/RECORD +57 -48
  54. {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.23.dist-info}/LICENSE +0 -0
  55. {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.23.dist-info}/WHEEL +0 -0
  56. {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.23.dist-info}/entry_points.txt +0 -0
  57. {lightning_sdk-0.2.22.dist-info → lightning_sdk-0.2.23.dist-info}/top_level.txt +0 -0
@@ -75,6 +75,7 @@ class V1GetUserResponse(object):
75
75
  'sb': 'bool',
76
76
  'status': 'Externalv1UserStatus',
77
77
  'storage_bytes': 'str',
78
+ 'storage_overuse_deletion_at': 'datetime',
78
79
  'user_metadata': 'str',
79
80
  'username': 'str',
80
81
  'waitlisted': 'bool',
@@ -116,13 +117,14 @@ class V1GetUserResponse(object):
116
117
  'sb': 'sb',
117
118
  'status': 'status',
118
119
  'storage_bytes': 'storageBytes',
120
+ 'storage_overuse_deletion_at': 'storageOveruseDeletionAt',
119
121
  'user_metadata': 'userMetadata',
120
122
  'username': 'username',
121
123
  'waitlisted': 'waitlisted',
122
124
  'website': 'website'
123
125
  }
124
126
 
125
- def __init__(self, agree_to_terms_and_conditions: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, api_key: 'str' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, country: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, id: 'str' =None, internal_docs_admin: 'bool' =None, invite_code: 'str' =None, is_internal: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: 'str' =None, organizations: 'list[V1Organization]' =None, phone_number: 'str' =None, picture_url: 'str' =None, preferred_color_scheme: 'str' =None, preferred_ide: 'str' =None, preferred_shell: 'str' =None, preferred_vscode_marketplace: 'str' =None, role: 'str' =None, saw_create_first_project_dialog: 'bool' =None, saw_forums_login_merge_dialog: 'bool' =None, saw_free_credits_notification: 'bool' =None, sb: 'bool' =None, status: 'Externalv1UserStatus' =None, storage_bytes: 'str' =None, user_metadata: 'str' =None, username: 'str' =None, waitlisted: 'bool' =None, website: 'str' =None): # noqa: E501
127
+ def __init__(self, agree_to_terms_and_conditions: 'bool' =None, allow_credits_auto_replenish: 'bool' =None, api_key: 'str' =None, auto_replenish_amount: 'float' =None, auto_replenish_threshold: 'float' =None, country: 'str' =None, discounted_pro_plan: 'bool' =None, email: 'str' =None, experimentation_id: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, id: 'str' =None, internal_docs_admin: 'bool' =None, invite_code: 'str' =None, is_internal: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: 'str' =None, organizations: 'list[V1Organization]' =None, phone_number: 'str' =None, picture_url: 'str' =None, preferred_color_scheme: 'str' =None, preferred_ide: 'str' =None, preferred_shell: 'str' =None, preferred_vscode_marketplace: 'str' =None, role: 'str' =None, saw_create_first_project_dialog: 'bool' =None, saw_forums_login_merge_dialog: 'bool' =None, saw_free_credits_notification: 'bool' =None, sb: 'bool' =None, status: 'Externalv1UserStatus' =None, storage_bytes: 'str' =None, storage_overuse_deletion_at: 'datetime' =None, user_metadata: 'str' =None, username: 'str' =None, waitlisted: 'bool' =None, website: 'str' =None): # noqa: E501
126
128
  """V1GetUserResponse - a model defined in Swagger""" # noqa: E501
127
129
  self._agree_to_terms_and_conditions = None
128
130
  self._allow_credits_auto_replenish = None
@@ -158,6 +160,7 @@ class V1GetUserResponse(object):
158
160
  self._sb = None
159
161
  self._status = None
160
162
  self._storage_bytes = None
163
+ self._storage_overuse_deletion_at = None
161
164
  self._user_metadata = None
162
165
  self._username = None
163
166
  self._waitlisted = None
@@ -231,6 +234,8 @@ class V1GetUserResponse(object):
231
234
  self.status = status
232
235
  if storage_bytes is not None:
233
236
  self.storage_bytes = storage_bytes
237
+ if storage_overuse_deletion_at is not None:
238
+ self.storage_overuse_deletion_at = storage_overuse_deletion_at
234
239
  if user_metadata is not None:
235
240
  self.user_metadata = user_metadata
236
241
  if username is not None:
@@ -954,6 +959,27 @@ class V1GetUserResponse(object):
954
959
 
955
960
  self._storage_bytes = storage_bytes
956
961
 
962
+ @property
963
+ def storage_overuse_deletion_at(self) -> 'datetime':
964
+ """Gets the storage_overuse_deletion_at of this V1GetUserResponse. # noqa: E501
965
+
966
+
967
+ :return: The storage_overuse_deletion_at of this V1GetUserResponse. # noqa: E501
968
+ :rtype: datetime
969
+ """
970
+ return self._storage_overuse_deletion_at
971
+
972
+ @storage_overuse_deletion_at.setter
973
+ def storage_overuse_deletion_at(self, storage_overuse_deletion_at: 'datetime'):
974
+ """Sets the storage_overuse_deletion_at of this V1GetUserResponse.
975
+
976
+
977
+ :param storage_overuse_deletion_at: The storage_overuse_deletion_at of this V1GetUserResponse. # noqa: E501
978
+ :type: datetime
979
+ """
980
+
981
+ self._storage_overuse_deletion_at = storage_overuse_deletion_at
982
+
957
983
  @property
958
984
  def user_metadata(self) -> 'str':
959
985
  """Gets the user_metadata of this V1GetUserResponse. # noqa: E501
@@ -43,6 +43,7 @@ class V1InstanceOverprovisioningSpec(object):
43
43
  swagger_types = {
44
44
  'instance_type': 'str',
45
45
  'is_spot': 'bool',
46
+ 'machine_image_version': 'str',
46
47
  'maximum_count': 'int',
47
48
  'minimum_count': 'int',
48
49
  'region': 'str',
@@ -53,6 +54,7 @@ class V1InstanceOverprovisioningSpec(object):
53
54
  attribute_map = {
54
55
  'instance_type': 'instanceType',
55
56
  'is_spot': 'isSpot',
57
+ 'machine_image_version': 'machineImageVersion',
56
58
  'maximum_count': 'maximumCount',
57
59
  'minimum_count': 'minimumCount',
58
60
  'region': 'region',
@@ -60,10 +62,11 @@ class V1InstanceOverprovisioningSpec(object):
60
62
  'volume_size': 'volumeSize'
61
63
  }
62
64
 
63
- def __init__(self, instance_type: 'str' =None, is_spot: 'bool' =None, maximum_count: 'int' =None, minimum_count: 'int' =None, region: 'str' =None, resource_type: 'str' =None, volume_size: 'int' =None): # noqa: E501
65
+ def __init__(self, instance_type: 'str' =None, is_spot: 'bool' =None, machine_image_version: 'str' =None, maximum_count: 'int' =None, minimum_count: 'int' =None, region: 'str' =None, resource_type: 'str' =None, volume_size: 'int' =None): # noqa: E501
64
66
  """V1InstanceOverprovisioningSpec - a model defined in Swagger""" # noqa: E501
65
67
  self._instance_type = None
66
68
  self._is_spot = None
69
+ self._machine_image_version = None
67
70
  self._maximum_count = None
68
71
  self._minimum_count = None
69
72
  self._region = None
@@ -74,6 +77,8 @@ class V1InstanceOverprovisioningSpec(object):
74
77
  self.instance_type = instance_type
75
78
  if is_spot is not None:
76
79
  self.is_spot = is_spot
80
+ if machine_image_version is not None:
81
+ self.machine_image_version = machine_image_version
77
82
  if maximum_count is not None:
78
83
  self.maximum_count = maximum_count
79
84
  if minimum_count is not None:
@@ -127,6 +132,29 @@ class V1InstanceOverprovisioningSpec(object):
127
132
 
128
133
  self._is_spot = is_spot
129
134
 
135
+ @property
136
+ def machine_image_version(self) -> 'str':
137
+ """Gets the machine_image_version of this V1InstanceOverprovisioningSpec. # noqa: E501
138
+
139
+ Version of the images, Ubuntu 20.04, etc. # noqa: E501
140
+
141
+ :return: The machine_image_version of this V1InstanceOverprovisioningSpec. # noqa: E501
142
+ :rtype: str
143
+ """
144
+ return self._machine_image_version
145
+
146
+ @machine_image_version.setter
147
+ def machine_image_version(self, machine_image_version: 'str'):
148
+ """Sets the machine_image_version of this V1InstanceOverprovisioningSpec.
149
+
150
+ Version of the images, Ubuntu 20.04, etc. # noqa: E501
151
+
152
+ :param machine_image_version: The machine_image_version of this V1InstanceOverprovisioningSpec. # noqa: E501
153
+ :type: str
154
+ """
155
+
156
+ self._machine_image_version = machine_image_version
157
+
130
158
  @property
131
159
  def maximum_count(self) -> 'int':
132
160
  """Gets the maximum_count of this V1InstanceOverprovisioningSpec. # noqa: E501
@@ -56,12 +56,14 @@ class V1LightningRun(object):
56
56
  'is_headless': 'bool',
57
57
  'is_published': 'bool',
58
58
  'network_config': 'list[V1NetworkConfig]',
59
+ 'number_of_files': 'str',
59
60
  'parent_id': 'str',
60
61
  'project_id': 'str',
61
62
  'published_at': 'datetime',
62
63
  'should_mount_cloudspace_content': 'bool',
63
64
  'source_code_url': 'str',
64
65
  'source_upload_url': 'str',
66
+ 'total_size_bytes': 'str',
65
67
  'unique_id': 'str',
66
68
  'user_id': 'str',
67
69
  'user_requested_flow_compute_config': 'V1UserRequestedFlowComputeConfig',
@@ -85,12 +87,14 @@ class V1LightningRun(object):
85
87
  'is_headless': 'isHeadless',
86
88
  'is_published': 'isPublished',
87
89
  'network_config': 'networkConfig',
90
+ 'number_of_files': 'numberOfFiles',
88
91
  'parent_id': 'parentId',
89
92
  'project_id': 'projectId',
90
93
  'published_at': 'publishedAt',
91
94
  'should_mount_cloudspace_content': 'shouldMountCloudspaceContent',
92
95
  'source_code_url': 'sourceCodeUrl',
93
96
  'source_upload_url': 'sourceUploadUrl',
97
+ 'total_size_bytes': 'totalSizeBytes',
94
98
  'unique_id': 'uniqueId',
95
99
  'user_id': 'userId',
96
100
  'user_requested_flow_compute_config': 'userRequestedFlowComputeConfig',
@@ -98,7 +102,7 @@ class V1LightningRun(object):
98
102
  'works': 'works'
99
103
  }
100
104
 
101
- def __init__(self, app_entrypoint_file: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, dependency_cache_key: 'str' =None, description: 'str' =None, enable_app_server: 'bool' =None, env: 'list[V1EnvVar]' =None, flow_servers: 'list[V1Flowserver]' =None, id: 'str' =None, image_id: 'str' =None, image_spec: 'V1ImageSpec' =None, is_headless: 'bool' =None, is_published: 'bool' =None, network_config: 'list[V1NetworkConfig]' =None, parent_id: 'str' =None, project_id: 'str' =None, published_at: 'datetime' =None, should_mount_cloudspace_content: 'bool' =None, source_code_url: 'str' =None, source_upload_url: 'str' =None, unique_id: 'str' =None, user_id: 'str' =None, user_requested_flow_compute_config: 'V1UserRequestedFlowComputeConfig' =None, version: 'str' =None, works: 'list[V1Work]' =None): # noqa: E501
105
+ def __init__(self, app_entrypoint_file: 'str' =None, cloudspace_id: 'str' =None, cluster_id: 'str' =None, created_at: 'datetime' =None, dependency_cache_key: 'str' =None, description: 'str' =None, enable_app_server: 'bool' =None, env: 'list[V1EnvVar]' =None, flow_servers: 'list[V1Flowserver]' =None, id: 'str' =None, image_id: 'str' =None, image_spec: 'V1ImageSpec' =None, is_headless: 'bool' =None, is_published: 'bool' =None, network_config: 'list[V1NetworkConfig]' =None, number_of_files: 'str' =None, parent_id: 'str' =None, project_id: 'str' =None, published_at: 'datetime' =None, should_mount_cloudspace_content: 'bool' =None, source_code_url: 'str' =None, source_upload_url: 'str' =None, total_size_bytes: 'str' =None, unique_id: 'str' =None, user_id: 'str' =None, user_requested_flow_compute_config: 'V1UserRequestedFlowComputeConfig' =None, version: 'str' =None, works: 'list[V1Work]' =None): # noqa: E501
102
106
  """V1LightningRun - a model defined in Swagger""" # noqa: E501
103
107
  self._app_entrypoint_file = None
104
108
  self._cloudspace_id = None
@@ -115,12 +119,14 @@ class V1LightningRun(object):
115
119
  self._is_headless = None
116
120
  self._is_published = None
117
121
  self._network_config = None
122
+ self._number_of_files = None
118
123
  self._parent_id = None
119
124
  self._project_id = None
120
125
  self._published_at = None
121
126
  self._should_mount_cloudspace_content = None
122
127
  self._source_code_url = None
123
128
  self._source_upload_url = None
129
+ self._total_size_bytes = None
124
130
  self._unique_id = None
125
131
  self._user_id = None
126
132
  self._user_requested_flow_compute_config = None
@@ -157,6 +163,8 @@ class V1LightningRun(object):
157
163
  self.is_published = is_published
158
164
  if network_config is not None:
159
165
  self.network_config = network_config
166
+ if number_of_files is not None:
167
+ self.number_of_files = number_of_files
160
168
  if parent_id is not None:
161
169
  self.parent_id = parent_id
162
170
  if project_id is not None:
@@ -169,6 +177,8 @@ class V1LightningRun(object):
169
177
  self.source_code_url = source_code_url
170
178
  if source_upload_url is not None:
171
179
  self.source_upload_url = source_upload_url
180
+ if total_size_bytes is not None:
181
+ self.total_size_bytes = total_size_bytes
172
182
  if unique_id is not None:
173
183
  self.unique_id = unique_id
174
184
  if user_id is not None:
@@ -495,6 +505,27 @@ class V1LightningRun(object):
495
505
 
496
506
  self._network_config = network_config
497
507
 
508
+ @property
509
+ def number_of_files(self) -> 'str':
510
+ """Gets the number_of_files of this V1LightningRun. # noqa: E501
511
+
512
+
513
+ :return: The number_of_files of this V1LightningRun. # noqa: E501
514
+ :rtype: str
515
+ """
516
+ return self._number_of_files
517
+
518
+ @number_of_files.setter
519
+ def number_of_files(self, number_of_files: 'str'):
520
+ """Sets the number_of_files of this V1LightningRun.
521
+
522
+
523
+ :param number_of_files: The number_of_files of this V1LightningRun. # noqa: E501
524
+ :type: str
525
+ """
526
+
527
+ self._number_of_files = number_of_files
528
+
498
529
  @property
499
530
  def parent_id(self) -> 'str':
500
531
  """Gets the parent_id of this V1LightningRun. # noqa: E501
@@ -623,6 +654,27 @@ class V1LightningRun(object):
623
654
 
624
655
  self._source_upload_url = source_upload_url
625
656
 
657
+ @property
658
+ def total_size_bytes(self) -> 'str':
659
+ """Gets the total_size_bytes of this V1LightningRun. # noqa: E501
660
+
661
+
662
+ :return: The total_size_bytes of this V1LightningRun. # noqa: E501
663
+ :rtype: str
664
+ """
665
+ return self._total_size_bytes
666
+
667
+ @total_size_bytes.setter
668
+ def total_size_bytes(self, total_size_bytes: 'str'):
669
+ """Sets the total_size_bytes of this V1LightningRun.
670
+
671
+
672
+ :param total_size_bytes: The total_size_bytes of this V1LightningRun. # noqa: E501
673
+ :type: str
674
+ """
675
+
676
+ self._total_size_bytes = total_size_bytes
677
+
626
678
  @property
627
679
  def unique_id(self) -> 'str':
628
680
  """Gets the unique_id of this V1LightningRun. # noqa: E501
@@ -41,7 +41,7 @@ class V1ListClustersResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'clusters': 'list[Externalv1Cluster]',
44
+ 'clusters': 'list[V1ExternalCluster]',
45
45
  'default_cluster': 'str'
46
46
  }
47
47
 
@@ -50,7 +50,7 @@ class V1ListClustersResponse(object):
50
50
  'default_cluster': 'defaultCluster'
51
51
  }
52
52
 
53
- def __init__(self, clusters: 'list[Externalv1Cluster]' =None, default_cluster: 'str' =None): # noqa: E501
53
+ def __init__(self, clusters: 'list[V1ExternalCluster]' =None, default_cluster: 'str' =None): # noqa: E501
54
54
  """V1ListClustersResponse - a model defined in Swagger""" # noqa: E501
55
55
  self._clusters = None
56
56
  self._default_cluster = None
@@ -61,22 +61,22 @@ class V1ListClustersResponse(object):
61
61
  self.default_cluster = default_cluster
62
62
 
63
63
  @property
64
- def clusters(self) -> 'list[Externalv1Cluster]':
64
+ def clusters(self) -> 'list[V1ExternalCluster]':
65
65
  """Gets the clusters of this V1ListClustersResponse. # noqa: E501
66
66
 
67
67
 
68
68
  :return: The clusters of this V1ListClustersResponse. # noqa: E501
69
- :rtype: list[Externalv1Cluster]
69
+ :rtype: list[V1ExternalCluster]
70
70
  """
71
71
  return self._clusters
72
72
 
73
73
  @clusters.setter
74
- def clusters(self, clusters: 'list[Externalv1Cluster]'):
74
+ def clusters(self, clusters: 'list[V1ExternalCluster]'):
75
75
  """Sets the clusters of this V1ListClustersResponse.
76
76
 
77
77
 
78
78
  :param clusters: The clusters of this V1ListClustersResponse. # noqa: E501
79
- :type: list[Externalv1Cluster]
79
+ :type: list[V1ExternalCluster]
80
80
  """
81
81
 
82
82
  self._clusters = clusters
@@ -41,14 +41,14 @@ class V1ListProjectClustersResponse(object):
41
41
  and the value is json key in definition.
42
42
  """
43
43
  swagger_types = {
44
- 'clusters': 'list[Externalv1Cluster]'
44
+ 'clusters': 'list[V1ExternalCluster]'
45
45
  }
46
46
 
47
47
  attribute_map = {
48
48
  'clusters': 'clusters'
49
49
  }
50
50
 
51
- def __init__(self, clusters: 'list[Externalv1Cluster]' =None): # noqa: E501
51
+ def __init__(self, clusters: 'list[V1ExternalCluster]' =None): # noqa: E501
52
52
  """V1ListProjectClustersResponse - a model defined in Swagger""" # noqa: E501
53
53
  self._clusters = None
54
54
  self.discriminator = None
@@ -56,22 +56,22 @@ class V1ListProjectClustersResponse(object):
56
56
  self.clusters = clusters
57
57
 
58
58
  @property
59
- def clusters(self) -> 'list[Externalv1Cluster]':
59
+ def clusters(self) -> 'list[V1ExternalCluster]':
60
60
  """Gets the clusters of this V1ListProjectClustersResponse. # noqa: E501
61
61
 
62
62
 
63
63
  :return: The clusters of this V1ListProjectClustersResponse. # noqa: E501
64
- :rtype: list[Externalv1Cluster]
64
+ :rtype: list[V1ExternalCluster]
65
65
  """
66
66
  return self._clusters
67
67
 
68
68
  @clusters.setter
69
- def clusters(self, clusters: 'list[Externalv1Cluster]'):
69
+ def clusters(self, clusters: 'list[V1ExternalCluster]'):
70
70
  """Sets the clusters of this V1ListProjectClustersResponse.
71
71
 
72
72
 
73
73
  :param clusters: The clusters of this V1ListProjectClustersResponse. # noqa: E501
74
- :type: list[Externalv1Cluster]
74
+ :type: list[V1ExternalCluster]
75
75
  """
76
76
 
77
77
  self._clusters = clusters