qi-compute-api-client 0.21.0__py3-none-any.whl → 0.27.0__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.
Potentially problematic release.
This version of qi-compute-api-client might be problematic. Click here for more details.
- compute_api_client/__init__.py +1 -0
- compute_api_client/api/algorithms_api.py +24 -0
- compute_api_client/api/backend_api.py +19 -15
- compute_api_client/api/backend_types_api.py +54 -0
- compute_api_client/api/batch_jobs_api.py +4 -0
- compute_api_client/api/commits_api.py +4 -0
- compute_api_client/api/files_api.py +4 -0
- compute_api_client/api/final_results_api.py +3 -0
- compute_api_client/api/jobs_api.py +5 -0
- compute_api_client/api/languages_api.py +2 -0
- compute_api_client/api/members_api.py +4 -0
- compute_api_client/api/metadata_api.py +2 -0
- compute_api_client/api/permissions_api.py +4 -0
- compute_api_client/api/projects_api.py +28 -3
- compute_api_client/api/reservations_api.py +4 -0
- compute_api_client/api/results_api.py +2 -0
- compute_api_client/api/teams_api.py +2 -0
- compute_api_client/api/transactions_api.py +2 -0
- compute_api_client/api/users_api.py +21 -0
- compute_api_client/configuration.py +7 -0
- compute_api_client/docs/AlgorithmsApi.md +24 -7
- compute_api_client/docs/BackendApi.md +17 -8
- compute_api_client/docs/BackendIn.md +32 -0
- compute_api_client/docs/BackendType.md +3 -0
- compute_api_client/docs/BackendTypesApi.md +17 -4
- compute_api_client/docs/BatchJobIn.md +0 -1
- compute_api_client/docs/BatchJobsApi.md +16 -4
- compute_api_client/docs/CommitsApi.md +16 -4
- compute_api_client/docs/FilesApi.md +16 -4
- compute_api_client/docs/FinalResultsApi.md +12 -3
- compute_api_client/docs/JobIn.md +0 -1
- compute_api_client/docs/JobsApi.md +20 -5
- compute_api_client/docs/LanguagesApi.md +8 -2
- compute_api_client/docs/MembersApi.md +16 -4
- compute_api_client/docs/MetadataApi.md +8 -2
- compute_api_client/docs/PermissionsApi.md +16 -4
- compute_api_client/docs/ProjectsApi.md +29 -9
- compute_api_client/docs/ReservationsApi.md +16 -4
- compute_api_client/docs/ResultsApi.md +8 -2
- compute_api_client/docs/TeamsApi.md +8 -2
- compute_api_client/docs/TransactionsApi.md +8 -2
- compute_api_client/docs/User.md +1 -0
- compute_api_client/docs/UserIn.md +1 -0
- compute_api_client/docs/UsersApi.md +20 -6
- compute_api_client/models/__init__.py +1 -0
- compute_api_client/models/backend_in.py +98 -0
- compute_api_client/models/backend_type.py +9 -2
- compute_api_client/models/batch_job_in.py +1 -3
- compute_api_client/models/job_in.py +1 -4
- compute_api_client/models/user.py +4 -2
- compute_api_client/models/user_in.py +4 -2
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/METADATA +13 -3
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/RECORD +55 -53
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/WHEEL +0 -0
compute_api_client/__init__.py
CHANGED
|
@@ -52,6 +52,7 @@ from compute_api_client.models.algorithm import Algorithm
|
|
|
52
52
|
from compute_api_client.models.algorithm_in import AlgorithmIn
|
|
53
53
|
from compute_api_client.models.algorithm_type import AlgorithmType
|
|
54
54
|
from compute_api_client.models.backend import Backend
|
|
55
|
+
from compute_api_client.models.backend_in import BackendIn
|
|
55
56
|
from compute_api_client.models.backend_patch import BackendPatch
|
|
56
57
|
from compute_api_client.models.backend_status import BackendStatus
|
|
57
58
|
from compute_api_client.models.backend_type import BackendType
|
|
@@ -23,6 +23,8 @@ try:
|
|
|
23
23
|
except ImportError:
|
|
24
24
|
from typing_extensions import Annotated
|
|
25
25
|
|
|
26
|
+
from pydantic import Field
|
|
27
|
+
from typing_extensions import Annotated
|
|
26
28
|
from pydantic import StrictBool, StrictInt, StrictStr
|
|
27
29
|
|
|
28
30
|
from typing import List, Optional
|
|
@@ -307,6 +309,7 @@ class AlgorithmsApi:
|
|
|
307
309
|
|
|
308
310
|
# authentication setting
|
|
309
311
|
_auth_settings: List[str] = [
|
|
312
|
+
'user_bearer',
|
|
310
313
|
'user'
|
|
311
314
|
]
|
|
312
315
|
|
|
@@ -566,6 +569,7 @@ class AlgorithmsApi:
|
|
|
566
569
|
|
|
567
570
|
# authentication setting
|
|
568
571
|
_auth_settings: List[str] = [
|
|
572
|
+
'user_bearer',
|
|
569
573
|
'user'
|
|
570
574
|
]
|
|
571
575
|
|
|
@@ -834,6 +838,7 @@ class AlgorithmsApi:
|
|
|
834
838
|
|
|
835
839
|
# authentication setting
|
|
836
840
|
_auth_settings: List[str] = [
|
|
841
|
+
'user_bearer',
|
|
837
842
|
'backend',
|
|
838
843
|
'user'
|
|
839
844
|
]
|
|
@@ -859,6 +864,7 @@ class AlgorithmsApi:
|
|
|
859
864
|
@validate_call
|
|
860
865
|
async def read_algorithms_algorithms_get(
|
|
861
866
|
self,
|
|
867
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
862
868
|
latest: Optional[StrictBool] = None,
|
|
863
869
|
sort_by: Optional[StrictStr] = None,
|
|
864
870
|
page_number: Optional[StrictInt] = None,
|
|
@@ -888,6 +894,8 @@ class AlgorithmsApi:
|
|
|
888
894
|
|
|
889
895
|
List algorithms.
|
|
890
896
|
|
|
897
|
+
:param search: Substring search for algorithm names
|
|
898
|
+
:type search: str
|
|
891
899
|
:param latest:
|
|
892
900
|
:type latest: bool
|
|
893
901
|
:param sort_by:
|
|
@@ -935,6 +943,7 @@ class AlgorithmsApi:
|
|
|
935
943
|
""" # noqa: E501
|
|
936
944
|
|
|
937
945
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
946
|
+
search=search,
|
|
938
947
|
latest=latest,
|
|
939
948
|
sort_by=sort_by,
|
|
940
949
|
page_number=page_number,
|
|
@@ -972,6 +981,7 @@ class AlgorithmsApi:
|
|
|
972
981
|
@validate_call
|
|
973
982
|
async def read_algorithms_algorithms_get_with_http_info(
|
|
974
983
|
self,
|
|
984
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
975
985
|
latest: Optional[StrictBool] = None,
|
|
976
986
|
sort_by: Optional[StrictStr] = None,
|
|
977
987
|
page_number: Optional[StrictInt] = None,
|
|
@@ -1001,6 +1011,8 @@ class AlgorithmsApi:
|
|
|
1001
1011
|
|
|
1002
1012
|
List algorithms.
|
|
1003
1013
|
|
|
1014
|
+
:param search: Substring search for algorithm names
|
|
1015
|
+
:type search: str
|
|
1004
1016
|
:param latest:
|
|
1005
1017
|
:type latest: bool
|
|
1006
1018
|
:param sort_by:
|
|
@@ -1048,6 +1060,7 @@ class AlgorithmsApi:
|
|
|
1048
1060
|
""" # noqa: E501
|
|
1049
1061
|
|
|
1050
1062
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
1063
|
+
search=search,
|
|
1051
1064
|
latest=latest,
|
|
1052
1065
|
sort_by=sort_by,
|
|
1053
1066
|
page_number=page_number,
|
|
@@ -1085,6 +1098,7 @@ class AlgorithmsApi:
|
|
|
1085
1098
|
@validate_call
|
|
1086
1099
|
async def read_algorithms_algorithms_get_without_preload_content(
|
|
1087
1100
|
self,
|
|
1101
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
1088
1102
|
latest: Optional[StrictBool] = None,
|
|
1089
1103
|
sort_by: Optional[StrictStr] = None,
|
|
1090
1104
|
page_number: Optional[StrictInt] = None,
|
|
@@ -1114,6 +1128,8 @@ class AlgorithmsApi:
|
|
|
1114
1128
|
|
|
1115
1129
|
List algorithms.
|
|
1116
1130
|
|
|
1131
|
+
:param search: Substring search for algorithm names
|
|
1132
|
+
:type search: str
|
|
1117
1133
|
:param latest:
|
|
1118
1134
|
:type latest: bool
|
|
1119
1135
|
:param sort_by:
|
|
@@ -1161,6 +1177,7 @@ class AlgorithmsApi:
|
|
|
1161
1177
|
""" # noqa: E501
|
|
1162
1178
|
|
|
1163
1179
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
1180
|
+
search=search,
|
|
1164
1181
|
latest=latest,
|
|
1165
1182
|
sort_by=sort_by,
|
|
1166
1183
|
page_number=page_number,
|
|
@@ -1193,6 +1210,7 @@ class AlgorithmsApi:
|
|
|
1193
1210
|
|
|
1194
1211
|
def _read_algorithms_algorithms_get_serialize(
|
|
1195
1212
|
self,
|
|
1213
|
+
search,
|
|
1196
1214
|
latest,
|
|
1197
1215
|
sort_by,
|
|
1198
1216
|
page_number,
|
|
@@ -1226,6 +1244,10 @@ class AlgorithmsApi:
|
|
|
1226
1244
|
|
|
1227
1245
|
# process the path parameters
|
|
1228
1246
|
# process the query parameters
|
|
1247
|
+
if search is not None:
|
|
1248
|
+
|
|
1249
|
+
_query_params.append(('search', search))
|
|
1250
|
+
|
|
1229
1251
|
if latest is not None:
|
|
1230
1252
|
|
|
1231
1253
|
_query_params.append(('latest', latest))
|
|
@@ -1289,6 +1311,7 @@ class AlgorithmsApi:
|
|
|
1289
1311
|
|
|
1290
1312
|
# authentication setting
|
|
1291
1313
|
_auth_settings: List[str] = [
|
|
1314
|
+
'user_bearer',
|
|
1292
1315
|
'user'
|
|
1293
1316
|
]
|
|
1294
1317
|
|
|
@@ -1585,6 +1608,7 @@ class AlgorithmsApi:
|
|
|
1585
1608
|
|
|
1586
1609
|
# authentication setting
|
|
1587
1610
|
_auth_settings: List[str] = [
|
|
1611
|
+
'user_bearer',
|
|
1588
1612
|
'user'
|
|
1589
1613
|
]
|
|
1590
1614
|
|
|
@@ -30,6 +30,7 @@ from pydantic import StrictBool, StrictInt, StrictStr
|
|
|
30
30
|
from typing import List, Optional
|
|
31
31
|
|
|
32
32
|
from compute_api_client.models.backend import Backend
|
|
33
|
+
from compute_api_client.models.backend_in import BackendIn
|
|
33
34
|
from compute_api_client.models.backend_patch import BackendPatch
|
|
34
35
|
from compute_api_client.models.backend_status import BackendStatus
|
|
35
36
|
from compute_api_client.models.backend_with_authentication import BackendWithAuthentication
|
|
@@ -55,7 +56,7 @@ class BackendApi:
|
|
|
55
56
|
@validate_call
|
|
56
57
|
async def create_backend_backends_post(
|
|
57
58
|
self,
|
|
58
|
-
|
|
59
|
+
backend_in: BackendIn,
|
|
59
60
|
_request_timeout: Union[
|
|
60
61
|
None,
|
|
61
62
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -73,8 +74,8 @@ class BackendApi:
|
|
|
73
74
|
|
|
74
75
|
Create new backend.
|
|
75
76
|
|
|
76
|
-
:param
|
|
77
|
-
:type
|
|
77
|
+
:param backend_in: (required)
|
|
78
|
+
:type backend_in: BackendIn
|
|
78
79
|
:param _request_timeout: timeout setting for this request. If one
|
|
79
80
|
number provided, it will be total request
|
|
80
81
|
timeout. It can also be a pair (tuple) of
|
|
@@ -98,7 +99,7 @@ class BackendApi:
|
|
|
98
99
|
""" # noqa: E501
|
|
99
100
|
|
|
100
101
|
_param = self._create_backend_backends_post_serialize(
|
|
101
|
-
|
|
102
|
+
backend_in=backend_in,
|
|
102
103
|
_request_auth=_request_auth,
|
|
103
104
|
_content_type=_content_type,
|
|
104
105
|
_headers=_headers,
|
|
@@ -124,7 +125,7 @@ class BackendApi:
|
|
|
124
125
|
@validate_call
|
|
125
126
|
async def create_backend_backends_post_with_http_info(
|
|
126
127
|
self,
|
|
127
|
-
|
|
128
|
+
backend_in: BackendIn,
|
|
128
129
|
_request_timeout: Union[
|
|
129
130
|
None,
|
|
130
131
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -142,8 +143,8 @@ class BackendApi:
|
|
|
142
143
|
|
|
143
144
|
Create new backend.
|
|
144
145
|
|
|
145
|
-
:param
|
|
146
|
-
:type
|
|
146
|
+
:param backend_in: (required)
|
|
147
|
+
:type backend_in: BackendIn
|
|
147
148
|
:param _request_timeout: timeout setting for this request. If one
|
|
148
149
|
number provided, it will be total request
|
|
149
150
|
timeout. It can also be a pair (tuple) of
|
|
@@ -167,7 +168,7 @@ class BackendApi:
|
|
|
167
168
|
""" # noqa: E501
|
|
168
169
|
|
|
169
170
|
_param = self._create_backend_backends_post_serialize(
|
|
170
|
-
|
|
171
|
+
backend_in=backend_in,
|
|
171
172
|
_request_auth=_request_auth,
|
|
172
173
|
_content_type=_content_type,
|
|
173
174
|
_headers=_headers,
|
|
@@ -193,7 +194,7 @@ class BackendApi:
|
|
|
193
194
|
@validate_call
|
|
194
195
|
async def create_backend_backends_post_without_preload_content(
|
|
195
196
|
self,
|
|
196
|
-
|
|
197
|
+
backend_in: BackendIn,
|
|
197
198
|
_request_timeout: Union[
|
|
198
199
|
None,
|
|
199
200
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -211,8 +212,8 @@ class BackendApi:
|
|
|
211
212
|
|
|
212
213
|
Create new backend.
|
|
213
214
|
|
|
214
|
-
:param
|
|
215
|
-
:type
|
|
215
|
+
:param backend_in: (required)
|
|
216
|
+
:type backend_in: BackendIn
|
|
216
217
|
:param _request_timeout: timeout setting for this request. If one
|
|
217
218
|
number provided, it will be total request
|
|
218
219
|
timeout. It can also be a pair (tuple) of
|
|
@@ -236,7 +237,7 @@ class BackendApi:
|
|
|
236
237
|
""" # noqa: E501
|
|
237
238
|
|
|
238
239
|
_param = self._create_backend_backends_post_serialize(
|
|
239
|
-
|
|
240
|
+
backend_in=backend_in,
|
|
240
241
|
_request_auth=_request_auth,
|
|
241
242
|
_content_type=_content_type,
|
|
242
243
|
_headers=_headers,
|
|
@@ -257,7 +258,7 @@ class BackendApi:
|
|
|
257
258
|
|
|
258
259
|
def _create_backend_backends_post_serialize(
|
|
259
260
|
self,
|
|
260
|
-
|
|
261
|
+
backend_in,
|
|
261
262
|
_request_auth,
|
|
262
263
|
_content_type,
|
|
263
264
|
_headers,
|
|
@@ -282,8 +283,8 @@ class BackendApi:
|
|
|
282
283
|
# process the header parameters
|
|
283
284
|
# process the form parameters
|
|
284
285
|
# process the body parameter
|
|
285
|
-
if
|
|
286
|
-
_body_params =
|
|
286
|
+
if backend_in is not None:
|
|
287
|
+
_body_params = backend_in
|
|
287
288
|
|
|
288
289
|
|
|
289
290
|
# set the HTTP header `Accept`
|
|
@@ -309,6 +310,7 @@ class BackendApi:
|
|
|
309
310
|
|
|
310
311
|
# authentication setting
|
|
311
312
|
_auth_settings: List[str] = [
|
|
313
|
+
'user_bearer',
|
|
312
314
|
'user'
|
|
313
315
|
]
|
|
314
316
|
|
|
@@ -577,6 +579,7 @@ class BackendApi:
|
|
|
577
579
|
|
|
578
580
|
# authentication setting
|
|
579
581
|
_auth_settings: List[str] = [
|
|
582
|
+
'user_bearer',
|
|
580
583
|
'user'
|
|
581
584
|
]
|
|
582
585
|
|
|
@@ -1253,6 +1256,7 @@ class BackendApi:
|
|
|
1253
1256
|
|
|
1254
1257
|
# authentication setting
|
|
1255
1258
|
_auth_settings: List[str] = [
|
|
1259
|
+
'user_bearer',
|
|
1256
1260
|
'user'
|
|
1257
1261
|
]
|
|
1258
1262
|
|
|
@@ -27,6 +27,7 @@ from pydantic import StrictBool, StrictInt, StrictStr
|
|
|
27
27
|
|
|
28
28
|
from typing import List, Optional
|
|
29
29
|
|
|
30
|
+
from compute_api_client.models.backend_status import BackendStatus
|
|
30
31
|
from compute_api_client.models.backend_type import BackendType
|
|
31
32
|
|
|
32
33
|
from compute_api_client.api_client import ApiClient
|
|
@@ -294,6 +295,7 @@ class BackendTypesApi:
|
|
|
294
295
|
|
|
295
296
|
# authentication setting
|
|
296
297
|
_auth_settings: List[str] = [
|
|
298
|
+
'user_bearer',
|
|
297
299
|
'user'
|
|
298
300
|
]
|
|
299
301
|
|
|
@@ -328,6 +330,9 @@ class BackendTypesApi:
|
|
|
328
330
|
description: Optional[StrictStr] = None,
|
|
329
331
|
image_id: Optional[StrictStr] = None,
|
|
330
332
|
is_hardware: Optional[StrictBool] = None,
|
|
333
|
+
status: Optional[BackendStatus] = None,
|
|
334
|
+
default_number_of_shots: Optional[StrictInt] = None,
|
|
335
|
+
max_number_of_shots: Optional[StrictInt] = None,
|
|
331
336
|
_request_timeout: Union[
|
|
332
337
|
None,
|
|
333
338
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -365,6 +370,12 @@ class BackendTypesApi:
|
|
|
365
370
|
:type image_id: str
|
|
366
371
|
:param is_hardware:
|
|
367
372
|
:type is_hardware: bool
|
|
373
|
+
:param status:
|
|
374
|
+
:type status: BackendStatus
|
|
375
|
+
:param default_number_of_shots:
|
|
376
|
+
:type default_number_of_shots: int
|
|
377
|
+
:param max_number_of_shots:
|
|
378
|
+
:type max_number_of_shots: int
|
|
368
379
|
:param _request_timeout: timeout setting for this request. If one
|
|
369
380
|
number provided, it will be total request
|
|
370
381
|
timeout. It can also be a pair (tuple) of
|
|
@@ -398,6 +409,9 @@ class BackendTypesApi:
|
|
|
398
409
|
description=description,
|
|
399
410
|
image_id=image_id,
|
|
400
411
|
is_hardware=is_hardware,
|
|
412
|
+
status=status,
|
|
413
|
+
default_number_of_shots=default_number_of_shots,
|
|
414
|
+
max_number_of_shots=max_number_of_shots,
|
|
401
415
|
_request_auth=_request_auth,
|
|
402
416
|
_content_type=_content_type,
|
|
403
417
|
_headers=_headers,
|
|
@@ -433,6 +447,9 @@ class BackendTypesApi:
|
|
|
433
447
|
description: Optional[StrictStr] = None,
|
|
434
448
|
image_id: Optional[StrictStr] = None,
|
|
435
449
|
is_hardware: Optional[StrictBool] = None,
|
|
450
|
+
status: Optional[BackendStatus] = None,
|
|
451
|
+
default_number_of_shots: Optional[StrictInt] = None,
|
|
452
|
+
max_number_of_shots: Optional[StrictInt] = None,
|
|
436
453
|
_request_timeout: Union[
|
|
437
454
|
None,
|
|
438
455
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -470,6 +487,12 @@ class BackendTypesApi:
|
|
|
470
487
|
:type image_id: str
|
|
471
488
|
:param is_hardware:
|
|
472
489
|
:type is_hardware: bool
|
|
490
|
+
:param status:
|
|
491
|
+
:type status: BackendStatus
|
|
492
|
+
:param default_number_of_shots:
|
|
493
|
+
:type default_number_of_shots: int
|
|
494
|
+
:param max_number_of_shots:
|
|
495
|
+
:type max_number_of_shots: int
|
|
473
496
|
:param _request_timeout: timeout setting for this request. If one
|
|
474
497
|
number provided, it will be total request
|
|
475
498
|
timeout. It can also be a pair (tuple) of
|
|
@@ -503,6 +526,9 @@ class BackendTypesApi:
|
|
|
503
526
|
description=description,
|
|
504
527
|
image_id=image_id,
|
|
505
528
|
is_hardware=is_hardware,
|
|
529
|
+
status=status,
|
|
530
|
+
default_number_of_shots=default_number_of_shots,
|
|
531
|
+
max_number_of_shots=max_number_of_shots,
|
|
506
532
|
_request_auth=_request_auth,
|
|
507
533
|
_content_type=_content_type,
|
|
508
534
|
_headers=_headers,
|
|
@@ -538,6 +564,9 @@ class BackendTypesApi:
|
|
|
538
564
|
description: Optional[StrictStr] = None,
|
|
539
565
|
image_id: Optional[StrictStr] = None,
|
|
540
566
|
is_hardware: Optional[StrictBool] = None,
|
|
567
|
+
status: Optional[BackendStatus] = None,
|
|
568
|
+
default_number_of_shots: Optional[StrictInt] = None,
|
|
569
|
+
max_number_of_shots: Optional[StrictInt] = None,
|
|
541
570
|
_request_timeout: Union[
|
|
542
571
|
None,
|
|
543
572
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -575,6 +604,12 @@ class BackendTypesApi:
|
|
|
575
604
|
:type image_id: str
|
|
576
605
|
:param is_hardware:
|
|
577
606
|
:type is_hardware: bool
|
|
607
|
+
:param status:
|
|
608
|
+
:type status: BackendStatus
|
|
609
|
+
:param default_number_of_shots:
|
|
610
|
+
:type default_number_of_shots: int
|
|
611
|
+
:param max_number_of_shots:
|
|
612
|
+
:type max_number_of_shots: int
|
|
578
613
|
:param _request_timeout: timeout setting for this request. If one
|
|
579
614
|
number provided, it will be total request
|
|
580
615
|
timeout. It can also be a pair (tuple) of
|
|
@@ -608,6 +643,9 @@ class BackendTypesApi:
|
|
|
608
643
|
description=description,
|
|
609
644
|
image_id=image_id,
|
|
610
645
|
is_hardware=is_hardware,
|
|
646
|
+
status=status,
|
|
647
|
+
default_number_of_shots=default_number_of_shots,
|
|
648
|
+
max_number_of_shots=max_number_of_shots,
|
|
611
649
|
_request_auth=_request_auth,
|
|
612
650
|
_content_type=_content_type,
|
|
613
651
|
_headers=_headers,
|
|
@@ -638,6 +676,9 @@ class BackendTypesApi:
|
|
|
638
676
|
description,
|
|
639
677
|
image_id,
|
|
640
678
|
is_hardware,
|
|
679
|
+
status,
|
|
680
|
+
default_number_of_shots,
|
|
681
|
+
max_number_of_shots,
|
|
641
682
|
_request_auth,
|
|
642
683
|
_content_type,
|
|
643
684
|
_headers,
|
|
@@ -699,6 +740,18 @@ class BackendTypesApi:
|
|
|
699
740
|
|
|
700
741
|
_query_params.append(('is_hardware', is_hardware))
|
|
701
742
|
|
|
743
|
+
if status is not None:
|
|
744
|
+
|
|
745
|
+
_query_params.append(('status', status.value))
|
|
746
|
+
|
|
747
|
+
if default_number_of_shots is not None:
|
|
748
|
+
|
|
749
|
+
_query_params.append(('default_number_of_shots', default_number_of_shots))
|
|
750
|
+
|
|
751
|
+
if max_number_of_shots is not None:
|
|
752
|
+
|
|
753
|
+
_query_params.append(('max_number_of_shots', max_number_of_shots))
|
|
754
|
+
|
|
702
755
|
# process the header parameters
|
|
703
756
|
# process the form parameters
|
|
704
757
|
# process the body parameter
|
|
@@ -714,6 +767,7 @@ class BackendTypesApi:
|
|
|
714
767
|
|
|
715
768
|
# authentication setting
|
|
716
769
|
_auth_settings: List[str] = [
|
|
770
|
+
'user_bearer',
|
|
717
771
|
'user'
|
|
718
772
|
]
|
|
719
773
|
|
|
@@ -309,6 +309,7 @@ class BatchJobsApi:
|
|
|
309
309
|
|
|
310
310
|
# authentication setting
|
|
311
311
|
_auth_settings: List[str] = [
|
|
312
|
+
'user_bearer',
|
|
312
313
|
'user'
|
|
313
314
|
]
|
|
314
315
|
|
|
@@ -577,6 +578,7 @@ class BatchJobsApi:
|
|
|
577
578
|
|
|
578
579
|
# authentication setting
|
|
579
580
|
_auth_settings: List[str] = [
|
|
581
|
+
'user_bearer',
|
|
580
582
|
'user'
|
|
581
583
|
]
|
|
582
584
|
|
|
@@ -845,6 +847,7 @@ class BatchJobsApi:
|
|
|
845
847
|
|
|
846
848
|
# authentication setting
|
|
847
849
|
_auth_settings: List[str] = [
|
|
850
|
+
'user_bearer',
|
|
848
851
|
'backend',
|
|
849
852
|
'user'
|
|
850
853
|
]
|
|
@@ -1967,6 +1970,7 @@ class BatchJobsApi:
|
|
|
1967
1970
|
|
|
1968
1971
|
# authentication setting
|
|
1969
1972
|
_auth_settings: List[str] = [
|
|
1973
|
+
'user_bearer',
|
|
1970
1974
|
'user'
|
|
1971
1975
|
]
|
|
1972
1976
|
|
|
@@ -307,6 +307,7 @@ class CommitsApi:
|
|
|
307
307
|
|
|
308
308
|
# authentication setting
|
|
309
309
|
_auth_settings: List[str] = [
|
|
310
|
+
'user_bearer',
|
|
310
311
|
'user'
|
|
311
312
|
]
|
|
312
313
|
|
|
@@ -566,6 +567,7 @@ class CommitsApi:
|
|
|
566
567
|
|
|
567
568
|
# authentication setting
|
|
568
569
|
_auth_settings: List[str] = [
|
|
570
|
+
'user_bearer',
|
|
569
571
|
'user'
|
|
570
572
|
]
|
|
571
573
|
|
|
@@ -834,6 +836,7 @@ class CommitsApi:
|
|
|
834
836
|
|
|
835
837
|
# authentication setting
|
|
836
838
|
_auth_settings: List[str] = [
|
|
839
|
+
'user_bearer',
|
|
837
840
|
'backend',
|
|
838
841
|
'user'
|
|
839
842
|
]
|
|
@@ -1247,6 +1250,7 @@ class CommitsApi:
|
|
|
1247
1250
|
|
|
1248
1251
|
# authentication setting
|
|
1249
1252
|
_auth_settings: List[str] = [
|
|
1253
|
+
'user_bearer',
|
|
1250
1254
|
'user'
|
|
1251
1255
|
]
|
|
1252
1256
|
|
|
@@ -306,6 +306,7 @@ class FilesApi:
|
|
|
306
306
|
|
|
307
307
|
# authentication setting
|
|
308
308
|
_auth_settings: List[str] = [
|
|
309
|
+
'user_bearer',
|
|
309
310
|
'user'
|
|
310
311
|
]
|
|
311
312
|
|
|
@@ -565,6 +566,7 @@ class FilesApi:
|
|
|
565
566
|
|
|
566
567
|
# authentication setting
|
|
567
568
|
_auth_settings: List[str] = [
|
|
569
|
+
'user_bearer',
|
|
568
570
|
'user'
|
|
569
571
|
]
|
|
570
572
|
|
|
@@ -833,6 +835,7 @@ class FilesApi:
|
|
|
833
835
|
|
|
834
836
|
# authentication setting
|
|
835
837
|
_auth_settings: List[str] = [
|
|
838
|
+
'user_bearer',
|
|
836
839
|
'backend',
|
|
837
840
|
'user'
|
|
838
841
|
]
|
|
@@ -1254,6 +1257,7 @@ class FilesApi:
|
|
|
1254
1257
|
|
|
1255
1258
|
# authentication setting
|
|
1256
1259
|
_auth_settings: List[str] = [
|
|
1260
|
+
'user_bearer',
|
|
1257
1261
|
'user'
|
|
1258
1262
|
]
|
|
1259
1263
|
|
|
@@ -303,6 +303,7 @@ class FinalResultsApi:
|
|
|
303
303
|
|
|
304
304
|
# authentication setting
|
|
305
305
|
_auth_settings: List[str] = [
|
|
306
|
+
'user_bearer',
|
|
306
307
|
'backend',
|
|
307
308
|
'user'
|
|
308
309
|
]
|
|
@@ -569,6 +570,7 @@ class FinalResultsApi:
|
|
|
569
570
|
|
|
570
571
|
# authentication setting
|
|
571
572
|
_auth_settings: List[str] = [
|
|
573
|
+
'user_bearer',
|
|
572
574
|
'user'
|
|
573
575
|
]
|
|
574
576
|
|
|
@@ -837,6 +839,7 @@ class FinalResultsApi:
|
|
|
837
839
|
|
|
838
840
|
# authentication setting
|
|
839
841
|
_auth_settings: List[str] = [
|
|
842
|
+
'user_bearer',
|
|
840
843
|
'user'
|
|
841
844
|
]
|
|
842
845
|
|
|
@@ -310,6 +310,7 @@ class JobsApi:
|
|
|
310
310
|
|
|
311
311
|
# authentication setting
|
|
312
312
|
_auth_settings: List[str] = [
|
|
313
|
+
'user_bearer',
|
|
313
314
|
'user'
|
|
314
315
|
]
|
|
315
316
|
|
|
@@ -569,6 +570,7 @@ class JobsApi:
|
|
|
569
570
|
|
|
570
571
|
# authentication setting
|
|
571
572
|
_auth_settings: List[str] = [
|
|
573
|
+
'user_bearer',
|
|
572
574
|
'user'
|
|
573
575
|
]
|
|
574
576
|
|
|
@@ -837,6 +839,7 @@ class JobsApi:
|
|
|
837
839
|
|
|
838
840
|
# authentication setting
|
|
839
841
|
_auth_settings: List[str] = [
|
|
842
|
+
'user_bearer',
|
|
840
843
|
'backend',
|
|
841
844
|
'user'
|
|
842
845
|
]
|
|
@@ -1387,6 +1390,7 @@ class JobsApi:
|
|
|
1387
1390
|
|
|
1388
1391
|
# authentication setting
|
|
1389
1392
|
_auth_settings: List[str] = [
|
|
1393
|
+
'user_bearer',
|
|
1390
1394
|
'backend',
|
|
1391
1395
|
'user'
|
|
1392
1396
|
]
|
|
@@ -1684,6 +1688,7 @@ class JobsApi:
|
|
|
1684
1688
|
|
|
1685
1689
|
# authentication setting
|
|
1686
1690
|
_auth_settings: List[str] = [
|
|
1691
|
+
'user_bearer',
|
|
1687
1692
|
'backend',
|
|
1688
1693
|
'user'
|
|
1689
1694
|
]
|
|
@@ -294,6 +294,7 @@ class LanguagesApi:
|
|
|
294
294
|
|
|
295
295
|
# authentication setting
|
|
296
296
|
_auth_settings: List[str] = [
|
|
297
|
+
'user_bearer',
|
|
297
298
|
'user'
|
|
298
299
|
]
|
|
299
300
|
|
|
@@ -680,6 +681,7 @@ class LanguagesApi:
|
|
|
680
681
|
|
|
681
682
|
# authentication setting
|
|
682
683
|
_auth_settings: List[str] = [
|
|
684
|
+
'user_bearer',
|
|
683
685
|
'user'
|
|
684
686
|
]
|
|
685
687
|
|
|
@@ -306,6 +306,7 @@ class MembersApi:
|
|
|
306
306
|
|
|
307
307
|
# authentication setting
|
|
308
308
|
_auth_settings: List[str] = [
|
|
309
|
+
'user_bearer',
|
|
309
310
|
'user'
|
|
310
311
|
]
|
|
311
312
|
|
|
@@ -565,6 +566,7 @@ class MembersApi:
|
|
|
565
566
|
|
|
566
567
|
# authentication setting
|
|
567
568
|
_auth_settings: List[str] = [
|
|
569
|
+
'user_bearer',
|
|
568
570
|
'user'
|
|
569
571
|
]
|
|
570
572
|
|
|
@@ -833,6 +835,7 @@ class MembersApi:
|
|
|
833
835
|
|
|
834
836
|
# authentication setting
|
|
835
837
|
_auth_settings: List[str] = [
|
|
838
|
+
'user_bearer',
|
|
836
839
|
'user'
|
|
837
840
|
]
|
|
838
841
|
|
|
@@ -1236,6 +1239,7 @@ class MembersApi:
|
|
|
1236
1239
|
|
|
1237
1240
|
# authentication setting
|
|
1238
1241
|
_auth_settings: List[str] = [
|
|
1242
|
+
'user_bearer',
|
|
1239
1243
|
'user'
|
|
1240
1244
|
]
|
|
1241
1245
|
|
|
@@ -570,6 +570,7 @@ class MetadataApi:
|
|
|
570
570
|
|
|
571
571
|
# authentication setting
|
|
572
572
|
_auth_settings: List[str] = [
|
|
573
|
+
'user_bearer',
|
|
573
574
|
'user'
|
|
574
575
|
]
|
|
575
576
|
|
|
@@ -838,6 +839,7 @@ class MetadataApi:
|
|
|
838
839
|
|
|
839
840
|
# authentication setting
|
|
840
841
|
_auth_settings: List[str] = [
|
|
842
|
+
'user_bearer',
|
|
841
843
|
'user'
|
|
842
844
|
]
|
|
843
845
|
|
|
@@ -295,6 +295,7 @@ class PermissionsApi:
|
|
|
295
295
|
|
|
296
296
|
# authentication setting
|
|
297
297
|
_auth_settings: List[str] = [
|
|
298
|
+
'user_bearer',
|
|
298
299
|
'user'
|
|
299
300
|
]
|
|
300
301
|
|
|
@@ -647,6 +648,7 @@ class PermissionsApi:
|
|
|
647
648
|
|
|
648
649
|
# authentication setting
|
|
649
650
|
_auth_settings: List[str] = [
|
|
651
|
+
'user_bearer',
|
|
650
652
|
'user'
|
|
651
653
|
]
|
|
652
654
|
|
|
@@ -915,6 +917,7 @@ class PermissionsApi:
|
|
|
915
917
|
|
|
916
918
|
# authentication setting
|
|
917
919
|
_auth_settings: List[str] = [
|
|
920
|
+
'user_bearer',
|
|
918
921
|
'user'
|
|
919
922
|
]
|
|
920
923
|
|
|
@@ -1284,6 +1287,7 @@ class PermissionsApi:
|
|
|
1284
1287
|
|
|
1285
1288
|
# authentication setting
|
|
1286
1289
|
_auth_settings: List[str] = [
|
|
1290
|
+
'user_bearer',
|
|
1287
1291
|
'user'
|
|
1288
1292
|
]
|
|
1289
1293
|
|