lightning-sdk 0.1.34__py3-none-any.whl → 0.1.36__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 +67 -8
- lightning_sdk/api/ai_hub_api.py +60 -19
- lightning_sdk/api/utils.py +1 -0
- lightning_sdk/cli/ai_hub.py +11 -0
- lightning_sdk/cli/download.py +3 -3
- lightning_sdk/lightning_cloud/cli/__main__.py +15 -13
- lightning_sdk/lightning_cloud/login.py +5 -2
- lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +10 -2
- lightning_sdk/lightning_cloud/openapi/models/agents_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/snowflake_export_body.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_release.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_state.py +1 -0
- lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +53 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py +1 -27
- lightning_sdk/lightning_cloud/openapi/models/v1_metrics.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_snowflake_data_connection.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +27 -1
- lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +27 -1
- lightning_sdk/lightning_cloud/rest_client.py +1 -4
- lightning_sdk/lightning_cloud/source_code/tar.py +1 -3
- {lightning_sdk-0.1.34.dist-info → lightning_sdk-0.1.36.dist-info}/METADATA +1 -2
- {lightning_sdk-0.1.34.dist-info → lightning_sdk-0.1.36.dist-info}/RECORD +40 -40
- {lightning_sdk-0.1.34.dist-info → lightning_sdk-0.1.36.dist-info}/LICENSE +0 -0
- {lightning_sdk-0.1.34.dist-info → lightning_sdk-0.1.36.dist-info}/WHEEL +0 -0
- {lightning_sdk-0.1.34.dist-info → lightning_sdk-0.1.36.dist-info}/entry_points.txt +0 -0
- {lightning_sdk-0.1.34.dist-info → lightning_sdk-0.1.36.dist-info}/top_level.txt +0 -0
|
@@ -43,6 +43,7 @@ class V1DeploymentStatus(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'deleting_replicas': 'str',
|
|
45
45
|
'failing_replicas': 'str',
|
|
46
|
+
'first_job_state_current_release': 'str',
|
|
46
47
|
'message': 'str',
|
|
47
48
|
'pending_replicas': 'str',
|
|
48
49
|
'ready_replicas': 'str',
|
|
@@ -52,16 +53,18 @@ class V1DeploymentStatus(object):
|
|
|
52
53
|
attribute_map = {
|
|
53
54
|
'deleting_replicas': 'deletingReplicas',
|
|
54
55
|
'failing_replicas': 'failingReplicas',
|
|
56
|
+
'first_job_state_current_release': 'firstJobStateCurrentRelease',
|
|
55
57
|
'message': 'message',
|
|
56
58
|
'pending_replicas': 'pendingReplicas',
|
|
57
59
|
'ready_replicas': 'readyReplicas',
|
|
58
60
|
'urls': 'urls'
|
|
59
61
|
}
|
|
60
62
|
|
|
61
|
-
def __init__(self, deleting_replicas: 'str' =None, failing_replicas: 'str' =None, message: 'str' =None, pending_replicas: 'str' =None, ready_replicas: 'str' =None, urls: 'list[str]' =None): # noqa: E501
|
|
63
|
+
def __init__(self, deleting_replicas: 'str' =None, failing_replicas: 'str' =None, first_job_state_current_release: 'str' =None, message: 'str' =None, pending_replicas: 'str' =None, ready_replicas: 'str' =None, urls: 'list[str]' =None): # noqa: E501
|
|
62
64
|
"""V1DeploymentStatus - a model defined in Swagger""" # noqa: E501
|
|
63
65
|
self._deleting_replicas = None
|
|
64
66
|
self._failing_replicas = None
|
|
67
|
+
self._first_job_state_current_release = None
|
|
65
68
|
self._message = None
|
|
66
69
|
self._pending_replicas = None
|
|
67
70
|
self._ready_replicas = None
|
|
@@ -71,6 +74,8 @@ class V1DeploymentStatus(object):
|
|
|
71
74
|
self.deleting_replicas = deleting_replicas
|
|
72
75
|
if failing_replicas is not None:
|
|
73
76
|
self.failing_replicas = failing_replicas
|
|
77
|
+
if first_job_state_current_release is not None:
|
|
78
|
+
self.first_job_state_current_release = first_job_state_current_release
|
|
74
79
|
if message is not None:
|
|
75
80
|
self.message = message
|
|
76
81
|
if pending_replicas is not None:
|
|
@@ -122,6 +127,27 @@ class V1DeploymentStatus(object):
|
|
|
122
127
|
|
|
123
128
|
self._failing_replicas = failing_replicas
|
|
124
129
|
|
|
130
|
+
@property
|
|
131
|
+
def first_job_state_current_release(self) -> 'str':
|
|
132
|
+
"""Gets the first_job_state_current_release of this V1DeploymentStatus. # noqa: E501
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:return: The first_job_state_current_release of this V1DeploymentStatus. # noqa: E501
|
|
136
|
+
:rtype: str
|
|
137
|
+
"""
|
|
138
|
+
return self._first_job_state_current_release
|
|
139
|
+
|
|
140
|
+
@first_job_state_current_release.setter
|
|
141
|
+
def first_job_state_current_release(self, first_job_state_current_release: 'str'):
|
|
142
|
+
"""Sets the first_job_state_current_release of this V1DeploymentStatus.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:param first_job_state_current_release: The first_job_state_current_release of this V1DeploymentStatus. # noqa: E501
|
|
146
|
+
:type: str
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
self._first_job_state_current_release = first_job_state_current_release
|
|
150
|
+
|
|
125
151
|
@property
|
|
126
152
|
def message(self) -> 'str':
|
|
127
153
|
"""Gets the message of this V1DeploymentStatus. # noqa: E501
|
|
@@ -44,6 +44,7 @@ class V1GetModelFilesResponse(object):
|
|
|
44
44
|
'filepaths': 'list[str]',
|
|
45
45
|
'model_id': 'str',
|
|
46
46
|
'project_id': 'str',
|
|
47
|
+
'size_bytes': 'str',
|
|
47
48
|
'version': 'str'
|
|
48
49
|
}
|
|
49
50
|
|
|
@@ -51,14 +52,16 @@ class V1GetModelFilesResponse(object):
|
|
|
51
52
|
'filepaths': 'filepaths',
|
|
52
53
|
'model_id': 'modelId',
|
|
53
54
|
'project_id': 'projectId',
|
|
55
|
+
'size_bytes': 'sizeBytes',
|
|
54
56
|
'version': 'version'
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
def __init__(self, filepaths: 'list[str]' =None, model_id: 'str' =None, project_id: 'str' =None, version: 'str' =None): # noqa: E501
|
|
59
|
+
def __init__(self, filepaths: 'list[str]' =None, model_id: 'str' =None, project_id: 'str' =None, size_bytes: 'str' =None, version: 'str' =None): # noqa: E501
|
|
58
60
|
"""V1GetModelFilesResponse - a model defined in Swagger""" # noqa: E501
|
|
59
61
|
self._filepaths = None
|
|
60
62
|
self._model_id = None
|
|
61
63
|
self._project_id = None
|
|
64
|
+
self._size_bytes = None
|
|
62
65
|
self._version = None
|
|
63
66
|
self.discriminator = None
|
|
64
67
|
if filepaths is not None:
|
|
@@ -67,6 +70,8 @@ class V1GetModelFilesResponse(object):
|
|
|
67
70
|
self.model_id = model_id
|
|
68
71
|
if project_id is not None:
|
|
69
72
|
self.project_id = project_id
|
|
73
|
+
if size_bytes is not None:
|
|
74
|
+
self.size_bytes = size_bytes
|
|
70
75
|
if version is not None:
|
|
71
76
|
self.version = version
|
|
72
77
|
|
|
@@ -133,6 +138,27 @@ class V1GetModelFilesResponse(object):
|
|
|
133
138
|
|
|
134
139
|
self._project_id = project_id
|
|
135
140
|
|
|
141
|
+
@property
|
|
142
|
+
def size_bytes(self) -> 'str':
|
|
143
|
+
"""Gets the size_bytes of this V1GetModelFilesResponse. # noqa: E501
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
:return: The size_bytes of this V1GetModelFilesResponse. # noqa: E501
|
|
147
|
+
:rtype: str
|
|
148
|
+
"""
|
|
149
|
+
return self._size_bytes
|
|
150
|
+
|
|
151
|
+
@size_bytes.setter
|
|
152
|
+
def size_bytes(self, size_bytes: 'str'):
|
|
153
|
+
"""Sets the size_bytes of this V1GetModelFilesResponse.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:param size_bytes: The size_bytes of this V1GetModelFilesResponse. # noqa: E501
|
|
157
|
+
:type: str
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
self._size_bytes = size_bytes
|
|
161
|
+
|
|
136
162
|
@property
|
|
137
163
|
def version(self) -> 'str':
|
|
138
164
|
"""Gets the version of this V1GetModelFilesResponse. # noqa: E501
|
|
@@ -45,6 +45,7 @@ class V1GetUserResponse(object):
|
|
|
45
45
|
'api_key': 'str',
|
|
46
46
|
'country': 'str',
|
|
47
47
|
'email': 'str',
|
|
48
|
+
'experimentation_id': 'str',
|
|
48
49
|
'features': 'V1UserFeatures',
|
|
49
50
|
'first_name': 'str',
|
|
50
51
|
'general_audience_mode': 'bool',
|
|
@@ -56,6 +57,7 @@ class V1GetUserResponse(object):
|
|
|
56
57
|
'opted_in_marketing_emails': 'bool',
|
|
57
58
|
'organization': 'str',
|
|
58
59
|
'organizations': 'list[V1Organization]',
|
|
60
|
+
'phone_number': 'str',
|
|
59
61
|
'picture_url': 'str',
|
|
60
62
|
'preferred_color_scheme': 'str',
|
|
61
63
|
'preferred_ide': 'str',
|
|
@@ -79,6 +81,7 @@ class V1GetUserResponse(object):
|
|
|
79
81
|
'api_key': 'apiKey',
|
|
80
82
|
'country': 'country',
|
|
81
83
|
'email': 'email',
|
|
84
|
+
'experimentation_id': 'experimentationId',
|
|
82
85
|
'features': 'features',
|
|
83
86
|
'first_name': 'firstName',
|
|
84
87
|
'general_audience_mode': 'generalAudienceMode',
|
|
@@ -90,6 +93,7 @@ class V1GetUserResponse(object):
|
|
|
90
93
|
'opted_in_marketing_emails': 'optedInMarketingEmails',
|
|
91
94
|
'organization': 'organization',
|
|
92
95
|
'organizations': 'organizations',
|
|
96
|
+
'phone_number': 'phoneNumber',
|
|
93
97
|
'picture_url': 'pictureUrl',
|
|
94
98
|
'preferred_color_scheme': 'preferredColorScheme',
|
|
95
99
|
'preferred_ide': 'preferredIde',
|
|
@@ -108,12 +112,13 @@ class V1GetUserResponse(object):
|
|
|
108
112
|
'website': 'website'
|
|
109
113
|
}
|
|
110
114
|
|
|
111
|
-
def __init__(self, agree_to_terms_and_conditions: 'bool' =None, api_key: 'str' =None, country: 'str' =None, email: 'str' =None, features: 'V1UserFeatures' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, id: 'str' =None, internal_docs_admin: 'bool' =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, 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
|
|
115
|
+
def __init__(self, agree_to_terms_and_conditions: 'bool' =None, api_key: 'str' =None, country: 'str' =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, 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
|
|
112
116
|
"""V1GetUserResponse - a model defined in Swagger""" # noqa: E501
|
|
113
117
|
self._agree_to_terms_and_conditions = None
|
|
114
118
|
self._api_key = None
|
|
115
119
|
self._country = None
|
|
116
120
|
self._email = None
|
|
121
|
+
self._experimentation_id = None
|
|
117
122
|
self._features = None
|
|
118
123
|
self._first_name = None
|
|
119
124
|
self._general_audience_mode = None
|
|
@@ -125,6 +130,7 @@ class V1GetUserResponse(object):
|
|
|
125
130
|
self._opted_in_marketing_emails = None
|
|
126
131
|
self._organization = None
|
|
127
132
|
self._organizations = None
|
|
133
|
+
self._phone_number = None
|
|
128
134
|
self._picture_url = None
|
|
129
135
|
self._preferred_color_scheme = None
|
|
130
136
|
self._preferred_ide = None
|
|
@@ -150,6 +156,8 @@ class V1GetUserResponse(object):
|
|
|
150
156
|
self.country = country
|
|
151
157
|
if email is not None:
|
|
152
158
|
self.email = email
|
|
159
|
+
if experimentation_id is not None:
|
|
160
|
+
self.experimentation_id = experimentation_id
|
|
153
161
|
if features is not None:
|
|
154
162
|
self.features = features
|
|
155
163
|
if first_name is not None:
|
|
@@ -172,6 +180,8 @@ class V1GetUserResponse(object):
|
|
|
172
180
|
self.organization = organization
|
|
173
181
|
if organizations is not None:
|
|
174
182
|
self.organizations = organizations
|
|
183
|
+
if phone_number is not None:
|
|
184
|
+
self.phone_number = phone_number
|
|
175
185
|
if picture_url is not None:
|
|
176
186
|
self.picture_url = picture_url
|
|
177
187
|
if preferred_color_scheme is not None:
|
|
@@ -289,6 +299,27 @@ class V1GetUserResponse(object):
|
|
|
289
299
|
|
|
290
300
|
self._email = email
|
|
291
301
|
|
|
302
|
+
@property
|
|
303
|
+
def experimentation_id(self) -> 'str':
|
|
304
|
+
"""Gets the experimentation_id of this V1GetUserResponse. # noqa: E501
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
:return: The experimentation_id of this V1GetUserResponse. # noqa: E501
|
|
308
|
+
:rtype: str
|
|
309
|
+
"""
|
|
310
|
+
return self._experimentation_id
|
|
311
|
+
|
|
312
|
+
@experimentation_id.setter
|
|
313
|
+
def experimentation_id(self, experimentation_id: 'str'):
|
|
314
|
+
"""Sets the experimentation_id of this V1GetUserResponse.
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
:param experimentation_id: The experimentation_id of this V1GetUserResponse. # noqa: E501
|
|
318
|
+
:type: str
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
self._experimentation_id = experimentation_id
|
|
322
|
+
|
|
292
323
|
@property
|
|
293
324
|
def features(self) -> 'V1UserFeatures':
|
|
294
325
|
"""Gets the features of this V1GetUserResponse. # noqa: E501
|
|
@@ -520,6 +551,27 @@ class V1GetUserResponse(object):
|
|
|
520
551
|
|
|
521
552
|
self._organizations = organizations
|
|
522
553
|
|
|
554
|
+
@property
|
|
555
|
+
def phone_number(self) -> 'str':
|
|
556
|
+
"""Gets the phone_number of this V1GetUserResponse. # noqa: E501
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
:return: The phone_number of this V1GetUserResponse. # noqa: E501
|
|
560
|
+
:rtype: str
|
|
561
|
+
"""
|
|
562
|
+
return self._phone_number
|
|
563
|
+
|
|
564
|
+
@phone_number.setter
|
|
565
|
+
def phone_number(self, phone_number: 'str'):
|
|
566
|
+
"""Sets the phone_number of this V1GetUserResponse.
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
:param phone_number: The phone_number of this V1GetUserResponse. # noqa: E501
|
|
570
|
+
:type: str
|
|
571
|
+
"""
|
|
572
|
+
|
|
573
|
+
self._phone_number = phone_number
|
|
574
|
+
|
|
523
575
|
@property
|
|
524
576
|
def picture_url(self) -> 'str':
|
|
525
577
|
"""Gets the picture_url of this V1GetUserResponse. # noqa: E501
|
|
@@ -44,6 +44,7 @@ class V1GoogleCloudDirectV1(object):
|
|
|
44
44
|
'bucket_name': 'str',
|
|
45
45
|
'credentials_secret_id': 'str',
|
|
46
46
|
'credentials_service_account_email': 'str',
|
|
47
|
+
'dws_enabled': 'bool',
|
|
47
48
|
'primary_region': 'str',
|
|
48
49
|
'project_id': 'str',
|
|
49
50
|
'regions': 'list[str]',
|
|
@@ -55,6 +56,7 @@ class V1GoogleCloudDirectV1(object):
|
|
|
55
56
|
'bucket_name': 'bucketName',
|
|
56
57
|
'credentials_secret_id': 'credentialsSecretId',
|
|
57
58
|
'credentials_service_account_email': 'credentialsServiceAccountEmail',
|
|
59
|
+
'dws_enabled': 'dwsEnabled',
|
|
58
60
|
'primary_region': 'primaryRegion',
|
|
59
61
|
'project_id': 'projectId',
|
|
60
62
|
'regions': 'regions',
|
|
@@ -62,11 +64,12 @@ class V1GoogleCloudDirectV1(object):
|
|
|
62
64
|
'source_cidr_ips': 'sourceCidrIps'
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
def __init__(self, bucket_name: 'str' =None, credentials_secret_id: 'str' =None, credentials_service_account_email: 'str' =None, primary_region: 'str' =None, project_id: 'str' =None, regions: 'list[str]' =None, service_account_email: 'str' =None, source_cidr_ips: 'list[str]' =None): # noqa: E501
|
|
67
|
+
def __init__(self, bucket_name: 'str' =None, credentials_secret_id: 'str' =None, credentials_service_account_email: 'str' =None, dws_enabled: 'bool' =None, primary_region: 'str' =None, project_id: 'str' =None, regions: 'list[str]' =None, service_account_email: 'str' =None, source_cidr_ips: 'list[str]' =None): # noqa: E501
|
|
66
68
|
"""V1GoogleCloudDirectV1 - a model defined in Swagger""" # noqa: E501
|
|
67
69
|
self._bucket_name = None
|
|
68
70
|
self._credentials_secret_id = None
|
|
69
71
|
self._credentials_service_account_email = None
|
|
72
|
+
self._dws_enabled = None
|
|
70
73
|
self._primary_region = None
|
|
71
74
|
self._project_id = None
|
|
72
75
|
self._regions = None
|
|
@@ -79,6 +82,8 @@ class V1GoogleCloudDirectV1(object):
|
|
|
79
82
|
self.credentials_secret_id = credentials_secret_id
|
|
80
83
|
if credentials_service_account_email is not None:
|
|
81
84
|
self.credentials_service_account_email = credentials_service_account_email
|
|
85
|
+
if dws_enabled is not None:
|
|
86
|
+
self.dws_enabled = dws_enabled
|
|
82
87
|
if primary_region is not None:
|
|
83
88
|
self.primary_region = primary_region
|
|
84
89
|
if project_id is not None:
|
|
@@ -155,6 +160,27 @@ class V1GoogleCloudDirectV1(object):
|
|
|
155
160
|
|
|
156
161
|
self._credentials_service_account_email = credentials_service_account_email
|
|
157
162
|
|
|
163
|
+
@property
|
|
164
|
+
def dws_enabled(self) -> 'bool':
|
|
165
|
+
"""Gets the dws_enabled of this V1GoogleCloudDirectV1. # noqa: E501
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:return: The dws_enabled of this V1GoogleCloudDirectV1. # noqa: E501
|
|
169
|
+
:rtype: bool
|
|
170
|
+
"""
|
|
171
|
+
return self._dws_enabled
|
|
172
|
+
|
|
173
|
+
@dws_enabled.setter
|
|
174
|
+
def dws_enabled(self, dws_enabled: 'bool'):
|
|
175
|
+
"""Sets the dws_enabled of this V1GoogleCloudDirectV1.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:param dws_enabled: The dws_enabled of this V1GoogleCloudDirectV1. # noqa: E501
|
|
179
|
+
:type: bool
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
self._dws_enabled = dws_enabled
|
|
183
|
+
|
|
158
184
|
@property
|
|
159
185
|
def primary_region(self) -> 'str':
|
|
160
186
|
"""Gets the primary_region of this V1GoogleCloudDirectV1. # noqa: E501
|
|
@@ -43,6 +43,7 @@ class V1MagicLinkLoginRequest(object):
|
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'collab_session_id': 'str',
|
|
45
45
|
'email': 'str',
|
|
46
|
+
'experimentation_id': 'str',
|
|
46
47
|
'invite_code': 'str',
|
|
47
48
|
'redirect_url': 'str',
|
|
48
49
|
'referrer_params': 'str'
|
|
@@ -51,15 +52,17 @@ class V1MagicLinkLoginRequest(object):
|
|
|
51
52
|
attribute_map = {
|
|
52
53
|
'collab_session_id': 'collabSessionId',
|
|
53
54
|
'email': 'email',
|
|
55
|
+
'experimentation_id': 'experimentationId',
|
|
54
56
|
'invite_code': 'inviteCode',
|
|
55
57
|
'redirect_url': 'redirectUrl',
|
|
56
58
|
'referrer_params': 'referrerParams'
|
|
57
59
|
}
|
|
58
60
|
|
|
59
|
-
def __init__(self, collab_session_id: 'str' =None, email: 'str' =None, invite_code: 'str' =None, redirect_url: 'str' =None, referrer_params: 'str' =None): # noqa: E501
|
|
61
|
+
def __init__(self, collab_session_id: 'str' =None, email: 'str' =None, experimentation_id: 'str' =None, invite_code: 'str' =None, redirect_url: 'str' =None, referrer_params: 'str' =None): # noqa: E501
|
|
60
62
|
"""V1MagicLinkLoginRequest - a model defined in Swagger""" # noqa: E501
|
|
61
63
|
self._collab_session_id = None
|
|
62
64
|
self._email = None
|
|
65
|
+
self._experimentation_id = None
|
|
63
66
|
self._invite_code = None
|
|
64
67
|
self._redirect_url = None
|
|
65
68
|
self._referrer_params = None
|
|
@@ -68,6 +71,8 @@ class V1MagicLinkLoginRequest(object):
|
|
|
68
71
|
self.collab_session_id = collab_session_id
|
|
69
72
|
if email is not None:
|
|
70
73
|
self.email = email
|
|
74
|
+
if experimentation_id is not None:
|
|
75
|
+
self.experimentation_id = experimentation_id
|
|
71
76
|
if invite_code is not None:
|
|
72
77
|
self.invite_code = invite_code
|
|
73
78
|
if redirect_url is not None:
|
|
@@ -117,6 +122,27 @@ class V1MagicLinkLoginRequest(object):
|
|
|
117
122
|
|
|
118
123
|
self._email = email
|
|
119
124
|
|
|
125
|
+
@property
|
|
126
|
+
def experimentation_id(self) -> 'str':
|
|
127
|
+
"""Gets the experimentation_id of this V1MagicLinkLoginRequest. # noqa: E501
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:return: The experimentation_id of this V1MagicLinkLoginRequest. # noqa: E501
|
|
131
|
+
:rtype: str
|
|
132
|
+
"""
|
|
133
|
+
return self._experimentation_id
|
|
134
|
+
|
|
135
|
+
@experimentation_id.setter
|
|
136
|
+
def experimentation_id(self, experimentation_id: 'str'):
|
|
137
|
+
"""Sets the experimentation_id of this V1MagicLinkLoginRequest.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:param experimentation_id: The experimentation_id of this V1MagicLinkLoginRequest. # noqa: E501
|
|
141
|
+
:type: str
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
self._experimentation_id = experimentation_id
|
|
145
|
+
|
|
120
146
|
@property
|
|
121
147
|
def invite_code(self) -> 'str':
|
|
122
148
|
"""Gets the invite_code of this V1MagicLinkLoginRequest. # noqa: E501
|
|
@@ -42,29 +42,24 @@ class V1MetricValue(object):
|
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
44
|
'created_at': 'datetime',
|
|
45
|
-
'internal_step': 'str',
|
|
46
45
|
'step': 'str',
|
|
47
46
|
'value': 'float'
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
attribute_map = {
|
|
51
50
|
'created_at': 'createdAt',
|
|
52
|
-
'internal_step': 'internalStep',
|
|
53
51
|
'step': 'step',
|
|
54
52
|
'value': 'value'
|
|
55
53
|
}
|
|
56
54
|
|
|
57
|
-
def __init__(self, created_at: 'datetime' =None,
|
|
55
|
+
def __init__(self, created_at: 'datetime' =None, step: 'str' =None, value: 'float' =None): # noqa: E501
|
|
58
56
|
"""V1MetricValue - a model defined in Swagger""" # noqa: E501
|
|
59
57
|
self._created_at = None
|
|
60
|
-
self._internal_step = None
|
|
61
58
|
self._step = None
|
|
62
59
|
self._value = None
|
|
63
60
|
self.discriminator = None
|
|
64
61
|
if created_at is not None:
|
|
65
62
|
self.created_at = created_at
|
|
66
|
-
if internal_step is not None:
|
|
67
|
-
self.internal_step = internal_step
|
|
68
63
|
if step is not None:
|
|
69
64
|
self.step = step
|
|
70
65
|
if value is not None:
|
|
@@ -91,27 +86,6 @@ class V1MetricValue(object):
|
|
|
91
86
|
|
|
92
87
|
self._created_at = created_at
|
|
93
88
|
|
|
94
|
-
@property
|
|
95
|
-
def internal_step(self) -> 'str':
|
|
96
|
-
"""Gets the internal_step of this V1MetricValue. # noqa: E501
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
:return: The internal_step of this V1MetricValue. # noqa: E501
|
|
100
|
-
:rtype: str
|
|
101
|
-
"""
|
|
102
|
-
return self._internal_step
|
|
103
|
-
|
|
104
|
-
@internal_step.setter
|
|
105
|
-
def internal_step(self, internal_step: 'str'):
|
|
106
|
-
"""Sets the internal_step of this V1MetricValue.
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
:param internal_step: The internal_step of this V1MetricValue. # noqa: E501
|
|
110
|
-
:type: str
|
|
111
|
-
"""
|
|
112
|
-
|
|
113
|
-
self._internal_step = internal_step
|
|
114
|
-
|
|
115
89
|
@property
|
|
116
90
|
def step(self) -> 'str':
|
|
117
91
|
"""Gets the step of this V1MetricValue. # noqa: E501
|
|
@@ -41,25 +41,51 @@ class V1Metrics(object):
|
|
|
41
41
|
and the value is json key in definition.
|
|
42
42
|
"""
|
|
43
43
|
swagger_types = {
|
|
44
|
+
'internal_start_step': 'int',
|
|
44
45
|
'name': 'str',
|
|
45
46
|
'values': 'list[V1MetricValue]'
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
attribute_map = {
|
|
50
|
+
'internal_start_step': 'internalStartStep',
|
|
49
51
|
'name': 'name',
|
|
50
52
|
'values': 'values'
|
|
51
53
|
}
|
|
52
54
|
|
|
53
|
-
def __init__(self, name: 'str' =None, values: 'list[V1MetricValue]' =None): # noqa: E501
|
|
55
|
+
def __init__(self, internal_start_step: 'int' =None, name: 'str' =None, values: 'list[V1MetricValue]' =None): # noqa: E501
|
|
54
56
|
"""V1Metrics - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
self._internal_start_step = None
|
|
55
58
|
self._name = None
|
|
56
59
|
self._values = None
|
|
57
60
|
self.discriminator = None
|
|
61
|
+
if internal_start_step is not None:
|
|
62
|
+
self.internal_start_step = internal_start_step
|
|
58
63
|
if name is not None:
|
|
59
64
|
self.name = name
|
|
60
65
|
if values is not None:
|
|
61
66
|
self.values = values
|
|
62
67
|
|
|
68
|
+
@property
|
|
69
|
+
def internal_start_step(self) -> 'int':
|
|
70
|
+
"""Gets the internal_start_step of this V1Metrics. # noqa: E501
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:return: The internal_start_step of this V1Metrics. # noqa: E501
|
|
74
|
+
:rtype: int
|
|
75
|
+
"""
|
|
76
|
+
return self._internal_start_step
|
|
77
|
+
|
|
78
|
+
@internal_start_step.setter
|
|
79
|
+
def internal_start_step(self, internal_start_step: 'int'):
|
|
80
|
+
"""Sets the internal_start_step of this V1Metrics.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:param internal_start_step: The internal_start_step of this V1Metrics. # noqa: E501
|
|
84
|
+
:type: int
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
self._internal_start_step = internal_start_step
|
|
88
|
+
|
|
63
89
|
@property
|
|
64
90
|
def name(self) -> 'str':
|
|
65
91
|
"""Gets the name of this V1Metrics. # noqa: E501
|
|
@@ -44,6 +44,7 @@ class V1SnowflakeDataConnection(object):
|
|
|
44
44
|
'bucket_name': 'str',
|
|
45
45
|
'compress': 'bool',
|
|
46
46
|
'format': 'str',
|
|
47
|
+
'include_header': 'bool',
|
|
47
48
|
'query': 'str',
|
|
48
49
|
'secret_account': 'str',
|
|
49
50
|
'secret_password': 'str',
|
|
@@ -54,17 +55,19 @@ class V1SnowflakeDataConnection(object):
|
|
|
54
55
|
'bucket_name': 'bucketName',
|
|
55
56
|
'compress': 'compress',
|
|
56
57
|
'format': 'format',
|
|
58
|
+
'include_header': 'includeHeader',
|
|
57
59
|
'query': 'query',
|
|
58
60
|
'secret_account': 'secretAccount',
|
|
59
61
|
'secret_password': 'secretPassword',
|
|
60
62
|
'secret_username': 'secretUsername'
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
def __init__(self, bucket_name: 'str' =None, compress: 'bool' =None, format: 'str' =None, query: 'str' =None, secret_account: 'str' =None, secret_password: 'str' =None, secret_username: 'str' =None): # noqa: E501
|
|
65
|
+
def __init__(self, bucket_name: 'str' =None, compress: 'bool' =None, format: 'str' =None, include_header: 'bool' =None, query: 'str' =None, secret_account: 'str' =None, secret_password: 'str' =None, secret_username: 'str' =None): # noqa: E501
|
|
64
66
|
"""V1SnowflakeDataConnection - a model defined in Swagger""" # noqa: E501
|
|
65
67
|
self._bucket_name = None
|
|
66
68
|
self._compress = None
|
|
67
69
|
self._format = None
|
|
70
|
+
self._include_header = None
|
|
68
71
|
self._query = None
|
|
69
72
|
self._secret_account = None
|
|
70
73
|
self._secret_password = None
|
|
@@ -76,6 +79,8 @@ class V1SnowflakeDataConnection(object):
|
|
|
76
79
|
self.compress = compress
|
|
77
80
|
if format is not None:
|
|
78
81
|
self.format = format
|
|
82
|
+
if include_header is not None:
|
|
83
|
+
self.include_header = include_header
|
|
79
84
|
if query is not None:
|
|
80
85
|
self.query = query
|
|
81
86
|
if secret_account is not None:
|
|
@@ -148,6 +153,27 @@ class V1SnowflakeDataConnection(object):
|
|
|
148
153
|
|
|
149
154
|
self._format = format
|
|
150
155
|
|
|
156
|
+
@property
|
|
157
|
+
def include_header(self) -> 'bool':
|
|
158
|
+
"""Gets the include_header of this V1SnowflakeDataConnection. # noqa: E501
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:return: The include_header of this V1SnowflakeDataConnection. # noqa: E501
|
|
162
|
+
:rtype: bool
|
|
163
|
+
"""
|
|
164
|
+
return self._include_header
|
|
165
|
+
|
|
166
|
+
@include_header.setter
|
|
167
|
+
def include_header(self, include_header: 'bool'):
|
|
168
|
+
"""Sets the include_header of this V1SnowflakeDataConnection.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
:param include_header: The include_header of this V1SnowflakeDataConnection. # noqa: E501
|
|
172
|
+
:type: bool
|
|
173
|
+
"""
|
|
174
|
+
|
|
175
|
+
self._include_header = include_header
|
|
176
|
+
|
|
151
177
|
@property
|
|
152
178
|
def query(self) -> 'str':
|
|
153
179
|
"""Gets the query of this V1SnowflakeDataConnection. # noqa: E501
|
|
@@ -46,6 +46,7 @@ class V1UpdateUserRequest(object):
|
|
|
46
46
|
'completed_project_onboarding': 'bool',
|
|
47
47
|
'country': 'str',
|
|
48
48
|
'email': 'str',
|
|
49
|
+
'experimentation_id': 'str',
|
|
49
50
|
'first_name': 'str',
|
|
50
51
|
'general_audience_mode': 'bool',
|
|
51
52
|
'last_name': 'str',
|
|
@@ -71,6 +72,7 @@ class V1UpdateUserRequest(object):
|
|
|
71
72
|
'completed_project_onboarding': 'completedProjectOnboarding',
|
|
72
73
|
'country': 'country',
|
|
73
74
|
'email': 'email',
|
|
75
|
+
'experimentation_id': 'experimentationId',
|
|
74
76
|
'first_name': 'firstName',
|
|
75
77
|
'general_audience_mode': 'generalAudienceMode',
|
|
76
78
|
'last_name': 'lastName',
|
|
@@ -90,13 +92,14 @@ class V1UpdateUserRequest(object):
|
|
|
90
92
|
'website': 'website'
|
|
91
93
|
}
|
|
92
94
|
|
|
93
|
-
def __init__(self, agree_to_terms_and_conditions: 'bool' =None, complete_sign_up: 'bool' =None, completed_project_onboarding: 'bool' =None, country: 'str' =None, email: 'str' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: '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, user_metadata: 'str' =None, username: 'str' =None, website: 'str' =None): # noqa: E501
|
|
95
|
+
def __init__(self, agree_to_terms_and_conditions: 'bool' =None, complete_sign_up: 'bool' =None, completed_project_onboarding: 'bool' =None, country: 'str' =None, email: 'str' =None, experimentation_id: 'str' =None, first_name: 'str' =None, general_audience_mode: 'bool' =None, last_name: 'str' =None, non_developer_mode: 'bool' =None, opted_in_marketing_emails: 'bool' =None, organization: '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, user_metadata: 'str' =None, username: 'str' =None, website: 'str' =None): # noqa: E501
|
|
94
96
|
"""V1UpdateUserRequest - a model defined in Swagger""" # noqa: E501
|
|
95
97
|
self._agree_to_terms_and_conditions = None
|
|
96
98
|
self._complete_sign_up = None
|
|
97
99
|
self._completed_project_onboarding = None
|
|
98
100
|
self._country = None
|
|
99
101
|
self._email = None
|
|
102
|
+
self._experimentation_id = None
|
|
100
103
|
self._first_name = None
|
|
101
104
|
self._general_audience_mode = None
|
|
102
105
|
self._last_name = None
|
|
@@ -125,6 +128,8 @@ class V1UpdateUserRequest(object):
|
|
|
125
128
|
self.country = country
|
|
126
129
|
if email is not None:
|
|
127
130
|
self.email = email
|
|
131
|
+
if experimentation_id is not None:
|
|
132
|
+
self.experimentation_id = experimentation_id
|
|
128
133
|
if first_name is not None:
|
|
129
134
|
self.first_name = first_name
|
|
130
135
|
if general_audience_mode is not None:
|
|
@@ -265,6 +270,27 @@ class V1UpdateUserRequest(object):
|
|
|
265
270
|
|
|
266
271
|
self._email = email
|
|
267
272
|
|
|
273
|
+
@property
|
|
274
|
+
def experimentation_id(self) -> 'str':
|
|
275
|
+
"""Gets the experimentation_id of this V1UpdateUserRequest. # noqa: E501
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:return: The experimentation_id of this V1UpdateUserRequest. # noqa: E501
|
|
279
|
+
:rtype: str
|
|
280
|
+
"""
|
|
281
|
+
return self._experimentation_id
|
|
282
|
+
|
|
283
|
+
@experimentation_id.setter
|
|
284
|
+
def experimentation_id(self, experimentation_id: 'str'):
|
|
285
|
+
"""Sets the experimentation_id of this V1UpdateUserRequest.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param experimentation_id: The experimentation_id of this V1UpdateUserRequest. # noqa: E501
|
|
289
|
+
:type: str
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
self._experimentation_id = experimentation_id
|
|
293
|
+
|
|
268
294
|
@property
|
|
269
295
|
def first_name(self) -> 'str':
|
|
270
296
|
"""Gets the first_name of this V1UpdateUserRequest. # noqa: E501
|