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
@@ -17,7 +17,7 @@ Get backend type by ID.
17
17
 
18
18
  ### Example
19
19
 
20
- * Api Key Authentication (user):
20
+ * OAuth Authentication (user_bearer):
21
21
  ```python
22
22
  import time
23
23
  import os
@@ -37,11 +37,7 @@ configuration = compute_api_client.Configuration(
37
37
  # Examples for each auth method are provided below, use the example that
38
38
  # satisfies your auth use case.
39
39
 
40
- # Configure API key authorization: user
41
- configuration.api_key['user'] = os.environ["API_KEY"]
42
-
43
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
44
- # configuration.api_key_prefix['user'] = 'Bearer'
40
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
45
41
 
46
42
  # Enter a context with an instance of the API client
47
43
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -72,7 +68,7 @@ Name | Type | Description | Notes
72
68
 
73
69
  ### Authorization
74
70
 
75
- [user](../README.md#user)
71
+ [user_bearer](../README.md#user_bearer)
76
72
 
77
73
  ### HTTP request headers
78
74
 
@@ -89,7 +85,7 @@ Name | Type | Description | Notes
89
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)
90
86
 
91
87
  # **read_backend_types_backend_types_get**
92
- > List[BackendType] read_backend_types_backend_types_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware)
88
+ > List[BackendType] read_backend_types_backend_types_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware, status=status, default_number_of_shots=default_number_of_shots, max_number_of_shots=max_number_of_shots)
93
89
 
94
90
  List backend types
95
91
 
@@ -97,11 +93,12 @@ Read backend types.
97
93
 
98
94
  ### Example
99
95
 
100
- * Api Key Authentication (user):
96
+ * OAuth Authentication (user_bearer):
101
97
  ```python
102
98
  import time
103
99
  import os
104
100
  import compute_api_client
101
+ from compute_api_client.models.backend_status import BackendStatus
105
102
  from compute_api_client.models.backend_type import BackendType
106
103
  from compute_api_client.rest import ApiException
107
104
  from pprint import pprint
@@ -117,11 +114,7 @@ configuration = compute_api_client.Configuration(
117
114
  # Examples for each auth method are provided below, use the example that
118
115
  # satisfies your auth use case.
119
116
 
120
- # Configure API key authorization: user
121
- configuration.api_key['user'] = os.environ["API_KEY"]
122
-
123
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
124
- # configuration.api_key_prefix['user'] = 'Bearer'
117
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
125
118
 
126
119
  # Enter a context with an instance of the API client
127
120
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -137,10 +130,13 @@ async with compute_api_client.ApiClient(configuration) as api_client:
137
130
  description = 'description_example' # str | (optional)
138
131
  image_id = 'image_id_example' # str | (optional)
139
132
  is_hardware = True # bool | (optional)
133
+ status = compute_api_client.BackendStatus() # BackendStatus | (optional)
134
+ default_number_of_shots = 56 # int | (optional)
135
+ max_number_of_shots = 56 # int | (optional)
140
136
 
141
137
  try:
142
138
  # List backend types
143
- api_response = await api_instance.read_backend_types_backend_types_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware)
139
+ api_response = await api_instance.read_backend_types_backend_types_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware, status=status, default_number_of_shots=default_number_of_shots, max_number_of_shots=max_number_of_shots)
144
140
  print("The response of BackendTypesApi->read_backend_types_backend_types_get:\n")
145
141
  pprint(api_response)
146
142
  except Exception as e:
@@ -163,6 +159,9 @@ Name | Type | Description | Notes
163
159
  **description** | **str**| | [optional]
164
160
  **image_id** | **str**| | [optional]
165
161
  **is_hardware** | **bool**| | [optional]
162
+ **status** | [**BackendStatus**](.md)| | [optional]
163
+ **default_number_of_shots** | **int**| | [optional]
164
+ **max_number_of_shots** | **int**| | [optional]
166
165
 
167
166
  ### Return type
168
167
 
@@ -170,7 +169,7 @@ Name | Type | Description | Notes
170
169
 
171
170
  ### Authorization
172
171
 
173
- [user](../README.md#user)
172
+ [user_bearer](../README.md#user_bearer)
174
173
 
175
174
  ### HTTP request headers
176
175
 
@@ -4,7 +4,6 @@
4
4
  ## Properties
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **user_id** | **int** | |
8
7
  **backend_type_id** | **int** | |
9
8
 
10
9
  ## Example
@@ -22,7 +22,7 @@ Create new batch job.
22
22
 
23
23
  ### Example
24
24
 
25
- * Api Key Authentication (user):
25
+ * OAuth Authentication (user_bearer):
26
26
  ```python
27
27
  import time
28
28
  import os
@@ -43,11 +43,7 @@ configuration = compute_api_client.Configuration(
43
43
  # Examples for each auth method are provided below, use the example that
44
44
  # satisfies your auth use case.
45
45
 
46
- # Configure API key authorization: user
47
- configuration.api_key['user'] = os.environ["API_KEY"]
48
-
49
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
50
- # configuration.api_key_prefix['user'] = 'Bearer'
46
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
51
47
 
52
48
  # Enter a context with an instance of the API client
53
49
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -78,7 +74,7 @@ Name | Type | Description | Notes
78
74
 
79
75
  ### Authorization
80
76
 
81
- [user](../README.md#user)
77
+ [user_bearer](../README.md#user_bearer)
82
78
 
83
79
  ### HTTP request headers
84
80
 
@@ -102,7 +98,7 @@ Enqueue batch job for execution.
102
98
 
103
99
  ### Example
104
100
 
105
- * Api Key Authentication (user):
101
+ * OAuth Authentication (user_bearer):
106
102
  ```python
107
103
  import time
108
104
  import os
@@ -122,11 +118,7 @@ configuration = compute_api_client.Configuration(
122
118
  # Examples for each auth method are provided below, use the example that
123
119
  # satisfies your auth use case.
124
120
 
125
- # Configure API key authorization: user
126
- configuration.api_key['user'] = os.environ["API_KEY"]
127
-
128
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
129
- # configuration.api_key_prefix['user'] = 'Bearer'
121
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
130
122
 
131
123
  # Enter a context with an instance of the API client
132
124
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -157,7 +149,7 @@ Name | Type | Description | Notes
157
149
 
158
150
  ### Authorization
159
151
 
160
- [user](../README.md#user)
152
+ [user_bearer](../README.md#user_bearer)
161
153
 
162
154
  ### HTTP request headers
163
155
 
@@ -182,8 +174,8 @@ Finish batch job.
182
174
 
183
175
  ### Example
184
176
 
177
+ * OAuth Authentication (user_bearer):
185
178
  * Api Key Authentication (backend):
186
- * Api Key Authentication (user):
187
179
  ```python
188
180
  import time
189
181
  import os
@@ -203,18 +195,14 @@ configuration = compute_api_client.Configuration(
203
195
  # Examples for each auth method are provided below, use the example that
204
196
  # satisfies your auth use case.
205
197
 
198
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
199
+
206
200
  # Configure API key authorization: backend
207
201
  configuration.api_key['backend'] = os.environ["API_KEY"]
208
202
 
209
203
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
210
204
  # configuration.api_key_prefix['backend'] = 'Bearer'
211
205
 
212
- # Configure API key authorization: user
213
- configuration.api_key['user'] = os.environ["API_KEY"]
214
-
215
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
216
- # configuration.api_key_prefix['user'] = 'Bearer'
217
-
218
206
  # Enter a context with an instance of the API client
219
207
  async with compute_api_client.ApiClient(configuration) as api_client:
220
208
  # Create an instance of the API class
@@ -244,7 +232,7 @@ Name | Type | Description | Notes
244
232
 
245
233
  ### Authorization
246
234
 
247
- [backend](../README.md#backend), [user](../README.md#user)
235
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
248
236
 
249
237
  ### HTTP request headers
250
238
 
@@ -415,7 +403,7 @@ This endpoint does not need any parameter.
415
403
  [[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)
416
404
 
417
405
  # **read_batch_jobs_batch_jobs_get**
418
- > List[BatchJob] read_batch_jobs_batch_jobs_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, created_on=created_on, status=status, user_id=user_id, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, queued_at__isnull=queued_at__isnull, queued_at=queued_at, reserved_at__isnull=reserved_at__isnull, reserved_at=reserved_at, finished_at__isnull=finished_at__isnull, finished_at=finished_at, aggregated_algorithm_type=aggregated_algorithm_type)
406
+ > List[BatchJob] read_batch_jobs_batch_jobs_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, created_on=created_on, status=status, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, queued_at__isnull=queued_at__isnull, queued_at=queued_at, reserved_at__isnull=reserved_at__isnull, reserved_at=reserved_at, finished_at__isnull=finished_at__isnull, finished_at=finished_at, aggregated_algorithm_type=aggregated_algorithm_type)
419
407
 
420
408
  List batch jobs
421
409
 
@@ -423,7 +411,7 @@ List batch jobs.
423
411
 
424
412
  ### Example
425
413
 
426
- * Api Key Authentication (user):
414
+ * OAuth Authentication (user_bearer):
427
415
  ```python
428
416
  import time
429
417
  import os
@@ -445,11 +433,7 @@ configuration = compute_api_client.Configuration(
445
433
  # Examples for each auth method are provided below, use the example that
446
434
  # satisfies your auth use case.
447
435
 
448
- # Configure API key authorization: user
449
- configuration.api_key['user'] = os.environ["API_KEY"]
450
-
451
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
452
- # configuration.api_key_prefix['user'] = 'Bearer'
436
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
453
437
 
454
438
  # Enter a context with an instance of the API client
455
439
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -462,7 +446,6 @@ async with compute_api_client.ApiClient(configuration) as api_client:
462
446
  id = 56 # int | (optional)
463
447
  created_on = '2013-10-20T19:20:30+01:00' # datetime | (optional)
464
448
  status = compute_api_client.BatchJobStatus() # BatchJobStatus | (optional)
465
- user_id = 56 # int | (optional)
466
449
  backend_type_id = 56 # int | (optional)
467
450
  backend_id__isnull = True # bool | (optional)
468
451
  backend_id = 56 # int | (optional)
@@ -476,7 +459,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
476
459
 
477
460
  try:
478
461
  # List batch jobs
479
- api_response = await api_instance.read_batch_jobs_batch_jobs_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, created_on=created_on, status=status, user_id=user_id, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, queued_at__isnull=queued_at__isnull, queued_at=queued_at, reserved_at__isnull=reserved_at__isnull, reserved_at=reserved_at, finished_at__isnull=finished_at__isnull, finished_at=finished_at, aggregated_algorithm_type=aggregated_algorithm_type)
462
+ api_response = await api_instance.read_batch_jobs_batch_jobs_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, created_on=created_on, status=status, backend_type_id=backend_type_id, backend_id__isnull=backend_id__isnull, backend_id=backend_id, queued_at__isnull=queued_at__isnull, queued_at=queued_at, reserved_at__isnull=reserved_at__isnull, reserved_at=reserved_at, finished_at__isnull=finished_at__isnull, finished_at=finished_at, aggregated_algorithm_type=aggregated_algorithm_type)
480
463
  print("The response of BatchJobsApi->read_batch_jobs_batch_jobs_get:\n")
481
464
  pprint(api_response)
482
465
  except Exception as e:
@@ -496,7 +479,6 @@ Name | Type | Description | Notes
496
479
  **id** | **int**| | [optional]
497
480
  **created_on** | **datetime**| | [optional]
498
481
  **status** | [**BatchJobStatus**](.md)| | [optional]
499
- **user_id** | **int**| | [optional]
500
482
  **backend_type_id** | **int**| | [optional]
501
483
  **backend_id__isnull** | **bool**| | [optional]
502
484
  **backend_id** | **int**| | [optional]
@@ -514,7 +496,7 @@ Name | Type | Description | Notes
514
496
 
515
497
  ### Authorization
516
498
 
517
- [user](../README.md#user)
499
+ [user_bearer](../README.md#user_bearer)
518
500
 
519
501
  ### HTTP request headers
520
502
 
@@ -19,7 +19,7 @@ Create new commit.
19
19
 
20
20
  ### Example
21
21
 
22
- * Api Key Authentication (user):
22
+ * OAuth Authentication (user_bearer):
23
23
  ```python
24
24
  import time
25
25
  import os
@@ -40,11 +40,7 @@ configuration = compute_api_client.Configuration(
40
40
  # Examples for each auth method are provided below, use the example that
41
41
  # satisfies your auth use case.
42
42
 
43
- # Configure API key authorization: user
44
- configuration.api_key['user'] = os.environ["API_KEY"]
45
-
46
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
47
- # configuration.api_key_prefix['user'] = 'Bearer'
43
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
48
44
 
49
45
  # Enter a context with an instance of the API client
50
46
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -75,7 +71,7 @@ Name | Type | Description | Notes
75
71
 
76
72
  ### Authorization
77
73
 
78
- [user](../README.md#user)
74
+ [user_bearer](../README.md#user_bearer)
79
75
 
80
76
  ### HTTP request headers
81
77
 
@@ -99,7 +95,7 @@ Delete a commit.
99
95
 
100
96
  ### Example
101
97
 
102
- * Api Key Authentication (user):
98
+ * OAuth Authentication (user_bearer):
103
99
  ```python
104
100
  import time
105
101
  import os
@@ -118,11 +114,7 @@ configuration = compute_api_client.Configuration(
118
114
  # Examples for each auth method are provided below, use the example that
119
115
  # satisfies your auth use case.
120
116
 
121
- # Configure API key authorization: user
122
- configuration.api_key['user'] = os.environ["API_KEY"]
123
-
124
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
125
- # configuration.api_key_prefix['user'] = 'Bearer'
117
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
126
118
 
127
119
  # Enter a context with an instance of the API client
128
120
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -151,7 +143,7 @@ void (empty response body)
151
143
 
152
144
  ### Authorization
153
145
 
154
- [user](../README.md#user)
146
+ [user_bearer](../README.md#user_bearer)
155
147
 
156
148
  ### HTTP request headers
157
149
 
@@ -176,8 +168,8 @@ Get commit by ID.
176
168
 
177
169
  ### Example
178
170
 
171
+ * OAuth Authentication (user_bearer):
179
172
  * Api Key Authentication (backend):
180
- * Api Key Authentication (user):
181
173
  ```python
182
174
  import time
183
175
  import os
@@ -197,18 +189,14 @@ configuration = compute_api_client.Configuration(
197
189
  # Examples for each auth method are provided below, use the example that
198
190
  # satisfies your auth use case.
199
191
 
192
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
193
+
200
194
  # Configure API key authorization: backend
201
195
  configuration.api_key['backend'] = os.environ["API_KEY"]
202
196
 
203
197
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
204
198
  # configuration.api_key_prefix['backend'] = 'Bearer'
205
199
 
206
- # Configure API key authorization: user
207
- configuration.api_key['user'] = os.environ["API_KEY"]
208
-
209
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
210
- # configuration.api_key_prefix['user'] = 'Bearer'
211
-
212
200
  # Enter a context with an instance of the API client
213
201
  async with compute_api_client.ApiClient(configuration) as api_client:
214
202
  # Create an instance of the API class
@@ -238,7 +226,7 @@ Name | Type | Description | Notes
238
226
 
239
227
  ### Authorization
240
228
 
241
- [backend](../README.md#backend), [user](../README.md#user)
229
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
242
230
 
243
231
  ### HTTP request headers
244
232
 
@@ -263,7 +251,7 @@ List commits.
263
251
 
264
252
  ### Example
265
253
 
266
- * Api Key Authentication (user):
254
+ * OAuth Authentication (user_bearer):
267
255
  ```python
268
256
  import time
269
257
  import os
@@ -283,11 +271,7 @@ configuration = compute_api_client.Configuration(
283
271
  # Examples for each auth method are provided below, use the example that
284
272
  # satisfies your auth use case.
285
273
 
286
- # Configure API key authorization: user
287
- configuration.api_key['user'] = os.environ["API_KEY"]
288
-
289
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
290
- # configuration.api_key_prefix['user'] = 'Bearer'
274
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
291
275
 
292
276
  # Enter a context with an instance of the API client
293
277
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -334,7 +318,7 @@ Name | Type | Description | Notes
334
318
 
335
319
  ### Authorization
336
320
 
337
- [user](../README.md#user)
321
+ [user_bearer](../README.md#user_bearer)
338
322
 
339
323
  ### HTTP request headers
340
324
 
@@ -19,7 +19,7 @@ Create new file.
19
19
 
20
20
  ### Example
21
21
 
22
- * Api Key Authentication (user):
22
+ * OAuth Authentication (user_bearer):
23
23
  ```python
24
24
  import time
25
25
  import os
@@ -40,11 +40,7 @@ configuration = compute_api_client.Configuration(
40
40
  # Examples for each auth method are provided below, use the example that
41
41
  # satisfies your auth use case.
42
42
 
43
- # Configure API key authorization: user
44
- configuration.api_key['user'] = os.environ["API_KEY"]
45
-
46
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
47
- # configuration.api_key_prefix['user'] = 'Bearer'
43
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
48
44
 
49
45
  # Enter a context with an instance of the API client
50
46
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -75,7 +71,7 @@ Name | Type | Description | Notes
75
71
 
76
72
  ### Authorization
77
73
 
78
- [user](../README.md#user)
74
+ [user_bearer](../README.md#user_bearer)
79
75
 
80
76
  ### HTTP request headers
81
77
 
@@ -99,7 +95,7 @@ Delete a file.
99
95
 
100
96
  ### Example
101
97
 
102
- * Api Key Authentication (user):
98
+ * OAuth Authentication (user_bearer):
103
99
  ```python
104
100
  import time
105
101
  import os
@@ -118,11 +114,7 @@ configuration = compute_api_client.Configuration(
118
114
  # Examples for each auth method are provided below, use the example that
119
115
  # satisfies your auth use case.
120
116
 
121
- # Configure API key authorization: user
122
- configuration.api_key['user'] = os.environ["API_KEY"]
123
-
124
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
125
- # configuration.api_key_prefix['user'] = 'Bearer'
117
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
126
118
 
127
119
  # Enter a context with an instance of the API client
128
120
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -151,7 +143,7 @@ void (empty response body)
151
143
 
152
144
  ### Authorization
153
145
 
154
- [user](../README.md#user)
146
+ [user_bearer](../README.md#user_bearer)
155
147
 
156
148
  ### HTTP request headers
157
149
 
@@ -176,8 +168,8 @@ Get file by ID.
176
168
 
177
169
  ### Example
178
170
 
171
+ * OAuth Authentication (user_bearer):
179
172
  * Api Key Authentication (backend):
180
- * Api Key Authentication (user):
181
173
  ```python
182
174
  import time
183
175
  import os
@@ -197,18 +189,14 @@ configuration = compute_api_client.Configuration(
197
189
  # Examples for each auth method are provided below, use the example that
198
190
  # satisfies your auth use case.
199
191
 
192
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
193
+
200
194
  # Configure API key authorization: backend
201
195
  configuration.api_key['backend'] = os.environ["API_KEY"]
202
196
 
203
197
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
204
198
  # configuration.api_key_prefix['backend'] = 'Bearer'
205
199
 
206
- # Configure API key authorization: user
207
- configuration.api_key['user'] = os.environ["API_KEY"]
208
-
209
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
210
- # configuration.api_key_prefix['user'] = 'Bearer'
211
-
212
200
  # Enter a context with an instance of the API client
213
201
  async with compute_api_client.ApiClient(configuration) as api_client:
214
202
  # Create an instance of the API class
@@ -238,7 +226,7 @@ Name | Type | Description | Notes
238
226
 
239
227
  ### Authorization
240
228
 
241
- [backend](../README.md#backend), [user](../README.md#user)
229
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
242
230
 
243
231
  ### HTTP request headers
244
232
 
@@ -263,7 +251,7 @@ List files.
263
251
 
264
252
  ### Example
265
253
 
266
- * Api Key Authentication (user):
254
+ * OAuth Authentication (user_bearer):
267
255
  ```python
268
256
  import time
269
257
  import os
@@ -284,11 +272,7 @@ configuration = compute_api_client.Configuration(
284
272
  # Examples for each auth method are provided below, use the example that
285
273
  # satisfies your auth use case.
286
274
 
287
- # Configure API key authorization: user
288
- configuration.api_key['user'] = os.environ["API_KEY"]
289
-
290
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
291
- # configuration.api_key_prefix['user'] = 'Bearer'
275
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
292
276
 
293
277
  # Enter a context with an instance of the API client
294
278
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -337,7 +321,7 @@ Name | Type | Description | Notes
337
321
 
338
322
  ### Authorization
339
323
 
340
- [user](../README.md#user)
324
+ [user_bearer](../README.md#user_bearer)
341
325
 
342
326
  ### HTTP request headers
343
327
 
@@ -18,8 +18,8 @@ Create new final result.
18
18
 
19
19
  ### Example
20
20
 
21
+ * OAuth Authentication (user_bearer):
21
22
  * Api Key Authentication (backend):
22
- * Api Key Authentication (user):
23
23
  ```python
24
24
  import time
25
25
  import os
@@ -40,18 +40,14 @@ configuration = compute_api_client.Configuration(
40
40
  # Examples for each auth method are provided below, use the example that
41
41
  # satisfies your auth use case.
42
42
 
43
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
44
+
43
45
  # Configure API key authorization: backend
44
46
  configuration.api_key['backend'] = os.environ["API_KEY"]
45
47
 
46
48
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
47
49
  # configuration.api_key_prefix['backend'] = 'Bearer'
48
50
 
49
- # Configure API key authorization: user
50
- configuration.api_key['user'] = os.environ["API_KEY"]
51
-
52
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
53
- # configuration.api_key_prefix['user'] = 'Bearer'
54
-
55
51
  # Enter a context with an instance of the API client
56
52
  async with compute_api_client.ApiClient(configuration) as api_client:
57
53
  # Create an instance of the API class
@@ -81,7 +77,7 @@ Name | Type | Description | Notes
81
77
 
82
78
  ### Authorization
83
79
 
84
- [backend](../README.md#backend), [user](../README.md#user)
80
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
85
81
 
86
82
  ### HTTP request headers
87
83
 
@@ -105,7 +101,7 @@ Get final result by job ID.
105
101
 
106
102
  ### Example
107
103
 
108
- * Api Key Authentication (user):
104
+ * OAuth Authentication (user_bearer):
109
105
  ```python
110
106
  import time
111
107
  import os
@@ -125,11 +121,7 @@ configuration = compute_api_client.Configuration(
125
121
  # Examples for each auth method are provided below, use the example that
126
122
  # satisfies your auth use case.
127
123
 
128
- # Configure API key authorization: user
129
- configuration.api_key['user'] = os.environ["API_KEY"]
130
-
131
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
132
- # configuration.api_key_prefix['user'] = 'Bearer'
124
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
133
125
 
134
126
  # Enter a context with an instance of the API client
135
127
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -160,7 +152,7 @@ Name | Type | Description | Notes
160
152
 
161
153
  ### Authorization
162
154
 
163
- [user](../README.md#user)
155
+ [user_bearer](../README.md#user_bearer)
164
156
 
165
157
  ### HTTP request headers
166
158
 
@@ -184,7 +176,7 @@ Get final result by ID.
184
176
 
185
177
  ### Example
186
178
 
187
- * Api Key Authentication (user):
179
+ * OAuth Authentication (user_bearer):
188
180
  ```python
189
181
  import time
190
182
  import os
@@ -204,11 +196,7 @@ configuration = compute_api_client.Configuration(
204
196
  # Examples for each auth method are provided below, use the example that
205
197
  # satisfies your auth use case.
206
198
 
207
- # Configure API key authorization: user
208
- configuration.api_key['user'] = os.environ["API_KEY"]
209
-
210
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
211
- # configuration.api_key_prefix['user'] = 'Bearer'
199
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
212
200
 
213
201
  # Enter a context with an instance of the API client
214
202
  async with compute_api_client.ApiClient(configuration) as api_client:
@@ -239,7 +227,7 @@ Name | Type | Description | Notes
239
227
 
240
228
  ### Authorization
241
229
 
242
- [user](../README.md#user)
230
+ [user_bearer](../README.md#user_bearer)
243
231
 
244
232
  ### HTTP request headers
245
233
 
@@ -5,7 +5,6 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **file_id** | **int** | |
8
- **status** | [**JobStatus**](JobStatus.md) | | [optional]
9
8
  **batch_job_id** | **int** | |
10
9
  **number_of_shots** | **int** | | [optional]
11
10