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

@@ -63,6 +63,7 @@ from compute_api_client.models.batch_job_in import BatchJobIn
63
63
  from compute_api_client.models.batch_job_status import BatchJobStatus
64
64
  from compute_api_client.models.commit import Commit
65
65
  from compute_api_client.models.commit_in import CommitIn
66
+ from compute_api_client.models.compile_payload import CompilePayload
66
67
  from compute_api_client.models.compile_stage import CompileStage
67
68
  from compute_api_client.models.domain import Domain
68
69
  from compute_api_client.models.file import File
@@ -328,6 +328,7 @@ class BackendTypesApi:
328
328
  description: Optional[StrictStr] = None,
329
329
  image_id: Optional[StrictStr] = None,
330
330
  is_hardware: Optional[StrictBool] = None,
331
+ supports_raw_data: Optional[StrictBool] = None,
331
332
  nqubits: Optional[StrictInt] = None,
332
333
  status: Optional[BackendStatus] = None,
333
334
  default_number_of_shots: Optional[StrictInt] = None,
@@ -365,6 +366,8 @@ class BackendTypesApi:
365
366
  :type image_id: str
366
367
  :param is_hardware:
367
368
  :type is_hardware: bool
369
+ :param supports_raw_data:
370
+ :type supports_raw_data: bool
368
371
  :param nqubits:
369
372
  :type nqubits: int
370
373
  :param status:
@@ -410,6 +413,7 @@ class BackendTypesApi:
410
413
  description=description,
411
414
  image_id=image_id,
412
415
  is_hardware=is_hardware,
416
+ supports_raw_data=supports_raw_data,
413
417
  nqubits=nqubits,
414
418
  status=status,
415
419
  default_number_of_shots=default_number_of_shots,
@@ -449,6 +453,7 @@ class BackendTypesApi:
449
453
  description: Optional[StrictStr] = None,
450
454
  image_id: Optional[StrictStr] = None,
451
455
  is_hardware: Optional[StrictBool] = None,
456
+ supports_raw_data: Optional[StrictBool] = None,
452
457
  nqubits: Optional[StrictInt] = None,
453
458
  status: Optional[BackendStatus] = None,
454
459
  default_number_of_shots: Optional[StrictInt] = None,
@@ -486,6 +491,8 @@ class BackendTypesApi:
486
491
  :type image_id: str
487
492
  :param is_hardware:
488
493
  :type is_hardware: bool
494
+ :param supports_raw_data:
495
+ :type supports_raw_data: bool
489
496
  :param nqubits:
490
497
  :type nqubits: int
491
498
  :param status:
@@ -531,6 +538,7 @@ class BackendTypesApi:
531
538
  description=description,
532
539
  image_id=image_id,
533
540
  is_hardware=is_hardware,
541
+ supports_raw_data=supports_raw_data,
534
542
  nqubits=nqubits,
535
543
  status=status,
536
544
  default_number_of_shots=default_number_of_shots,
@@ -570,6 +578,7 @@ class BackendTypesApi:
570
578
  description: Optional[StrictStr] = None,
571
579
  image_id: Optional[StrictStr] = None,
572
580
  is_hardware: Optional[StrictBool] = None,
581
+ supports_raw_data: Optional[StrictBool] = None,
573
582
  nqubits: Optional[StrictInt] = None,
574
583
  status: Optional[BackendStatus] = None,
575
584
  default_number_of_shots: Optional[StrictInt] = None,
@@ -607,6 +616,8 @@ class BackendTypesApi:
607
616
  :type image_id: str
608
617
  :param is_hardware:
609
618
  :type is_hardware: bool
619
+ :param supports_raw_data:
620
+ :type supports_raw_data: bool
610
621
  :param nqubits:
611
622
  :type nqubits: int
612
623
  :param status:
@@ -652,6 +663,7 @@ class BackendTypesApi:
652
663
  description=description,
653
664
  image_id=image_id,
654
665
  is_hardware=is_hardware,
666
+ supports_raw_data=supports_raw_data,
655
667
  nqubits=nqubits,
656
668
  status=status,
657
669
  default_number_of_shots=default_number_of_shots,
@@ -686,6 +698,7 @@ class BackendTypesApi:
686
698
  description,
687
699
  image_id,
688
700
  is_hardware,
701
+ supports_raw_data,
689
702
  nqubits,
690
703
  status,
691
704
  default_number_of_shots,
@@ -739,6 +752,10 @@ class BackendTypesApi:
739
752
 
740
753
  _query_params.append(('is_hardware', is_hardware))
741
754
 
755
+ if supports_raw_data is not None:
756
+
757
+ _query_params.append(('supports_raw_data', supports_raw_data))
758
+
742
759
  if nqubits is not None:
743
760
 
744
761
  _query_params.append(('nqubits', nqubits))
@@ -33,6 +33,7 @@ from typing import Optional
33
33
 
34
34
  from compute_api_client.models.commit import Commit
35
35
  from compute_api_client.models.commit_in import CommitIn
36
+ from compute_api_client.models.compile_payload import CompilePayload
36
37
  from compute_api_client.models.page_commit import PageCommit
37
38
 
38
39
  from compute_api_client.api_client import ApiClient
@@ -53,6 +54,294 @@ class CommitsApi:
53
54
  self.api_client = api_client
54
55
 
55
56
 
57
+ @validate_call
58
+ async def compile_commit_commits_id_compile_post(
59
+ self,
60
+ id: StrictInt,
61
+ compile_payload: CompilePayload,
62
+ _request_timeout: Union[
63
+ None,
64
+ Annotated[StrictFloat, Field(gt=0)],
65
+ Tuple[
66
+ Annotated[StrictFloat, Field(gt=0)],
67
+ Annotated[StrictFloat, Field(gt=0)]
68
+ ]
69
+ ] = None,
70
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
71
+ _content_type: Optional[StrictStr] = None,
72
+ _headers: Optional[Dict[StrictStr, Any]] = None,
73
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
74
+ ) -> None:
75
+ """Compile file in a commit
76
+
77
+ Compile file in a commit.
78
+
79
+ :param id: (required)
80
+ :type id: int
81
+ :param compile_payload: (required)
82
+ :type compile_payload: CompilePayload
83
+ :param _request_timeout: timeout setting for this request. If one
84
+ number provided, it will be total request
85
+ timeout. It can also be a pair (tuple) of
86
+ (connection, read) timeouts.
87
+ :type _request_timeout: int, tuple(int, int), optional
88
+ :param _request_auth: set to override the auth_settings for an a single
89
+ request; this effectively ignores the
90
+ authentication in the spec for a single request.
91
+ :type _request_auth: dict, optional
92
+ :param _content_type: force content-type for the request.
93
+ :type _content_type: str, Optional
94
+ :param _headers: set to override the headers for a single
95
+ request; this effectively ignores the headers
96
+ in the spec for a single request.
97
+ :type _headers: dict, optional
98
+ :param _host_index: set to override the host_index for a single
99
+ request; this effectively ignores the host_index
100
+ in the spec for a single request.
101
+ :type _host_index: int, optional
102
+ :return: Returns the result object.
103
+ """ # noqa: E501
104
+
105
+ _param = self._compile_commit_commits_id_compile_post_serialize(
106
+ id=id,
107
+ compile_payload=compile_payload,
108
+ _request_auth=_request_auth,
109
+ _content_type=_content_type,
110
+ _headers=_headers,
111
+ _host_index=_host_index
112
+ )
113
+
114
+ _response_types_map: Dict[str, Optional[str]] = {
115
+
116
+ }
117
+ response_data = await self.api_client.call_api(
118
+ *_param,
119
+ _request_timeout=_request_timeout
120
+ )
121
+ await response_data.read()
122
+ return self.api_client.response_deserialize(
123
+ response_data=response_data,
124
+ response_types_map=_response_types_map,
125
+ ).data
126
+
127
+
128
+ @validate_call
129
+ async def compile_commit_commits_id_compile_post_with_http_info(
130
+ self,
131
+ id: StrictInt,
132
+ compile_payload: CompilePayload,
133
+ _request_timeout: Union[
134
+ None,
135
+ Annotated[StrictFloat, Field(gt=0)],
136
+ Tuple[
137
+ Annotated[StrictFloat, Field(gt=0)],
138
+ Annotated[StrictFloat, Field(gt=0)]
139
+ ]
140
+ ] = None,
141
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
142
+ _content_type: Optional[StrictStr] = None,
143
+ _headers: Optional[Dict[StrictStr, Any]] = None,
144
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
145
+ ) -> ApiResponse[None]:
146
+ """Compile file in a commit
147
+
148
+ Compile file in a commit.
149
+
150
+ :param id: (required)
151
+ :type id: int
152
+ :param compile_payload: (required)
153
+ :type compile_payload: CompilePayload
154
+ :param _request_timeout: timeout setting for this request. If one
155
+ number provided, it will be total request
156
+ timeout. It can also be a pair (tuple) of
157
+ (connection, read) timeouts.
158
+ :type _request_timeout: int, tuple(int, int), optional
159
+ :param _request_auth: set to override the auth_settings for an a single
160
+ request; this effectively ignores the
161
+ authentication in the spec for a single request.
162
+ :type _request_auth: dict, optional
163
+ :param _content_type: force content-type for the request.
164
+ :type _content_type: str, Optional
165
+ :param _headers: set to override the headers for a single
166
+ request; this effectively ignores the headers
167
+ in the spec for a single request.
168
+ :type _headers: dict, optional
169
+ :param _host_index: set to override the host_index for a single
170
+ request; this effectively ignores the host_index
171
+ in the spec for a single request.
172
+ :type _host_index: int, optional
173
+ :return: Returns the result object.
174
+ """ # noqa: E501
175
+
176
+ _param = self._compile_commit_commits_id_compile_post_serialize(
177
+ id=id,
178
+ compile_payload=compile_payload,
179
+ _request_auth=_request_auth,
180
+ _content_type=_content_type,
181
+ _headers=_headers,
182
+ _host_index=_host_index
183
+ )
184
+
185
+ _response_types_map: Dict[str, Optional[str]] = {
186
+
187
+ }
188
+ response_data = await self.api_client.call_api(
189
+ *_param,
190
+ _request_timeout=_request_timeout
191
+ )
192
+ await response_data.read()
193
+ return self.api_client.response_deserialize(
194
+ response_data=response_data,
195
+ response_types_map=_response_types_map,
196
+ )
197
+
198
+
199
+ @validate_call
200
+ async def compile_commit_commits_id_compile_post_without_preload_content(
201
+ self,
202
+ id: StrictInt,
203
+ compile_payload: CompilePayload,
204
+ _request_timeout: Union[
205
+ None,
206
+ Annotated[StrictFloat, Field(gt=0)],
207
+ Tuple[
208
+ Annotated[StrictFloat, Field(gt=0)],
209
+ Annotated[StrictFloat, Field(gt=0)]
210
+ ]
211
+ ] = None,
212
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
213
+ _content_type: Optional[StrictStr] = None,
214
+ _headers: Optional[Dict[StrictStr, Any]] = None,
215
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
216
+ ) -> RESTResponseType:
217
+ """Compile file in a commit
218
+
219
+ Compile file in a commit.
220
+
221
+ :param id: (required)
222
+ :type id: int
223
+ :param compile_payload: (required)
224
+ :type compile_payload: CompilePayload
225
+ :param _request_timeout: timeout setting for this request. If one
226
+ number provided, it will be total request
227
+ timeout. It can also be a pair (tuple) of
228
+ (connection, read) timeouts.
229
+ :type _request_timeout: int, tuple(int, int), optional
230
+ :param _request_auth: set to override the auth_settings for an a single
231
+ request; this effectively ignores the
232
+ authentication in the spec for a single request.
233
+ :type _request_auth: dict, optional
234
+ :param _content_type: force content-type for the request.
235
+ :type _content_type: str, Optional
236
+ :param _headers: set to override the headers for a single
237
+ request; this effectively ignores the headers
238
+ in the spec for a single request.
239
+ :type _headers: dict, optional
240
+ :param _host_index: set to override the host_index for a single
241
+ request; this effectively ignores the host_index
242
+ in the spec for a single request.
243
+ :type _host_index: int, optional
244
+ :return: Returns the result object.
245
+ """ # noqa: E501
246
+
247
+ _param = self._compile_commit_commits_id_compile_post_serialize(
248
+ id=id,
249
+ compile_payload=compile_payload,
250
+ _request_auth=_request_auth,
251
+ _content_type=_content_type,
252
+ _headers=_headers,
253
+ _host_index=_host_index
254
+ )
255
+
256
+ _response_types_map: Dict[str, Optional[str]] = {
257
+
258
+ }
259
+ response_data = await self.api_client.call_api(
260
+ *_param,
261
+ _request_timeout=_request_timeout
262
+ )
263
+ return response_data.response
264
+
265
+
266
+ def _compile_commit_commits_id_compile_post_serialize(
267
+ self,
268
+ id,
269
+ compile_payload,
270
+ _request_auth,
271
+ _content_type,
272
+ _headers,
273
+ _host_index,
274
+ ) -> Tuple:
275
+
276
+ _host = None
277
+
278
+ _collection_formats: Dict[str, str] = {
279
+
280
+ }
281
+
282
+ _path_params: Dict[str, str] = {}
283
+ _query_params: List[Tuple[str, str]] = []
284
+ _header_params: Dict[str, Optional[str]] = _headers or {}
285
+ _form_params: List[Tuple[str, str]] = []
286
+ _files: Dict[str, str] = {}
287
+ _body_params: Optional[bytes] = None
288
+
289
+ # process the path parameters
290
+ if id is not None:
291
+ _path_params['id'] = id
292
+ # process the query parameters
293
+ # process the header parameters
294
+ # process the form parameters
295
+ # process the body parameter
296
+ if compile_payload is not None:
297
+ _body_params = compile_payload
298
+
299
+
300
+ # set the HTTP header `Accept`
301
+ _header_params['Accept'] = self.api_client.select_header_accept(
302
+ [
303
+ 'application/json'
304
+ ]
305
+ )
306
+
307
+ # set the HTTP header `Content-Type`
308
+ if _content_type:
309
+ _header_params['Content-Type'] = _content_type
310
+ else:
311
+ _default_content_type = (
312
+ self.api_client.select_header_content_type(
313
+ [
314
+ 'application/json'
315
+ ]
316
+ )
317
+ )
318
+ if _default_content_type is not None:
319
+ _header_params['Content-Type'] = _default_content_type
320
+
321
+ # authentication setting
322
+ _auth_settings: List[str] = [
323
+ 'user_bearer',
324
+ 'backend'
325
+ ]
326
+
327
+ return self.api_client.param_serialize(
328
+ method='POST',
329
+ resource_path='/commits/{id}/compile',
330
+ path_params=_path_params,
331
+ query_params=_query_params,
332
+ header_params=_header_params,
333
+ body=_body_params,
334
+ post_params=_form_params,
335
+ files=_files,
336
+ auth_settings=_auth_settings,
337
+ collection_formats=_collection_formats,
338
+ _host=_host,
339
+ _request_auth=_request_auth
340
+ )
341
+
342
+
343
+
344
+
56
345
  @validate_call
57
346
  async def create_commit_commits_post(
58
347
  self,
@@ -877,6 +877,7 @@ class JobsApi:
877
877
  finished_at: Optional[datetime] = None,
878
878
  number_of_shots__isnull: Optional[StrictBool] = None,
879
879
  number_of_shots: Optional[StrictInt] = None,
880
+ raw_data_enabled: Optional[StrictBool] = None,
880
881
  sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
881
882
  latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
882
883
  page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
@@ -922,6 +923,8 @@ class JobsApi:
922
923
  :type number_of_shots__isnull: bool
923
924
  :param number_of_shots:
924
925
  :type number_of_shots: int
926
+ :param raw_data_enabled:
927
+ :type raw_data_enabled: bool
925
928
  :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
926
929
  :type sort_by: str
927
930
  :param latest: If True gets the most recently created object.
@@ -965,6 +968,7 @@ class JobsApi:
965
968
  finished_at=finished_at,
966
969
  number_of_shots__isnull=number_of_shots__isnull,
967
970
  number_of_shots=number_of_shots,
971
+ raw_data_enabled=raw_data_enabled,
968
972
  sort_by=sort_by,
969
973
  latest=latest,
970
974
  page=page,
@@ -1006,6 +1010,7 @@ class JobsApi:
1006
1010
  finished_at: Optional[datetime] = None,
1007
1011
  number_of_shots__isnull: Optional[StrictBool] = None,
1008
1012
  number_of_shots: Optional[StrictInt] = None,
1013
+ raw_data_enabled: Optional[StrictBool] = None,
1009
1014
  sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
1010
1015
  latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
1011
1016
  page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
@@ -1051,6 +1056,8 @@ class JobsApi:
1051
1056
  :type number_of_shots__isnull: bool
1052
1057
  :param number_of_shots:
1053
1058
  :type number_of_shots: int
1059
+ :param raw_data_enabled:
1060
+ :type raw_data_enabled: bool
1054
1061
  :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
1055
1062
  :type sort_by: str
1056
1063
  :param latest: If True gets the most recently created object.
@@ -1094,6 +1101,7 @@ class JobsApi:
1094
1101
  finished_at=finished_at,
1095
1102
  number_of_shots__isnull=number_of_shots__isnull,
1096
1103
  number_of_shots=number_of_shots,
1104
+ raw_data_enabled=raw_data_enabled,
1097
1105
  sort_by=sort_by,
1098
1106
  latest=latest,
1099
1107
  page=page,
@@ -1135,6 +1143,7 @@ class JobsApi:
1135
1143
  finished_at: Optional[datetime] = None,
1136
1144
  number_of_shots__isnull: Optional[StrictBool] = None,
1137
1145
  number_of_shots: Optional[StrictInt] = None,
1146
+ raw_data_enabled: Optional[StrictBool] = None,
1138
1147
  sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
1139
1148
  latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
1140
1149
  page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
@@ -1180,6 +1189,8 @@ class JobsApi:
1180
1189
  :type number_of_shots__isnull: bool
1181
1190
  :param number_of_shots:
1182
1191
  :type number_of_shots: int
1192
+ :param raw_data_enabled:
1193
+ :type raw_data_enabled: bool
1183
1194
  :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
1184
1195
  :type sort_by: str
1185
1196
  :param latest: If True gets the most recently created object.
@@ -1223,6 +1234,7 @@ class JobsApi:
1223
1234
  finished_at=finished_at,
1224
1235
  number_of_shots__isnull=number_of_shots__isnull,
1225
1236
  number_of_shots=number_of_shots,
1237
+ raw_data_enabled=raw_data_enabled,
1226
1238
  sort_by=sort_by,
1227
1239
  latest=latest,
1228
1240
  page=page,
@@ -1259,6 +1271,7 @@ class JobsApi:
1259
1271
  finished_at,
1260
1272
  number_of_shots__isnull,
1261
1273
  number_of_shots,
1274
+ raw_data_enabled,
1262
1275
  sort_by,
1263
1276
  latest,
1264
1277
  page,
@@ -1359,6 +1372,10 @@ class JobsApi:
1359
1372
 
1360
1373
  _query_params.append(('number_of_shots', number_of_shots))
1361
1374
 
1375
+ if raw_data_enabled is not None:
1376
+
1377
+ _query_params.append(('raw_data_enabled', raw_data_enabled))
1378
+
1362
1379
  if sort_by is not None:
1363
1380
 
1364
1381
  _query_params.append(('sort_by', sort_by))
@@ -872,6 +872,7 @@ class ResultsApi:
872
872
  shots_done__isnull: Optional[StrictBool] = None,
873
873
  shots_done: Optional[StrictInt] = None,
874
874
  results__isnull: Optional[StrictBool] = None,
875
+ raw_data__isnull: Optional[StrictBool] = None,
875
876
  sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
876
877
  latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
877
878
  page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
@@ -915,6 +916,8 @@ class ResultsApi:
915
916
  :type shots_done: int
916
917
  :param results__isnull:
917
918
  :type results__isnull: bool
919
+ :param raw_data__isnull:
920
+ :type raw_data__isnull: bool
918
921
  :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
919
922
  :type sort_by: str
920
923
  :param latest: If True gets the most recently created object.
@@ -957,6 +960,7 @@ class ResultsApi:
957
960
  shots_done__isnull=shots_done__isnull,
958
961
  shots_done=shots_done,
959
962
  results__isnull=results__isnull,
963
+ raw_data__isnull=raw_data__isnull,
960
964
  sort_by=sort_by,
961
965
  latest=latest,
962
966
  page=page,
@@ -998,6 +1002,7 @@ class ResultsApi:
998
1002
  shots_done__isnull: Optional[StrictBool] = None,
999
1003
  shots_done: Optional[StrictInt] = None,
1000
1004
  results__isnull: Optional[StrictBool] = None,
1005
+ raw_data__isnull: Optional[StrictBool] = None,
1001
1006
  sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
1002
1007
  latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
1003
1008
  page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
@@ -1041,6 +1046,8 @@ class ResultsApi:
1041
1046
  :type shots_done: int
1042
1047
  :param results__isnull:
1043
1048
  :type results__isnull: bool
1049
+ :param raw_data__isnull:
1050
+ :type raw_data__isnull: bool
1044
1051
  :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
1045
1052
  :type sort_by: str
1046
1053
  :param latest: If True gets the most recently created object.
@@ -1083,6 +1090,7 @@ class ResultsApi:
1083
1090
  shots_done__isnull=shots_done__isnull,
1084
1091
  shots_done=shots_done,
1085
1092
  results__isnull=results__isnull,
1093
+ raw_data__isnull=raw_data__isnull,
1086
1094
  sort_by=sort_by,
1087
1095
  latest=latest,
1088
1096
  page=page,
@@ -1124,6 +1132,7 @@ class ResultsApi:
1124
1132
  shots_done__isnull: Optional[StrictBool] = None,
1125
1133
  shots_done: Optional[StrictInt] = None,
1126
1134
  results__isnull: Optional[StrictBool] = None,
1135
+ raw_data__isnull: Optional[StrictBool] = None,
1127
1136
  sort_by: Annotated[Optional[StrictStr], Field(description="The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.")] = None,
1128
1137
  latest: Annotated[Optional[StrictBool], Field(description="If True gets the most recently created object.")] = None,
1129
1138
  page: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Page number")] = None,
@@ -1167,6 +1176,8 @@ class ResultsApi:
1167
1176
  :type shots_done: int
1168
1177
  :param results__isnull:
1169
1178
  :type results__isnull: bool
1179
+ :param raw_data__isnull:
1180
+ :type raw_data__isnull: bool
1170
1181
  :param sort_by: The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'.
1171
1182
  :type sort_by: str
1172
1183
  :param latest: If True gets the most recently created object.
@@ -1209,6 +1220,7 @@ class ResultsApi:
1209
1220
  shots_done__isnull=shots_done__isnull,
1210
1221
  shots_done=shots_done,
1211
1222
  results__isnull=results__isnull,
1223
+ raw_data__isnull=raw_data__isnull,
1212
1224
  sort_by=sort_by,
1213
1225
  latest=latest,
1214
1226
  page=page,
@@ -1245,6 +1257,7 @@ class ResultsApi:
1245
1257
  shots_done__isnull,
1246
1258
  shots_done,
1247
1259
  results__isnull,
1260
+ raw_data__isnull,
1248
1261
  sort_by,
1249
1262
  latest,
1250
1263
  page,
@@ -1321,6 +1334,10 @@ class ResultsApi:
1321
1334
 
1322
1335
  _query_params.append(('results__isnull', results__isnull))
1323
1336
 
1337
+ if raw_data__isnull is not None:
1338
+
1339
+ _query_params.append(('raw_data__isnull', raw_data__isnull))
1340
+
1324
1341
  if sort_by is not None:
1325
1342
 
1326
1343
  _query_params.append(('sort_by', sort_by))
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **description** | **str** | |
11
11
  **image_id** | **str** | |
12
12
  **is_hardware** | **bool** | |
13
+ **supports_raw_data** | **bool** | |
13
14
  **features** | **List[str]** | |
14
15
  **default_compiler_config** | **object** | |
15
16
  **gateset** | **List[str]** | |
@@ -85,7 +85,7 @@ Name | Type | Description | Notes
85
85
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
86
86
 
87
87
  # **read_backend_types_backend_types_get**
88
- > PageBackendType read_backend_types_backend_types_get(id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware, nqubits=nqubits, status=status, default_number_of_shots=default_number_of_shots, max_number_of_shots=max_number_of_shots, sort_by=sort_by, latest=latest, page=page, size=size)
88
+ > PageBackendType read_backend_types_backend_types_get(id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware, supports_raw_data=supports_raw_data, nqubits=nqubits, status=status, default_number_of_shots=default_number_of_shots, max_number_of_shots=max_number_of_shots, sort_by=sort_by, latest=latest, page=page, size=size)
89
89
 
90
90
  List backend types
91
91
 
@@ -119,6 +119,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
119
119
  description = 'description_example' # str | (optional)
120
120
  image_id = 'image_id_example' # str | (optional)
121
121
  is_hardware = True # bool | (optional)
122
+ supports_raw_data = True # bool | (optional)
122
123
  nqubits = 56 # int | (optional)
123
124
  status = compute_api_client.BackendStatus() # BackendStatus | (optional)
124
125
  default_number_of_shots = 56 # int | (optional)
@@ -130,7 +131,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
130
131
 
131
132
  try:
132
133
  # List backend types
133
- api_response = await api_instance.read_backend_types_backend_types_get(id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware, nqubits=nqubits, status=status, default_number_of_shots=default_number_of_shots, max_number_of_shots=max_number_of_shots, sort_by=sort_by, latest=latest, page=page, size=size)
134
+ api_response = await api_instance.read_backend_types_backend_types_get(id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware, supports_raw_data=supports_raw_data, nqubits=nqubits, status=status, default_number_of_shots=default_number_of_shots, max_number_of_shots=max_number_of_shots, sort_by=sort_by, latest=latest, page=page, size=size)
134
135
  print("The response of BackendTypesApi->read_backend_types_backend_types_get:\n")
135
136
  pprint(api_response)
136
137
  except Exception as e:
@@ -149,6 +150,7 @@ Name | Type | Description | Notes
149
150
  **description** | **str**| | [optional]
150
151
  **image_id** | **str**| | [optional]
151
152
  **is_hardware** | **bool**| | [optional]
153
+ **supports_raw_data** | **bool**| | [optional]
152
154
  **nqubits** | **int**| | [optional]
153
155
  **status** | [**BackendStatus**](.md)| | [optional]
154
156
  **default_number_of_shots** | **int**| | [optional]