qi-compute-api-client 0.52.0__py3-none-any.whl → 0.54.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 (190) hide show
  1. compute_api_client/__init__.py +194 -95
  2. compute_api_client/api/algorithms_api.py +75 -81
  3. compute_api_client/api/auth_config_api.py +16 -24
  4. compute_api_client/api/backend_api.py +70 -86
  5. compute_api_client/api/backend_types_api.py +77 -56
  6. compute_api_client/api/batch_jobs_api.py +102 -120
  7. compute_api_client/api/commits_api.py +85 -80
  8. compute_api_client/api/files_api.py +62 -67
  9. compute_api_client/api/final_results_api.py +42 -53
  10. compute_api_client/api/health_api.py +16 -25
  11. compute_api_client/api/jobs_api.py +76 -83
  12. compute_api_client/api/languages_api.py +30 -42
  13. compute_api_client/api/members_api.py +62 -67
  14. compute_api_client/api/permissions_api.py +56 -70
  15. compute_api_client/api/projects_api.py +89 -97
  16. compute_api_client/api/reservations_api.py +57 -72
  17. compute_api_client/api/results_api.py +76 -83
  18. compute_api_client/api/teams_api.py +30 -42
  19. compute_api_client/api/transactions_api.py +31 -44
  20. compute_api_client/api/users_api.py +62 -67
  21. compute_api_client/api_client.py +135 -75
  22. compute_api_client/api_response.py +3 -3
  23. compute_api_client/configuration.py +176 -36
  24. compute_api_client/docs/Algorithm.md +8 -7
  25. compute_api_client/docs/AlgorithmIn.md +7 -6
  26. compute_api_client/docs/AlgorithmType.md +5 -3
  27. compute_api_client/docs/AlgorithmsApi.md +15 -10
  28. compute_api_client/docs/AuthConfig.md +3 -2
  29. compute_api_client/docs/AuthConfigApi.md +3 -2
  30. compute_api_client/docs/Backend.md +9 -8
  31. compute_api_client/docs/BackendApi.md +15 -10
  32. compute_api_client/docs/BackendIn.md +8 -7
  33. compute_api_client/docs/BackendPatch.md +5 -4
  34. compute_api_client/docs/BackendStatus.md +9 -3
  35. compute_api_client/docs/BackendType.md +21 -19
  36. compute_api_client/docs/BackendTypePatch.md +4 -2
  37. compute_api_client/docs/BackendTypesApi.md +21 -10
  38. compute_api_client/docs/BackendWithAuthentication.md +10 -9
  39. compute_api_client/docs/BatchJob.md +10 -9
  40. compute_api_client/docs/BatchJobIn.md +4 -3
  41. compute_api_client/docs/BatchJobStatus.md +11 -3
  42. compute_api_client/docs/BatchJobsApi.md +23 -16
  43. compute_api_client/docs/Commit.md +8 -7
  44. compute_api_client/docs/CommitIn.md +5 -4
  45. compute_api_client/docs/CommitsApi.md +15 -10
  46. compute_api_client/docs/CompilePayload.md +4 -3
  47. compute_api_client/docs/CompileStage.md +11 -3
  48. compute_api_client/docs/Domain.md +7 -3
  49. compute_api_client/docs/File.md +10 -9
  50. compute_api_client/docs/FileIn.md +9 -8
  51. compute_api_client/docs/FilesApi.md +12 -8
  52. compute_api_client/docs/FinalResult.md +7 -6
  53. compute_api_client/docs/FinalResultIn.md +5 -4
  54. compute_api_client/docs/FinalResultsApi.md +9 -6
  55. compute_api_client/docs/HTTPBadRequestError.md +3 -2
  56. compute_api_client/docs/HTTPNotFoundError.md +3 -2
  57. compute_api_client/docs/HTTPValidationError.md +3 -2
  58. compute_api_client/docs/HealthApi.md +3 -2
  59. compute_api_client/docs/Job.md +13 -12
  60. compute_api_client/docs/Job1.md +28 -0
  61. compute_api_client/docs/JobIn.md +6 -5
  62. compute_api_client/docs/JobPatch.md +8 -7
  63. compute_api_client/docs/JobStatus.md +11 -3
  64. compute_api_client/docs/JobsApi.md +15 -10
  65. compute_api_client/docs/Language.md +6 -5
  66. compute_api_client/docs/LanguagesApi.md +6 -4
  67. compute_api_client/docs/Member.md +8 -7
  68. compute_api_client/docs/MemberId.md +28 -0
  69. compute_api_client/docs/MemberIn.md +7 -6
  70. compute_api_client/docs/MembersApi.md +12 -8
  71. compute_api_client/docs/PageAlgorithm.md +3 -2
  72. compute_api_client/docs/PageBackend.md +3 -2
  73. compute_api_client/docs/PageBackendType.md +3 -2
  74. compute_api_client/docs/PageBatchJob.md +3 -2
  75. compute_api_client/docs/PageCommit.md +3 -2
  76. compute_api_client/docs/PageFile.md +3 -2
  77. compute_api_client/docs/PageJob.md +3 -2
  78. compute_api_client/docs/PageLanguage.md +3 -2
  79. compute_api_client/docs/PageMember.md +3 -2
  80. compute_api_client/docs/PagePermission.md +3 -2
  81. compute_api_client/docs/PagePermissionGroup.md +3 -2
  82. compute_api_client/docs/PageProject.md +3 -2
  83. compute_api_client/docs/PageReservation.md +3 -2
  84. compute_api_client/docs/PageResult.md +3 -2
  85. compute_api_client/docs/PageTeam.md +3 -2
  86. compute_api_client/docs/PageTransaction.md +3 -2
  87. compute_api_client/docs/PageUser.md +3 -2
  88. compute_api_client/docs/Permission.md +6 -5
  89. compute_api_client/docs/PermissionGroup.md +5 -4
  90. compute_api_client/docs/PermissionsApi.md +12 -8
  91. compute_api_client/docs/Project.md +9 -8
  92. compute_api_client/docs/ProjectIn.md +7 -6
  93. compute_api_client/docs/ProjectPatch.md +3 -2
  94. compute_api_client/docs/ProjectsApi.md +23 -13
  95. compute_api_client/docs/Reservation.md +9 -8
  96. compute_api_client/docs/ReservationIn.md +7 -6
  97. compute_api_client/docs/ReservationsApi.md +12 -8
  98. compute_api_client/docs/Result.md +7 -6
  99. compute_api_client/docs/ResultIn.md +5 -4
  100. compute_api_client/docs/ResultsApi.md +15 -10
  101. compute_api_client/docs/Role.md +5 -3
  102. compute_api_client/docs/ShareType.md +7 -3
  103. compute_api_client/docs/Team.md +7 -6
  104. compute_api_client/docs/TeamsApi.md +6 -4
  105. compute_api_client/docs/Transaction.md +6 -5
  106. compute_api_client/docs/TransactionDomain.md +28 -0
  107. compute_api_client/docs/TransactionsApi.md +6 -4
  108. compute_api_client/docs/User.md +11 -10
  109. compute_api_client/docs/UserIn.md +10 -9
  110. compute_api_client/docs/UsersApi.md +12 -8
  111. compute_api_client/docs/ValidationError.md +4 -3
  112. compute_api_client/docs/ValidationErrorLocInner.md +28 -0
  113. compute_api_client/exceptions.py +74 -24
  114. compute_api_client/models/__init__.py +1 -1
  115. compute_api_client/models/algorithm.py +19 -20
  116. compute_api_client/models/algorithm_in.py +18 -19
  117. compute_api_client/models/algorithm_type.py +1 -9
  118. compute_api_client/models/auth_config.py +14 -14
  119. compute_api_client/models/backend.py +20 -20
  120. compute_api_client/models/backend_in.py +19 -19
  121. compute_api_client/models/backend_patch.py +16 -15
  122. compute_api_client/models/backend_status.py +1 -9
  123. compute_api_client/models/backend_type.py +42 -36
  124. compute_api_client/models/backend_type_patch.py +23 -17
  125. compute_api_client/models/backend_with_authentication.py +21 -21
  126. compute_api_client/models/batch_job.py +21 -20
  127. compute_api_client/models/batch_job_in.py +15 -15
  128. compute_api_client/models/batch_job_status.py +1 -9
  129. compute_api_client/models/commit.py +19 -19
  130. compute_api_client/models/commit_in.py +16 -16
  131. compute_api_client/models/compile_payload.py +15 -15
  132. compute_api_client/models/compile_stage.py +1 -9
  133. compute_api_client/models/domain.py +1 -9
  134. compute_api_client/models/file.py +21 -22
  135. compute_api_client/models/file_in.py +20 -21
  136. compute_api_client/models/final_result.py +18 -17
  137. compute_api_client/models/final_result_in.py +16 -16
  138. compute_api_client/models/http_bad_request_error.py +14 -14
  139. compute_api_client/models/http_not_found_error.py +14 -14
  140. compute_api_client/models/http_validation_error.py +18 -18
  141. compute_api_client/models/job.py +24 -24
  142. compute_api_client/models/job1.py +144 -0
  143. compute_api_client/models/job_in.py +17 -17
  144. compute_api_client/models/job_patch.py +19 -20
  145. compute_api_client/models/job_status.py +1 -9
  146. compute_api_client/models/language.py +17 -18
  147. compute_api_client/models/member.py +19 -19
  148. compute_api_client/models/member_id.py +144 -0
  149. compute_api_client/models/member_in.py +18 -18
  150. compute_api_client/models/page_algorithm.py +18 -19
  151. compute_api_client/models/page_backend.py +18 -19
  152. compute_api_client/models/page_backend_type.py +18 -19
  153. compute_api_client/models/page_batch_job.py +18 -19
  154. compute_api_client/models/page_commit.py +18 -19
  155. compute_api_client/models/page_file.py +18 -19
  156. compute_api_client/models/page_job.py +18 -19
  157. compute_api_client/models/page_language.py +18 -19
  158. compute_api_client/models/page_member.py +18 -19
  159. compute_api_client/models/page_permission.py +18 -19
  160. compute_api_client/models/page_permission_group.py +18 -19
  161. compute_api_client/models/page_project.py +18 -19
  162. compute_api_client/models/page_reservation.py +18 -19
  163. compute_api_client/models/page_result.py +18 -19
  164. compute_api_client/models/page_team.py +18 -19
  165. compute_api_client/models/page_transaction.py +18 -19
  166. compute_api_client/models/page_user.py +18 -19
  167. compute_api_client/models/permission.py +17 -18
  168. compute_api_client/models/permission_group.py +16 -17
  169. compute_api_client/models/project.py +20 -20
  170. compute_api_client/models/project_in.py +18 -19
  171. compute_api_client/models/project_patch.py +14 -15
  172. compute_api_client/models/reservation.py +20 -19
  173. compute_api_client/models/reservation_in.py +18 -17
  174. compute_api_client/models/result.py +18 -17
  175. compute_api_client/models/result_in.py +16 -16
  176. compute_api_client/models/role.py +1 -9
  177. compute_api_client/models/share_type.py +1 -9
  178. compute_api_client/models/team.py +18 -19
  179. compute_api_client/models/transaction.py +17 -17
  180. compute_api_client/models/transaction_domain.py +142 -0
  181. compute_api_client/models/user.py +22 -23
  182. compute_api_client/models/user_in.py +21 -22
  183. compute_api_client/models/validation_error.py +20 -20
  184. compute_api_client/models/validation_error_loc_inner.py +138 -0
  185. compute_api_client/rest.py +51 -26
  186. {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/METADATA +12 -9
  187. qi_compute_api_client-0.54.0.dist-info/RECORD +205 -0
  188. qi_compute_api_client-0.52.0.dist-info/RECORD +0 -197
  189. {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/WHEEL +0 -0
  190. {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/licenses/LICENSE.md +0 -0
@@ -2,14 +2,15 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **id** | **int** | |
8
- **name** | **str** | |
9
- **location** | **str** | |
10
- **backend_type_id** | **int** | |
11
- **status** | [**BackendStatus**](BackendStatus.md) | |
12
- **last_heartbeat** | **datetime** | |
8
+ **id** | **int** | The id of the backend |
9
+ **name** | **str** | The name of the backend |
10
+ **location** | **str** | The location of the backend |
11
+ **backend_type_id** | **int** | The id of the backend type |
12
+ **status** | [**BackendStatus**](BackendStatus.md) | Status of the backend |
13
+ **last_heartbeat** | **datetime** | Time of last heartbeat |
13
14
 
14
15
  ## Example
15
16
 
@@ -21,12 +22,12 @@ json = "{}"
21
22
  # create an instance of Backend from a JSON string
22
23
  backend_instance = Backend.from_json(json)
23
24
  # print the JSON string representation of the object
24
- print Backend.to_json()
25
+ print(Backend.to_json())
25
26
 
26
27
  # convert the object into a dict
27
28
  backend_dict = backend_instance.to_dict()
28
29
  # create an instance of Backend from a dict
29
- backend_form_dict = backend.from_dict(backend_dict)
30
+ backend_from_dict = Backend.from_dict(backend_dict)
30
31
  ```
31
32
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32
33
 
@@ -21,9 +21,8 @@ Create new backend.
21
21
  ### Example
22
22
 
23
23
  * OAuth Authentication (user_bearer):
24
+
24
25
  ```python
25
- import time
26
- import os
27
26
  import compute_api_client
28
27
  from compute_api_client.models.backend_in import BackendIn
29
28
  from compute_api_client.models.backend_with_authentication import BackendWithAuthentication
@@ -62,6 +61,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
62
61
 
63
62
  ### Parameters
64
63
 
64
+
65
65
  Name | Type | Description | Notes
66
66
  ------------- | ------------- | ------------- | -------------
67
67
  **backend_in** | [**BackendIn**](BackendIn.md)| |
@@ -80,6 +80,7 @@ Name | Type | Description | Notes
80
80
  - **Accept**: application/json
81
81
 
82
82
  ### HTTP response details
83
+
83
84
  | Status code | Description | Response headers |
84
85
  |-------------|-------------|------------------|
85
86
  **201** | Successful Response | - |
@@ -97,9 +98,8 @@ Get backend by ID.
97
98
  ### Example
98
99
 
99
100
  * OAuth Authentication (user_bearer):
101
+
100
102
  ```python
101
- import time
102
- import os
103
103
  import compute_api_client
104
104
  from compute_api_client.models.backend import Backend
105
105
  from compute_api_client.rest import ApiException
@@ -137,6 +137,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
137
137
 
138
138
  ### Parameters
139
139
 
140
+
140
141
  Name | Type | Description | Notes
141
142
  ------------- | ------------- | ------------- | -------------
142
143
  **id** | **int**| |
@@ -155,6 +156,7 @@ Name | Type | Description | Notes
155
156
  - **Accept**: application/json
156
157
 
157
158
  ### HTTP response details
159
+
158
160
  | Status code | Description | Response headers |
159
161
  |-------------|-------------|------------------|
160
162
  **200** | Successful Response | - |
@@ -173,9 +175,8 @@ Read backend.
173
175
  ### Example
174
176
 
175
177
  * Api Key Authentication (backend):
178
+
176
179
  ```python
177
- import time
178
- import os
179
180
  import compute_api_client
180
181
  from compute_api_client.models.backend import Backend
181
182
  from compute_api_client.rest import ApiException
@@ -215,6 +216,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
215
216
 
216
217
 
217
218
  ### Parameters
219
+
218
220
  This endpoint does not need any parameter.
219
221
 
220
222
  ### Return type
@@ -231,6 +233,7 @@ This endpoint does not need any parameter.
231
233
  - **Accept**: application/json
232
234
 
233
235
  ### HTTP response details
236
+
234
237
  | Status code | Description | Response headers |
235
238
  |-------------|-------------|------------------|
236
239
  **200** | Successful Response | - |
@@ -247,9 +250,8 @@ Read backends.
247
250
  ### Example
248
251
 
249
252
  * OAuth Authentication (user_bearer):
253
+
250
254
  ```python
251
- import time
252
- import os
253
255
  import compute_api_client
254
256
  from compute_api_client.models.backend_status import BackendStatus
255
257
  from compute_api_client.models.page_backend import PageBackend
@@ -297,6 +299,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
297
299
 
298
300
  ### Parameters
299
301
 
302
+
300
303
  Name | Type | Description | Notes
301
304
  ------------- | ------------- | ------------- | -------------
302
305
  **id** | **int**| | [optional]
@@ -324,6 +327,7 @@ Name | Type | Description | Notes
324
327
  - **Accept**: application/json
325
328
 
326
329
  ### HTTP response details
330
+
327
331
  | Status code | Description | Response headers |
328
332
  |-------------|-------------|------------------|
329
333
  **200** | Successful Response | - |
@@ -341,9 +345,8 @@ Update backend.
341
345
  ### Example
342
346
 
343
347
  * Api Key Authentication (backend):
348
+
344
349
  ```python
345
- import time
346
- import os
347
350
  import compute_api_client
348
351
  from compute_api_client.models.backend import Backend
349
352
  from compute_api_client.models.backend_patch import BackendPatch
@@ -386,6 +389,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
386
389
 
387
390
  ### Parameters
388
391
 
392
+
389
393
  Name | Type | Description | Notes
390
394
  ------------- | ------------- | ------------- | -------------
391
395
  **backend_patch** | [**BackendPatch**](BackendPatch.md)| |
@@ -404,6 +408,7 @@ Name | Type | Description | Notes
404
408
  - **Accept**: application/json
405
409
 
406
410
  ### HTTP response details
411
+
407
412
  | Status code | Description | Response headers |
408
413
  |-------------|-------------|------------------|
409
414
  **200** | Successful Response | - |
@@ -2,13 +2,14 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **name** | **str** | |
8
- **location** | **str** | |
9
- **backend_type_id** | **int** | |
10
- **status** | [**BackendStatus**](BackendStatus.md) | |
11
- **last_heartbeat** | **datetime** | |
8
+ **name** | **str** | The name of the backend |
9
+ **location** | **str** | The location of the backend |
10
+ **backend_type_id** | **int** | The id of the backend type |
11
+ **status** | [**BackendStatus**](BackendStatus.md) | Status of the backend |
12
+ **last_heartbeat** | **datetime** | Time of last heartbeat |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,12 +21,12 @@ json = "{}"
20
21
  # create an instance of BackendIn from a JSON string
21
22
  backend_in_instance = BackendIn.from_json(json)
22
23
  # print the JSON string representation of the object
23
- print BackendIn.to_json()
24
+ print(BackendIn.to_json())
24
25
 
25
26
  # convert the object into a dict
26
27
  backend_in_dict = backend_in_instance.to_dict()
27
28
  # create an instance of BackendIn from a dict
28
- backend_in_form_dict = backend_in.from_dict(backend_in_dict)
29
+ backend_in_from_dict = BackendIn.from_dict(backend_in_dict)
29
30
  ```
30
31
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31
32
 
@@ -2,10 +2,11 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **status** | [**BackendStatus**](BackendStatus.md) | |
8
- **last_heartbeat** | **datetime** | |
8
+ **status** | [**BackendStatus**](BackendStatus.md) | Status of the backend |
9
+ **last_heartbeat** | **datetime** | Time of last heartbeat |
9
10
 
10
11
  ## Example
11
12
 
@@ -17,12 +18,12 @@ json = "{}"
17
18
  # create an instance of BackendPatch from a JSON string
18
19
  backend_patch_instance = BackendPatch.from_json(json)
19
20
  # print the JSON string representation of the object
20
- print BackendPatch.to_json()
21
+ print(BackendPatch.to_json())
21
22
 
22
23
  # convert the object into a dict
23
24
  backend_patch_dict = backend_patch_instance.to_dict()
24
25
  # create an instance of BackendPatch from a dict
25
- backend_patch_form_dict = backend_patch.from_dict(backend_patch_dict)
26
+ backend_patch_from_dict = BackendPatch.from_dict(backend_patch_dict)
26
27
  ```
27
28
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28
29
 
@@ -1,9 +1,15 @@
1
1
  # BackendStatus
2
2
 
3
3
 
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
4
+ ## Enum
5
+
6
+ * `OFFLINE` (value: `'offline'`)
7
+
8
+ * `IDLE` (value: `'idle'`)
9
+
10
+ * `EXECUTING` (value: `'executing'`)
11
+
12
+ * `CALIBRATING` (value: `'calibrating'`)
7
13
 
8
14
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9
15
 
@@ -2,25 +2,27 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **id** | **int** | |
8
- **name** | **str** | |
9
- **infrastructure** | **str** | |
10
- **description** | **str** | |
11
- **image_id** | **str** | |
12
- **is_hardware** | **bool** | |
13
- **supports_raw_data** | **bool** | |
14
- **features** | **List[str]** | |
15
- **default_compiler_config** | **Dict[str, object]** | |
16
- **gateset** | **List[str]** | |
17
- **topology** | **List[List[int]]** | |
18
- **nqubits** | **int** | |
19
- **status** | [**BackendStatus**](BackendStatus.md) | |
20
- **default_number_of_shots** | **int** | |
21
- **max_number_of_shots** | **int** | |
22
- **enabled** | **bool** | |
23
- **identifier** | **str** | |
8
+ **id** | **int** | The id of the backend type |
9
+ **name** | **str** | Name of the backend type |
10
+ **infrastructure** | **str** | Name of the infrastructure |
11
+ **description** | **str** | Description of the backendtype |
12
+ **image_id** | **str** | The id of the image |
13
+ **is_hardware** | **bool** | If it is hardware |
14
+ **supports_raw_data** | **bool** | If it supports raw data extraction |
15
+ **features** | **List[Optional[str]]** | The features supported by backend type |
16
+ **default_compiler_config** | **Dict[str, object]** | The various passes for each stage |
17
+ **gateset** | **List[Optional[str]]** | The primary gatesets supported by the backend |
18
+ **topology** | **List[List[int]]** | The topology of the backend |
19
+ **nqubits** | **int** | The number of qubits on the backend |
20
+ **status** | [**BackendStatus**](BackendStatus.md) | The status of the backend type |
21
+ **default_number_of_shots** | **int** | The default shots |
22
+ **max_number_of_shots** | **int** | The maximum number of shots |
23
+ **enabled** | **bool** | If it is enabled |
24
+ **identifier** | **str** | The identifier of the backend |
25
+ **protocol_version** | **int** | | [optional]
24
26
 
25
27
  ## Example
26
28
 
@@ -32,12 +34,12 @@ json = "{}"
32
34
  # create an instance of BackendType from a JSON string
33
35
  backend_type_instance = BackendType.from_json(json)
34
36
  # print the JSON string representation of the object
35
- print BackendType.to_json()
37
+ print(BackendType.to_json())
36
38
 
37
39
  # convert the object into a dict
38
40
  backend_type_dict = backend_type_instance.to_dict()
39
41
  # create an instance of BackendType from a dict
40
- backend_type_form_dict = backend_type.from_dict(backend_type_dict)
42
+ backend_type_from_dict = BackendType.from_dict(backend_type_dict)
41
43
  ```
42
44
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
43
45
 
@@ -2,6 +2,7 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
8
  **name** | **str** | | [optional]
@@ -19,6 +20,7 @@ Name | Type | Description | Notes
19
20
  **max_number_of_shots** | **int** | | [optional]
20
21
  **enabled** | **bool** | | [optional]
21
22
  **identifier** | **str** | | [optional]
23
+ **protocol_version** | **int** | | [optional]
22
24
 
23
25
  ## Example
24
26
 
@@ -30,12 +32,12 @@ json = "{}"
30
32
  # create an instance of BackendTypePatch from a JSON string
31
33
  backend_type_patch_instance = BackendTypePatch.from_json(json)
32
34
  # print the JSON string representation of the object
33
- print BackendTypePatch.to_json()
35
+ print(BackendTypePatch.to_json())
34
36
 
35
37
  # convert the object into a dict
36
38
  backend_type_patch_dict = backend_type_patch_instance.to_dict()
37
39
  # create an instance of BackendTypePatch from a dict
38
- backend_type_patch_form_dict = backend_type_patch.from_dict(backend_type_patch_dict)
40
+ backend_type_patch_from_dict = BackendTypePatch.from_dict(backend_type_patch_dict)
39
41
  ```
40
42
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
41
43
 
@@ -20,9 +20,8 @@ Get backend type by ID.
20
20
 
21
21
  * OAuth Authentication (user_bearer):
22
22
  * Api Key Authentication (backend):
23
+
23
24
  ```python
24
- import time
25
- import os
26
25
  import compute_api_client
27
26
  from compute_api_client.models.backend_type import BackendType
28
27
  from compute_api_client.rest import ApiException
@@ -66,6 +65,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
66
65
 
67
66
  ### Parameters
68
67
 
68
+
69
69
  Name | Type | Description | Notes
70
70
  ------------- | ------------- | ------------- | -------------
71
71
  **id** | **int**| |
@@ -84,6 +84,7 @@ Name | Type | Description | Notes
84
84
  - **Accept**: application/json
85
85
 
86
86
  ### HTTP response details
87
+
87
88
  | Status code | Description | Response headers |
88
89
  |-------------|-------------|------------------|
89
90
  **200** | Successful Response | - |
@@ -93,17 +94,18 @@ Name | Type | Description | Notes
93
94
  [[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)
94
95
 
95
96
  # **read_backend_types_backend_types_get**
96
- > 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, enabled=enabled, identifier=identifier, sort_by=sort_by, latest=latest, page=page, size=size)
97
+ > 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, enabled=enabled, identifier=identifier, protocol_version__isnull=protocol_version__isnull, protocol_version=protocol_version, sort_by=sort_by, latest=latest, page=page, size=size)
97
98
 
98
99
  List backend types
99
100
 
100
- Read backend types. Only enabled backend types are returned.
101
+ Read backend types.
102
+
103
+ Only enabled backend types are returned.
101
104
 
102
105
  ### Example
103
106
 
107
+
104
108
  ```python
105
- import time
106
- import os
107
109
  import compute_api_client
108
110
  from compute_api_client.models.backend_status import BackendStatus
109
111
  from compute_api_client.models.page_backend_type import PageBackendType
@@ -134,6 +136,8 @@ async with compute_api_client.ApiClient(configuration) as api_client:
134
136
  max_number_of_shots = 56 # int | (optional)
135
137
  enabled = True # bool | (optional)
136
138
  identifier = 'identifier_example' # str | (optional)
139
+ protocol_version__isnull = True # bool | (optional)
140
+ protocol_version = 56 # int | (optional)
137
141
  sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
138
142
  latest = True # bool | If True gets the most recently created object. (optional)
139
143
  page = 1 # int | Page number (optional) (default to 1)
@@ -141,7 +145,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
141
145
 
142
146
  try:
143
147
  # List backend types
144
- 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, enabled=enabled, identifier=identifier, sort_by=sort_by, latest=latest, page=page, size=size)
148
+ 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, enabled=enabled, identifier=identifier, protocol_version__isnull=protocol_version__isnull, protocol_version=protocol_version, sort_by=sort_by, latest=latest, page=page, size=size)
145
149
  print("The response of BackendTypesApi->read_backend_types_backend_types_get:\n")
146
150
  pprint(api_response)
147
151
  except Exception as e:
@@ -152,6 +156,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
152
156
 
153
157
  ### Parameters
154
158
 
159
+
155
160
  Name | Type | Description | Notes
156
161
  ------------- | ------------- | ------------- | -------------
157
162
  **id** | **int**| | [optional]
@@ -167,6 +172,8 @@ Name | Type | Description | Notes
167
172
  **max_number_of_shots** | **int**| | [optional]
168
173
  **enabled** | **bool**| | [optional]
169
174
  **identifier** | **str**| | [optional]
175
+ **protocol_version__isnull** | **bool**| | [optional]
176
+ **protocol_version** | **int**| | [optional]
170
177
  **sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
171
178
  **latest** | **bool**| If True gets the most recently created object. | [optional]
172
179
  **page** | **int**| Page number | [optional] [default to 1]
@@ -186,6 +193,7 @@ No authorization required
186
193
  - **Accept**: application/json
187
194
 
188
195
  ### HTTP response details
196
+
189
197
  | Status code | Description | Response headers |
190
198
  |-------------|-------------|------------------|
191
199
  **200** | Successful Response | - |
@@ -198,14 +206,15 @@ No authorization required
198
206
 
199
207
  Update backend type
200
208
 
201
- Update backend type by ID. This endpoint allows for partial updates of backend type properties.
209
+ Update backend type by ID.
210
+
211
+ This endpoint allows for partial updates of backend type properties.
202
212
 
203
213
  ### Example
204
214
 
205
215
  * Api Key Authentication (backend):
216
+
206
217
  ```python
207
- import time
208
- import os
209
218
  import compute_api_client
210
219
  from compute_api_client.models.backend_type import BackendType
211
220
  from compute_api_client.models.backend_type_patch import BackendTypePatch
@@ -248,6 +257,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
248
257
 
249
258
  ### Parameters
250
259
 
260
+
251
261
  Name | Type | Description | Notes
252
262
  ------------- | ------------- | ------------- | -------------
253
263
  **backend_type_patch** | [**BackendTypePatch**](BackendTypePatch.md)| |
@@ -266,6 +276,7 @@ Name | Type | Description | Notes
266
276
  - **Accept**: application/json
267
277
 
268
278
  ### HTTP response details
279
+
269
280
  | Status code | Description | Response headers |
270
281
  |-------------|-------------|------------------|
271
282
  **200** | Successful Response | - |
@@ -2,15 +2,16 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **id** | **int** | |
8
- **name** | **str** | |
9
- **location** | **str** | |
10
- **backend_type_id** | **int** | |
11
- **status** | [**BackendStatus**](BackendStatus.md) | |
12
- **last_heartbeat** | **datetime** | |
13
- **authentication_hash** | **str** | |
8
+ **id** | **int** | The id of the backend |
9
+ **name** | **str** | The name of the backend |
10
+ **location** | **str** | The location of the backend |
11
+ **backend_type_id** | **int** | The id of the backend type |
12
+ **status** | [**BackendStatus**](BackendStatus.md) | Status of the backend |
13
+ **last_heartbeat** | **datetime** | Time of last heartbeat |
14
+ **authentication_hash** | **str** | The authentication hash of the backend |
14
15
 
15
16
  ## Example
16
17
 
@@ -22,12 +23,12 @@ json = "{}"
22
23
  # create an instance of BackendWithAuthentication from a JSON string
23
24
  backend_with_authentication_instance = BackendWithAuthentication.from_json(json)
24
25
  # print the JSON string representation of the object
25
- print BackendWithAuthentication.to_json()
26
+ print(BackendWithAuthentication.to_json())
26
27
 
27
28
  # convert the object into a dict
28
29
  backend_with_authentication_dict = backend_with_authentication_instance.to_dict()
29
30
  # create an instance of BackendWithAuthentication from a dict
30
- backend_with_authentication_form_dict = backend_with_authentication.from_dict(backend_with_authentication_dict)
31
+ backend_with_authentication_from_dict = BackendWithAuthentication.from_dict(backend_with_authentication_dict)
31
32
  ```
32
33
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33
34
 
@@ -2,19 +2,20 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **id** | **int** | |
8
- **created_on** | **datetime** | |
9
- **status** | [**BatchJobStatus**](BatchJobStatus.md) | |
10
- **user_id** | **int** | |
11
- **backend_type_id** | **int** | |
8
+ **id** | **int** | ID of the batch job |
9
+ **created_on** | **datetime** | Time of batchjob creation |
10
+ **status** | [**BatchJobStatus**](BatchJobStatus.md) | Status of the batchjob |
11
+ **user_id** | **int** | ID of the user to whom this job belongs |
12
+ **backend_type_id** | **int** | ID of the backendtype |
12
13
  **backend_id** | **int** | |
13
14
  **queued_at** | **datetime** | |
14
15
  **reserved_at** | **datetime** | |
15
16
  **finished_at** | **datetime** | |
16
- **job_ids** | **List[int]** | |
17
- **aggregated_algorithm_type** | [**AlgorithmType**](AlgorithmType.md) | |
17
+ **job_ids** | **List[int]** | Job ids in the batch job |
18
+ **aggregated_algorithm_type** | [**AlgorithmType**](AlgorithmType.md) | Algorithm type submitted |
18
19
 
19
20
  ## Example
20
21
 
@@ -26,12 +27,12 @@ json = "{}"
26
27
  # create an instance of BatchJob from a JSON string
27
28
  batch_job_instance = BatchJob.from_json(json)
28
29
  # print the JSON string representation of the object
29
- print BatchJob.to_json()
30
+ print(BatchJob.to_json())
30
31
 
31
32
  # convert the object into a dict
32
33
  batch_job_dict = batch_job_instance.to_dict()
33
34
  # create an instance of BatchJob from a dict
34
- batch_job_form_dict = batch_job.from_dict(batch_job_dict)
35
+ batch_job_from_dict = BatchJob.from_dict(batch_job_dict)
35
36
  ```
36
37
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
37
38
 
@@ -2,9 +2,10 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **backend_type_id** | **int** | |
8
+ **backend_type_id** | **int** | ID of the batch job |
8
9
 
9
10
  ## Example
10
11
 
@@ -16,12 +17,12 @@ json = "{}"
16
17
  # create an instance of BatchJobIn from a JSON string
17
18
  batch_job_in_instance = BatchJobIn.from_json(json)
18
19
  # print the JSON string representation of the object
19
- print BatchJobIn.to_json()
20
+ print(BatchJobIn.to_json())
20
21
 
21
22
  # convert the object into a dict
22
23
  batch_job_in_dict = batch_job_in_instance.to_dict()
23
24
  # create an instance of BatchJobIn from a dict
24
- batch_job_in_form_dict = batch_job_in.from_dict(batch_job_in_dict)
25
+ batch_job_in_from_dict = BatchJobIn.from_dict(batch_job_in_dict)
25
26
  ```
26
27
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
27
28
 
@@ -1,9 +1,17 @@
1
1
  # BatchJobStatus
2
2
 
3
3
 
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
4
+ ## Enum
5
+
6
+ * `PLANNED` (value: `'planned'`)
7
+
8
+ * `QUEUED` (value: `'queued'`)
9
+
10
+ * `RESERVED` (value: `'reserved'`)
11
+
12
+ * `RUNNING` (value: `'running'`)
13
+
14
+ * `FINISHED` (value: `'finished'`)
7
15
 
8
16
  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9
17