qi-compute-api-client 0.21.0__py3-none-any.whl → 0.31.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.

Files changed (60) hide show
  1. compute_api_client/__init__.py +1 -0
  2. compute_api_client/api/algorithms_api.py +25 -23
  3. compute_api_client/api/backend_api.py +19 -18
  4. compute_api_client/api/backend_types_api.py +54 -2
  5. compute_api_client/api/batch_jobs_api.py +5 -22
  6. compute_api_client/api/commits_api.py +5 -5
  7. compute_api_client/api/files_api.py +5 -5
  8. compute_api_client/api/final_results_api.py +4 -4
  9. compute_api_client/api/jobs_api.py +8 -8
  10. compute_api_client/api/languages_api.py +2 -2
  11. compute_api_client/api/members_api.py +4 -21
  12. compute_api_client/api/metadata_api.py +2 -2
  13. compute_api_client/api/permissions_api.py +4 -4
  14. compute_api_client/api/projects_api.py +28 -9
  15. compute_api_client/api/reservations_api.py +4 -4
  16. compute_api_client/api/results_api.py +566 -4
  17. compute_api_client/api/teams_api.py +2 -2
  18. compute_api_client/api/transactions_api.py +32 -32
  19. compute_api_client/api/users_api.py +21 -4
  20. compute_api_client/configuration.py +5 -7
  21. compute_api_client/docs/AlgorithmIn.md +1 -1
  22. compute_api_client/docs/AlgorithmsApi.md +20 -40
  23. compute_api_client/docs/BackendApi.md +14 -26
  24. compute_api_client/docs/BackendIn.md +32 -0
  25. compute_api_client/docs/BackendType.md +3 -0
  26. compute_api_client/docs/BackendTypesApi.md +15 -16
  27. compute_api_client/docs/BatchJobIn.md +0 -1
  28. compute_api_client/docs/BatchJobsApi.md +15 -33
  29. compute_api_client/docs/CommitsApi.md +13 -29
  30. compute_api_client/docs/FilesApi.md +13 -29
  31. compute_api_client/docs/FinalResultsApi.md +10 -22
  32. compute_api_client/docs/JobIn.md +0 -1
  33. compute_api_client/docs/JobsApi.md +18 -38
  34. compute_api_client/docs/LanguagesApi.md +6 -14
  35. compute_api_client/docs/MembersApi.md +14 -32
  36. compute_api_client/docs/MetadataApi.md +6 -14
  37. compute_api_client/docs/PermissionsApi.md +12 -28
  38. compute_api_client/docs/ProjectsApi.md +23 -45
  39. compute_api_client/docs/ReservationsApi.md +12 -28
  40. compute_api_client/docs/ResultsApi.md +115 -14
  41. compute_api_client/docs/TeamsApi.md +6 -14
  42. compute_api_client/docs/Transaction.md +1 -1
  43. compute_api_client/docs/TransactionsApi.md +12 -20
  44. compute_api_client/docs/User.md +1 -0
  45. compute_api_client/docs/UserIn.md +1 -0
  46. compute_api_client/docs/UsersApi.md +16 -30
  47. compute_api_client/models/__init__.py +1 -0
  48. compute_api_client/models/algorithm.py +1 -6
  49. compute_api_client/models/algorithm_in.py +1 -6
  50. compute_api_client/models/backend_in.py +98 -0
  51. compute_api_client/models/backend_type.py +9 -2
  52. compute_api_client/models/batch_job_in.py +1 -3
  53. compute_api_client/models/job_in.py +1 -4
  54. compute_api_client/models/transaction.py +6 -6
  55. compute_api_client/models/user.py +4 -2
  56. compute_api_client/models/user_in.py +4 -2
  57. {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/METADATA +12 -13
  58. {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/RECORD +60 -58
  59. {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/LICENSE.md +0 -0
  60. {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/WHEEL +0 -0
@@ -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,7 +309,7 @@ class AlgorithmsApi:
307
309
 
308
310
  # authentication setting
309
311
  _auth_settings: List[str] = [
310
- 'user'
312
+ 'user_bearer'
311
313
  ]
312
314
 
313
315
  return self.api_client.param_serialize(
@@ -566,7 +568,7 @@ class AlgorithmsApi:
566
568
 
567
569
  # authentication setting
568
570
  _auth_settings: List[str] = [
569
- 'user'
571
+ 'user_bearer'
570
572
  ]
571
573
 
572
574
  return self.api_client.param_serialize(
@@ -834,8 +836,8 @@ class AlgorithmsApi:
834
836
 
835
837
  # authentication setting
836
838
  _auth_settings: List[str] = [
837
- 'backend',
838
- 'user'
839
+ 'user_bearer',
840
+ 'backend'
839
841
  ]
840
842
 
841
843
  return self.api_client.param_serialize(
@@ -859,6 +861,7 @@ class AlgorithmsApi:
859
861
  @validate_call
860
862
  async def read_algorithms_algorithms_get(
861
863
  self,
864
+ search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
862
865
  latest: Optional[StrictBool] = None,
863
866
  sort_by: Optional[StrictStr] = None,
864
867
  page_number: Optional[StrictInt] = None,
@@ -869,7 +872,6 @@ class AlgorithmsApi:
869
872
  shared: Optional[ShareType] = None,
870
873
  link__isnull: Optional[StrictBool] = None,
871
874
  link: Optional[StrictStr] = None,
872
- name__isnull: Optional[StrictBool] = None,
873
875
  name: Optional[StrictStr] = None,
874
876
  _request_timeout: Union[
875
877
  None,
@@ -888,6 +890,8 @@ class AlgorithmsApi:
888
890
 
889
891
  List algorithms.
890
892
 
893
+ :param search: Substring search for algorithm names
894
+ :type search: str
891
895
  :param latest:
892
896
  :type latest: bool
893
897
  :param sort_by:
@@ -908,8 +912,6 @@ class AlgorithmsApi:
908
912
  :type link__isnull: bool
909
913
  :param link:
910
914
  :type link: str
911
- :param name__isnull:
912
- :type name__isnull: bool
913
915
  :param name:
914
916
  :type name: str
915
917
  :param _request_timeout: timeout setting for this request. If one
@@ -935,6 +937,7 @@ class AlgorithmsApi:
935
937
  """ # noqa: E501
936
938
 
937
939
  _param = self._read_algorithms_algorithms_get_serialize(
940
+ search=search,
938
941
  latest=latest,
939
942
  sort_by=sort_by,
940
943
  page_number=page_number,
@@ -945,7 +948,6 @@ class AlgorithmsApi:
945
948
  shared=shared,
946
949
  link__isnull=link__isnull,
947
950
  link=link,
948
- name__isnull=name__isnull,
949
951
  name=name,
950
952
  _request_auth=_request_auth,
951
953
  _content_type=_content_type,
@@ -972,6 +974,7 @@ class AlgorithmsApi:
972
974
  @validate_call
973
975
  async def read_algorithms_algorithms_get_with_http_info(
974
976
  self,
977
+ search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
975
978
  latest: Optional[StrictBool] = None,
976
979
  sort_by: Optional[StrictStr] = None,
977
980
  page_number: Optional[StrictInt] = None,
@@ -982,7 +985,6 @@ class AlgorithmsApi:
982
985
  shared: Optional[ShareType] = None,
983
986
  link__isnull: Optional[StrictBool] = None,
984
987
  link: Optional[StrictStr] = None,
985
- name__isnull: Optional[StrictBool] = None,
986
988
  name: Optional[StrictStr] = None,
987
989
  _request_timeout: Union[
988
990
  None,
@@ -1001,6 +1003,8 @@ class AlgorithmsApi:
1001
1003
 
1002
1004
  List algorithms.
1003
1005
 
1006
+ :param search: Substring search for algorithm names
1007
+ :type search: str
1004
1008
  :param latest:
1005
1009
  :type latest: bool
1006
1010
  :param sort_by:
@@ -1021,8 +1025,6 @@ class AlgorithmsApi:
1021
1025
  :type link__isnull: bool
1022
1026
  :param link:
1023
1027
  :type link: str
1024
- :param name__isnull:
1025
- :type name__isnull: bool
1026
1028
  :param name:
1027
1029
  :type name: str
1028
1030
  :param _request_timeout: timeout setting for this request. If one
@@ -1048,6 +1050,7 @@ class AlgorithmsApi:
1048
1050
  """ # noqa: E501
1049
1051
 
1050
1052
  _param = self._read_algorithms_algorithms_get_serialize(
1053
+ search=search,
1051
1054
  latest=latest,
1052
1055
  sort_by=sort_by,
1053
1056
  page_number=page_number,
@@ -1058,7 +1061,6 @@ class AlgorithmsApi:
1058
1061
  shared=shared,
1059
1062
  link__isnull=link__isnull,
1060
1063
  link=link,
1061
- name__isnull=name__isnull,
1062
1064
  name=name,
1063
1065
  _request_auth=_request_auth,
1064
1066
  _content_type=_content_type,
@@ -1085,6 +1087,7 @@ class AlgorithmsApi:
1085
1087
  @validate_call
1086
1088
  async def read_algorithms_algorithms_get_without_preload_content(
1087
1089
  self,
1090
+ search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
1088
1091
  latest: Optional[StrictBool] = None,
1089
1092
  sort_by: Optional[StrictStr] = None,
1090
1093
  page_number: Optional[StrictInt] = None,
@@ -1095,7 +1098,6 @@ class AlgorithmsApi:
1095
1098
  shared: Optional[ShareType] = None,
1096
1099
  link__isnull: Optional[StrictBool] = None,
1097
1100
  link: Optional[StrictStr] = None,
1098
- name__isnull: Optional[StrictBool] = None,
1099
1101
  name: Optional[StrictStr] = None,
1100
1102
  _request_timeout: Union[
1101
1103
  None,
@@ -1114,6 +1116,8 @@ class AlgorithmsApi:
1114
1116
 
1115
1117
  List algorithms.
1116
1118
 
1119
+ :param search: Substring search for algorithm names
1120
+ :type search: str
1117
1121
  :param latest:
1118
1122
  :type latest: bool
1119
1123
  :param sort_by:
@@ -1134,8 +1138,6 @@ class AlgorithmsApi:
1134
1138
  :type link__isnull: bool
1135
1139
  :param link:
1136
1140
  :type link: str
1137
- :param name__isnull:
1138
- :type name__isnull: bool
1139
1141
  :param name:
1140
1142
  :type name: str
1141
1143
  :param _request_timeout: timeout setting for this request. If one
@@ -1161,6 +1163,7 @@ class AlgorithmsApi:
1161
1163
  """ # noqa: E501
1162
1164
 
1163
1165
  _param = self._read_algorithms_algorithms_get_serialize(
1166
+ search=search,
1164
1167
  latest=latest,
1165
1168
  sort_by=sort_by,
1166
1169
  page_number=page_number,
@@ -1171,7 +1174,6 @@ class AlgorithmsApi:
1171
1174
  shared=shared,
1172
1175
  link__isnull=link__isnull,
1173
1176
  link=link,
1174
- name__isnull=name__isnull,
1175
1177
  name=name,
1176
1178
  _request_auth=_request_auth,
1177
1179
  _content_type=_content_type,
@@ -1193,6 +1195,7 @@ class AlgorithmsApi:
1193
1195
 
1194
1196
  def _read_algorithms_algorithms_get_serialize(
1195
1197
  self,
1198
+ search,
1196
1199
  latest,
1197
1200
  sort_by,
1198
1201
  page_number,
@@ -1203,7 +1206,6 @@ class AlgorithmsApi:
1203
1206
  shared,
1204
1207
  link__isnull,
1205
1208
  link,
1206
- name__isnull,
1207
1209
  name,
1208
1210
  _request_auth,
1209
1211
  _content_type,
@@ -1226,6 +1228,10 @@ class AlgorithmsApi:
1226
1228
 
1227
1229
  # process the path parameters
1228
1230
  # process the query parameters
1231
+ if search is not None:
1232
+
1233
+ _query_params.append(('search', search))
1234
+
1229
1235
  if latest is not None:
1230
1236
 
1231
1237
  _query_params.append(('latest', latest))
@@ -1266,10 +1272,6 @@ class AlgorithmsApi:
1266
1272
 
1267
1273
  _query_params.append(('link', link))
1268
1274
 
1269
- if name__isnull is not None:
1270
-
1271
- _query_params.append(('name__isnull', name__isnull))
1272
-
1273
1275
  if name is not None:
1274
1276
 
1275
1277
  _query_params.append(('name', name))
@@ -1289,7 +1291,7 @@ class AlgorithmsApi:
1289
1291
 
1290
1292
  # authentication setting
1291
1293
  _auth_settings: List[str] = [
1292
- 'user'
1294
+ 'user_bearer'
1293
1295
  ]
1294
1296
 
1295
1297
  return self.api_client.param_serialize(
@@ -1585,7 +1587,7 @@ class AlgorithmsApi:
1585
1587
 
1586
1588
  # authentication setting
1587
1589
  _auth_settings: List[str] = [
1588
- 'user'
1590
+ 'user_bearer'
1589
1591
  ]
1590
1592
 
1591
1593
  return self.api_client.param_serialize(
@@ -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
- backend: Backend,
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 backend: (required)
77
- :type backend: Backend
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
- backend=backend,
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
- backend: Backend,
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 backend: (required)
146
- :type backend: Backend
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
- backend=backend,
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
- backend: Backend,
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 backend: (required)
215
- :type backend: Backend
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
- backend=backend,
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
- backend,
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 backend is not None:
286
- _body_params = backend
286
+ if backend_in is not None:
287
+ _body_params = backend_in
287
288
 
288
289
 
289
290
  # set the HTTP header `Accept`
@@ -309,7 +310,7 @@ class BackendApi:
309
310
 
310
311
  # authentication setting
311
312
  _auth_settings: List[str] = [
312
- 'user'
313
+ 'user_bearer'
313
314
  ]
314
315
 
315
316
  return self.api_client.param_serialize(
@@ -577,7 +578,7 @@ class BackendApi:
577
578
 
578
579
  # authentication setting
579
580
  _auth_settings: List[str] = [
580
- 'user'
581
+ 'user_bearer'
581
582
  ]
582
583
 
583
584
  return self.api_client.param_serialize(
@@ -1253,7 +1254,7 @@ class BackendApi:
1253
1254
 
1254
1255
  # authentication setting
1255
1256
  _auth_settings: List[str] = [
1256
- 'user'
1257
+ 'user_bearer'
1257
1258
  ]
1258
1259
 
1259
1260
  return self.api_client.param_serialize(
@@ -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,7 +295,7 @@ class BackendTypesApi:
294
295
 
295
296
  # authentication setting
296
297
  _auth_settings: List[str] = [
297
- 'user'
298
+ 'user_bearer'
298
299
  ]
299
300
 
300
301
  return self.api_client.param_serialize(
@@ -328,6 +329,9 @@ class BackendTypesApi:
328
329
  description: Optional[StrictStr] = None,
329
330
  image_id: Optional[StrictStr] = None,
330
331
  is_hardware: Optional[StrictBool] = None,
332
+ status: Optional[BackendStatus] = None,
333
+ default_number_of_shots: Optional[StrictInt] = None,
334
+ max_number_of_shots: Optional[StrictInt] = None,
331
335
  _request_timeout: Union[
332
336
  None,
333
337
  Annotated[StrictFloat, Field(gt=0)],
@@ -365,6 +369,12 @@ class BackendTypesApi:
365
369
  :type image_id: str
366
370
  :param is_hardware:
367
371
  :type is_hardware: bool
372
+ :param status:
373
+ :type status: BackendStatus
374
+ :param default_number_of_shots:
375
+ :type default_number_of_shots: int
376
+ :param max_number_of_shots:
377
+ :type max_number_of_shots: int
368
378
  :param _request_timeout: timeout setting for this request. If one
369
379
  number provided, it will be total request
370
380
  timeout. It can also be a pair (tuple) of
@@ -398,6 +408,9 @@ class BackendTypesApi:
398
408
  description=description,
399
409
  image_id=image_id,
400
410
  is_hardware=is_hardware,
411
+ status=status,
412
+ default_number_of_shots=default_number_of_shots,
413
+ max_number_of_shots=max_number_of_shots,
401
414
  _request_auth=_request_auth,
402
415
  _content_type=_content_type,
403
416
  _headers=_headers,
@@ -433,6 +446,9 @@ class BackendTypesApi:
433
446
  description: Optional[StrictStr] = None,
434
447
  image_id: Optional[StrictStr] = None,
435
448
  is_hardware: Optional[StrictBool] = None,
449
+ status: Optional[BackendStatus] = None,
450
+ default_number_of_shots: Optional[StrictInt] = None,
451
+ max_number_of_shots: Optional[StrictInt] = None,
436
452
  _request_timeout: Union[
437
453
  None,
438
454
  Annotated[StrictFloat, Field(gt=0)],
@@ -470,6 +486,12 @@ class BackendTypesApi:
470
486
  :type image_id: str
471
487
  :param is_hardware:
472
488
  :type is_hardware: bool
489
+ :param status:
490
+ :type status: BackendStatus
491
+ :param default_number_of_shots:
492
+ :type default_number_of_shots: int
493
+ :param max_number_of_shots:
494
+ :type max_number_of_shots: int
473
495
  :param _request_timeout: timeout setting for this request. If one
474
496
  number provided, it will be total request
475
497
  timeout. It can also be a pair (tuple) of
@@ -503,6 +525,9 @@ class BackendTypesApi:
503
525
  description=description,
504
526
  image_id=image_id,
505
527
  is_hardware=is_hardware,
528
+ status=status,
529
+ default_number_of_shots=default_number_of_shots,
530
+ max_number_of_shots=max_number_of_shots,
506
531
  _request_auth=_request_auth,
507
532
  _content_type=_content_type,
508
533
  _headers=_headers,
@@ -538,6 +563,9 @@ class BackendTypesApi:
538
563
  description: Optional[StrictStr] = None,
539
564
  image_id: Optional[StrictStr] = None,
540
565
  is_hardware: Optional[StrictBool] = None,
566
+ status: Optional[BackendStatus] = None,
567
+ default_number_of_shots: Optional[StrictInt] = None,
568
+ max_number_of_shots: Optional[StrictInt] = None,
541
569
  _request_timeout: Union[
542
570
  None,
543
571
  Annotated[StrictFloat, Field(gt=0)],
@@ -575,6 +603,12 @@ class BackendTypesApi:
575
603
  :type image_id: str
576
604
  :param is_hardware:
577
605
  :type is_hardware: bool
606
+ :param status:
607
+ :type status: BackendStatus
608
+ :param default_number_of_shots:
609
+ :type default_number_of_shots: int
610
+ :param max_number_of_shots:
611
+ :type max_number_of_shots: int
578
612
  :param _request_timeout: timeout setting for this request. If one
579
613
  number provided, it will be total request
580
614
  timeout. It can also be a pair (tuple) of
@@ -608,6 +642,9 @@ class BackendTypesApi:
608
642
  description=description,
609
643
  image_id=image_id,
610
644
  is_hardware=is_hardware,
645
+ status=status,
646
+ default_number_of_shots=default_number_of_shots,
647
+ max_number_of_shots=max_number_of_shots,
611
648
  _request_auth=_request_auth,
612
649
  _content_type=_content_type,
613
650
  _headers=_headers,
@@ -638,6 +675,9 @@ class BackendTypesApi:
638
675
  description,
639
676
  image_id,
640
677
  is_hardware,
678
+ status,
679
+ default_number_of_shots,
680
+ max_number_of_shots,
641
681
  _request_auth,
642
682
  _content_type,
643
683
  _headers,
@@ -699,6 +739,18 @@ class BackendTypesApi:
699
739
 
700
740
  _query_params.append(('is_hardware', is_hardware))
701
741
 
742
+ if status is not None:
743
+
744
+ _query_params.append(('status', status.value))
745
+
746
+ if default_number_of_shots is not None:
747
+
748
+ _query_params.append(('default_number_of_shots', default_number_of_shots))
749
+
750
+ if max_number_of_shots is not None:
751
+
752
+ _query_params.append(('max_number_of_shots', max_number_of_shots))
753
+
702
754
  # process the header parameters
703
755
  # process the form parameters
704
756
  # process the body parameter
@@ -714,7 +766,7 @@ class BackendTypesApi:
714
766
 
715
767
  # authentication setting
716
768
  _auth_settings: List[str] = [
717
- 'user'
769
+ 'user_bearer'
718
770
  ]
719
771
 
720
772
  return self.api_client.param_serialize(
@@ -309,7 +309,7 @@ class BatchJobsApi:
309
309
 
310
310
  # authentication setting
311
311
  _auth_settings: List[str] = [
312
- 'user'
312
+ 'user_bearer'
313
313
  ]
314
314
 
315
315
  return self.api_client.param_serialize(
@@ -577,7 +577,7 @@ class BatchJobsApi:
577
577
 
578
578
  # authentication setting
579
579
  _auth_settings: List[str] = [
580
- 'user'
580
+ 'user_bearer'
581
581
  ]
582
582
 
583
583
  return self.api_client.param_serialize(
@@ -845,8 +845,8 @@ class BatchJobsApi:
845
845
 
846
846
  # authentication setting
847
847
  _auth_settings: List[str] = [
848
- 'backend',
849
- 'user'
848
+ 'user_bearer',
849
+ 'backend'
850
850
  ]
851
851
 
852
852
  return self.api_client.param_serialize(
@@ -1406,7 +1406,6 @@ class BatchJobsApi:
1406
1406
  id: Optional[StrictInt] = None,
1407
1407
  created_on: Optional[datetime] = None,
1408
1408
  status: Optional[BatchJobStatus] = None,
1409
- user_id: Optional[StrictInt] = None,
1410
1409
  backend_type_id: Optional[StrictInt] = None,
1411
1410
  backend_id__isnull: Optional[StrictBool] = None,
1412
1411
  backend_id: Optional[StrictInt] = None,
@@ -1448,8 +1447,6 @@ class BatchJobsApi:
1448
1447
  :type created_on: datetime
1449
1448
  :param status:
1450
1449
  :type status: BatchJobStatus
1451
- :param user_id:
1452
- :type user_id: int
1453
1450
  :param backend_type_id:
1454
1451
  :type backend_type_id: int
1455
1452
  :param backend_id__isnull:
@@ -1500,7 +1497,6 @@ class BatchJobsApi:
1500
1497
  id=id,
1501
1498
  created_on=created_on,
1502
1499
  status=status,
1503
- user_id=user_id,
1504
1500
  backend_type_id=backend_type_id,
1505
1501
  backend_id__isnull=backend_id__isnull,
1506
1502
  backend_id=backend_id,
@@ -1543,7 +1539,6 @@ class BatchJobsApi:
1543
1539
  id: Optional[StrictInt] = None,
1544
1540
  created_on: Optional[datetime] = None,
1545
1541
  status: Optional[BatchJobStatus] = None,
1546
- user_id: Optional[StrictInt] = None,
1547
1542
  backend_type_id: Optional[StrictInt] = None,
1548
1543
  backend_id__isnull: Optional[StrictBool] = None,
1549
1544
  backend_id: Optional[StrictInt] = None,
@@ -1585,8 +1580,6 @@ class BatchJobsApi:
1585
1580
  :type created_on: datetime
1586
1581
  :param status:
1587
1582
  :type status: BatchJobStatus
1588
- :param user_id:
1589
- :type user_id: int
1590
1583
  :param backend_type_id:
1591
1584
  :type backend_type_id: int
1592
1585
  :param backend_id__isnull:
@@ -1637,7 +1630,6 @@ class BatchJobsApi:
1637
1630
  id=id,
1638
1631
  created_on=created_on,
1639
1632
  status=status,
1640
- user_id=user_id,
1641
1633
  backend_type_id=backend_type_id,
1642
1634
  backend_id__isnull=backend_id__isnull,
1643
1635
  backend_id=backend_id,
@@ -1680,7 +1672,6 @@ class BatchJobsApi:
1680
1672
  id: Optional[StrictInt] = None,
1681
1673
  created_on: Optional[datetime] = None,
1682
1674
  status: Optional[BatchJobStatus] = None,
1683
- user_id: Optional[StrictInt] = None,
1684
1675
  backend_type_id: Optional[StrictInt] = None,
1685
1676
  backend_id__isnull: Optional[StrictBool] = None,
1686
1677
  backend_id: Optional[StrictInt] = None,
@@ -1722,8 +1713,6 @@ class BatchJobsApi:
1722
1713
  :type created_on: datetime
1723
1714
  :param status:
1724
1715
  :type status: BatchJobStatus
1725
- :param user_id:
1726
- :type user_id: int
1727
1716
  :param backend_type_id:
1728
1717
  :type backend_type_id: int
1729
1718
  :param backend_id__isnull:
@@ -1774,7 +1763,6 @@ class BatchJobsApi:
1774
1763
  id=id,
1775
1764
  created_on=created_on,
1776
1765
  status=status,
1777
- user_id=user_id,
1778
1766
  backend_type_id=backend_type_id,
1779
1767
  backend_id__isnull=backend_id__isnull,
1780
1768
  backend_id=backend_id,
@@ -1812,7 +1800,6 @@ class BatchJobsApi:
1812
1800
  id,
1813
1801
  created_on,
1814
1802
  status,
1815
- user_id,
1816
1803
  backend_type_id,
1817
1804
  backend_id__isnull,
1818
1805
  backend_id,
@@ -1881,10 +1868,6 @@ class BatchJobsApi:
1881
1868
 
1882
1869
  _query_params.append(('status', status.value))
1883
1870
 
1884
- if user_id is not None:
1885
-
1886
- _query_params.append(('user_id', user_id))
1887
-
1888
1871
  if backend_type_id is not None:
1889
1872
 
1890
1873
  _query_params.append(('backend_type_id', backend_type_id))
@@ -1967,7 +1950,7 @@ class BatchJobsApi:
1967
1950
 
1968
1951
  # authentication setting
1969
1952
  _auth_settings: List[str] = [
1970
- 'user'
1953
+ 'user_bearer'
1971
1954
  ]
1972
1955
 
1973
1956
  return self.api_client.param_serialize(
@@ -307,7 +307,7 @@ class CommitsApi:
307
307
 
308
308
  # authentication setting
309
309
  _auth_settings: List[str] = [
310
- 'user'
310
+ 'user_bearer'
311
311
  ]
312
312
 
313
313
  return self.api_client.param_serialize(
@@ -566,7 +566,7 @@ class CommitsApi:
566
566
 
567
567
  # authentication setting
568
568
  _auth_settings: List[str] = [
569
- 'user'
569
+ 'user_bearer'
570
570
  ]
571
571
 
572
572
  return self.api_client.param_serialize(
@@ -834,8 +834,8 @@ class CommitsApi:
834
834
 
835
835
  # authentication setting
836
836
  _auth_settings: List[str] = [
837
- 'backend',
838
- 'user'
837
+ 'user_bearer',
838
+ 'backend'
839
839
  ]
840
840
 
841
841
  return self.api_client.param_serialize(
@@ -1247,7 +1247,7 @@ class CommitsApi:
1247
1247
 
1248
1248
  # authentication setting
1249
1249
  _auth_settings: List[str] = [
1250
- 'user'
1250
+ 'user_bearer'
1251
1251
  ]
1252
1252
 
1253
1253
  return self.api_client.param_serialize(