qi-compute-api-client 0.21.0__py3-none-any.whl → 0.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qi-compute-api-client might be problematic. Click here for more details.
- compute_api_client/__init__.py +1 -0
- compute_api_client/api/algorithms_api.py +24 -0
- compute_api_client/api/backend_api.py +19 -15
- compute_api_client/api/backend_types_api.py +54 -0
- compute_api_client/api/batch_jobs_api.py +4 -0
- compute_api_client/api/commits_api.py +4 -0
- compute_api_client/api/files_api.py +4 -0
- compute_api_client/api/final_results_api.py +3 -0
- compute_api_client/api/jobs_api.py +5 -0
- compute_api_client/api/languages_api.py +2 -0
- compute_api_client/api/members_api.py +4 -0
- compute_api_client/api/metadata_api.py +2 -0
- compute_api_client/api/permissions_api.py +4 -0
- compute_api_client/api/projects_api.py +28 -3
- compute_api_client/api/reservations_api.py +4 -0
- compute_api_client/api/results_api.py +2 -0
- compute_api_client/api/teams_api.py +2 -0
- compute_api_client/api/transactions_api.py +2 -0
- compute_api_client/api/users_api.py +21 -0
- compute_api_client/configuration.py +7 -0
- compute_api_client/docs/AlgorithmsApi.md +24 -7
- compute_api_client/docs/BackendApi.md +17 -8
- compute_api_client/docs/BackendIn.md +32 -0
- compute_api_client/docs/BackendType.md +3 -0
- compute_api_client/docs/BackendTypesApi.md +17 -4
- compute_api_client/docs/BatchJobIn.md +0 -1
- compute_api_client/docs/BatchJobsApi.md +16 -4
- compute_api_client/docs/CommitsApi.md +16 -4
- compute_api_client/docs/FilesApi.md +16 -4
- compute_api_client/docs/FinalResultsApi.md +12 -3
- compute_api_client/docs/JobIn.md +0 -1
- compute_api_client/docs/JobsApi.md +20 -5
- compute_api_client/docs/LanguagesApi.md +8 -2
- compute_api_client/docs/MembersApi.md +16 -4
- compute_api_client/docs/MetadataApi.md +8 -2
- compute_api_client/docs/PermissionsApi.md +16 -4
- compute_api_client/docs/ProjectsApi.md +29 -9
- compute_api_client/docs/ReservationsApi.md +16 -4
- compute_api_client/docs/ResultsApi.md +8 -2
- compute_api_client/docs/TeamsApi.md +8 -2
- compute_api_client/docs/TransactionsApi.md +8 -2
- compute_api_client/docs/User.md +1 -0
- compute_api_client/docs/UserIn.md +1 -0
- compute_api_client/docs/UsersApi.md +20 -6
- compute_api_client/models/__init__.py +1 -0
- compute_api_client/models/backend_in.py +98 -0
- compute_api_client/models/backend_type.py +9 -2
- compute_api_client/models/batch_job_in.py +1 -3
- compute_api_client/models/job_in.py +1 -4
- compute_api_client/models/user.py +4 -2
- compute_api_client/models/user_in.py +4 -2
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/METADATA +13 -3
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/RECORD +55 -53
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/WHEEL +0 -0
|
@@ -17,6 +17,7 @@ Get backend type by ID.
|
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
|
|
20
|
+
* OAuth Authentication (user_bearer):
|
|
20
21
|
* Api Key Authentication (user):
|
|
21
22
|
```python
|
|
22
23
|
import time
|
|
@@ -37,6 +38,8 @@ configuration = compute_api_client.Configuration(
|
|
|
37
38
|
# Examples for each auth method are provided below, use the example that
|
|
38
39
|
# satisfies your auth use case.
|
|
39
40
|
|
|
41
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
42
|
+
|
|
40
43
|
# Configure API key authorization: user
|
|
41
44
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
42
45
|
|
|
@@ -72,7 +75,7 @@ Name | Type | Description | Notes
|
|
|
72
75
|
|
|
73
76
|
### Authorization
|
|
74
77
|
|
|
75
|
-
[user](../README.md#user)
|
|
78
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
76
79
|
|
|
77
80
|
### HTTP request headers
|
|
78
81
|
|
|
@@ -89,7 +92,7 @@ Name | Type | Description | Notes
|
|
|
89
92
|
[[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
93
|
|
|
91
94
|
# **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)
|
|
95
|
+
> 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
96
|
|
|
94
97
|
List backend types
|
|
95
98
|
|
|
@@ -97,11 +100,13 @@ Read backend types.
|
|
|
97
100
|
|
|
98
101
|
### Example
|
|
99
102
|
|
|
103
|
+
* OAuth Authentication (user_bearer):
|
|
100
104
|
* Api Key Authentication (user):
|
|
101
105
|
```python
|
|
102
106
|
import time
|
|
103
107
|
import os
|
|
104
108
|
import compute_api_client
|
|
109
|
+
from compute_api_client.models.backend_status import BackendStatus
|
|
105
110
|
from compute_api_client.models.backend_type import BackendType
|
|
106
111
|
from compute_api_client.rest import ApiException
|
|
107
112
|
from pprint import pprint
|
|
@@ -117,6 +122,8 @@ configuration = compute_api_client.Configuration(
|
|
|
117
122
|
# Examples for each auth method are provided below, use the example that
|
|
118
123
|
# satisfies your auth use case.
|
|
119
124
|
|
|
125
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
126
|
+
|
|
120
127
|
# Configure API key authorization: user
|
|
121
128
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
122
129
|
|
|
@@ -137,10 +144,13 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
137
144
|
description = 'description_example' # str | (optional)
|
|
138
145
|
image_id = 'image_id_example' # str | (optional)
|
|
139
146
|
is_hardware = True # bool | (optional)
|
|
147
|
+
status = compute_api_client.BackendStatus() # BackendStatus | (optional)
|
|
148
|
+
default_number_of_shots = 56 # int | (optional)
|
|
149
|
+
max_number_of_shots = 56 # int | (optional)
|
|
140
150
|
|
|
141
151
|
try:
|
|
142
152
|
# 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)
|
|
153
|
+
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
154
|
print("The response of BackendTypesApi->read_backend_types_backend_types_get:\n")
|
|
145
155
|
pprint(api_response)
|
|
146
156
|
except Exception as e:
|
|
@@ -163,6 +173,9 @@ Name | Type | Description | Notes
|
|
|
163
173
|
**description** | **str**| | [optional]
|
|
164
174
|
**image_id** | **str**| | [optional]
|
|
165
175
|
**is_hardware** | **bool**| | [optional]
|
|
176
|
+
**status** | [**BackendStatus**](.md)| | [optional]
|
|
177
|
+
**default_number_of_shots** | **int**| | [optional]
|
|
178
|
+
**max_number_of_shots** | **int**| | [optional]
|
|
166
179
|
|
|
167
180
|
### Return type
|
|
168
181
|
|
|
@@ -170,7 +183,7 @@ Name | Type | Description | Notes
|
|
|
170
183
|
|
|
171
184
|
### Authorization
|
|
172
185
|
|
|
173
|
-
[user](../README.md#user)
|
|
186
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
174
187
|
|
|
175
188
|
### HTTP request headers
|
|
176
189
|
|
|
@@ -22,6 +22,7 @@ Create new batch job.
|
|
|
22
22
|
|
|
23
23
|
### Example
|
|
24
24
|
|
|
25
|
+
* OAuth Authentication (user_bearer):
|
|
25
26
|
* Api Key Authentication (user):
|
|
26
27
|
```python
|
|
27
28
|
import time
|
|
@@ -43,6 +44,8 @@ configuration = compute_api_client.Configuration(
|
|
|
43
44
|
# Examples for each auth method are provided below, use the example that
|
|
44
45
|
# satisfies your auth use case.
|
|
45
46
|
|
|
47
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
48
|
+
|
|
46
49
|
# Configure API key authorization: user
|
|
47
50
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
48
51
|
|
|
@@ -78,7 +81,7 @@ Name | Type | Description | Notes
|
|
|
78
81
|
|
|
79
82
|
### Authorization
|
|
80
83
|
|
|
81
|
-
[user](../README.md#user)
|
|
84
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
82
85
|
|
|
83
86
|
### HTTP request headers
|
|
84
87
|
|
|
@@ -102,6 +105,7 @@ Enqueue batch job for execution.
|
|
|
102
105
|
|
|
103
106
|
### Example
|
|
104
107
|
|
|
108
|
+
* OAuth Authentication (user_bearer):
|
|
105
109
|
* Api Key Authentication (user):
|
|
106
110
|
```python
|
|
107
111
|
import time
|
|
@@ -122,6 +126,8 @@ configuration = compute_api_client.Configuration(
|
|
|
122
126
|
# Examples for each auth method are provided below, use the example that
|
|
123
127
|
# satisfies your auth use case.
|
|
124
128
|
|
|
129
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
130
|
+
|
|
125
131
|
# Configure API key authorization: user
|
|
126
132
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
127
133
|
|
|
@@ -157,7 +163,7 @@ Name | Type | Description | Notes
|
|
|
157
163
|
|
|
158
164
|
### Authorization
|
|
159
165
|
|
|
160
|
-
[user](../README.md#user)
|
|
166
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
161
167
|
|
|
162
168
|
### HTTP request headers
|
|
163
169
|
|
|
@@ -182,6 +188,7 @@ Finish batch job.
|
|
|
182
188
|
|
|
183
189
|
### Example
|
|
184
190
|
|
|
191
|
+
* OAuth Authentication (user_bearer):
|
|
185
192
|
* Api Key Authentication (backend):
|
|
186
193
|
* Api Key Authentication (user):
|
|
187
194
|
```python
|
|
@@ -203,6 +210,8 @@ configuration = compute_api_client.Configuration(
|
|
|
203
210
|
# Examples for each auth method are provided below, use the example that
|
|
204
211
|
# satisfies your auth use case.
|
|
205
212
|
|
|
213
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
214
|
+
|
|
206
215
|
# Configure API key authorization: backend
|
|
207
216
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
208
217
|
|
|
@@ -244,7 +253,7 @@ Name | Type | Description | Notes
|
|
|
244
253
|
|
|
245
254
|
### Authorization
|
|
246
255
|
|
|
247
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
256
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
248
257
|
|
|
249
258
|
### HTTP request headers
|
|
250
259
|
|
|
@@ -423,6 +432,7 @@ List batch jobs.
|
|
|
423
432
|
|
|
424
433
|
### Example
|
|
425
434
|
|
|
435
|
+
* OAuth Authentication (user_bearer):
|
|
426
436
|
* Api Key Authentication (user):
|
|
427
437
|
```python
|
|
428
438
|
import time
|
|
@@ -445,6 +455,8 @@ configuration = compute_api_client.Configuration(
|
|
|
445
455
|
# Examples for each auth method are provided below, use the example that
|
|
446
456
|
# satisfies your auth use case.
|
|
447
457
|
|
|
458
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
459
|
+
|
|
448
460
|
# Configure API key authorization: user
|
|
449
461
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
450
462
|
|
|
@@ -514,7 +526,7 @@ Name | Type | Description | Notes
|
|
|
514
526
|
|
|
515
527
|
### Authorization
|
|
516
528
|
|
|
517
|
-
[user](../README.md#user)
|
|
529
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
518
530
|
|
|
519
531
|
### HTTP request headers
|
|
520
532
|
|
|
@@ -19,6 +19,7 @@ Create new commit.
|
|
|
19
19
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
|
+
* OAuth Authentication (user_bearer):
|
|
22
23
|
* Api Key Authentication (user):
|
|
23
24
|
```python
|
|
24
25
|
import time
|
|
@@ -40,6 +41,8 @@ configuration = compute_api_client.Configuration(
|
|
|
40
41
|
# Examples for each auth method are provided below, use the example that
|
|
41
42
|
# satisfies your auth use case.
|
|
42
43
|
|
|
44
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
45
|
+
|
|
43
46
|
# Configure API key authorization: user
|
|
44
47
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
45
48
|
|
|
@@ -75,7 +78,7 @@ Name | Type | Description | Notes
|
|
|
75
78
|
|
|
76
79
|
### Authorization
|
|
77
80
|
|
|
78
|
-
[user](../README.md#user)
|
|
81
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
79
82
|
|
|
80
83
|
### HTTP request headers
|
|
81
84
|
|
|
@@ -99,6 +102,7 @@ Delete a commit.
|
|
|
99
102
|
|
|
100
103
|
### Example
|
|
101
104
|
|
|
105
|
+
* OAuth Authentication (user_bearer):
|
|
102
106
|
* Api Key Authentication (user):
|
|
103
107
|
```python
|
|
104
108
|
import time
|
|
@@ -118,6 +122,8 @@ configuration = compute_api_client.Configuration(
|
|
|
118
122
|
# Examples for each auth method are provided below, use the example that
|
|
119
123
|
# satisfies your auth use case.
|
|
120
124
|
|
|
125
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
126
|
+
|
|
121
127
|
# Configure API key authorization: user
|
|
122
128
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
123
129
|
|
|
@@ -151,7 +157,7 @@ void (empty response body)
|
|
|
151
157
|
|
|
152
158
|
### Authorization
|
|
153
159
|
|
|
154
|
-
[user](../README.md#user)
|
|
160
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
155
161
|
|
|
156
162
|
### HTTP request headers
|
|
157
163
|
|
|
@@ -176,6 +182,7 @@ Get commit by ID.
|
|
|
176
182
|
|
|
177
183
|
### Example
|
|
178
184
|
|
|
185
|
+
* OAuth Authentication (user_bearer):
|
|
179
186
|
* Api Key Authentication (backend):
|
|
180
187
|
* Api Key Authentication (user):
|
|
181
188
|
```python
|
|
@@ -197,6 +204,8 @@ configuration = compute_api_client.Configuration(
|
|
|
197
204
|
# Examples for each auth method are provided below, use the example that
|
|
198
205
|
# satisfies your auth use case.
|
|
199
206
|
|
|
207
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
208
|
+
|
|
200
209
|
# Configure API key authorization: backend
|
|
201
210
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
202
211
|
|
|
@@ -238,7 +247,7 @@ Name | Type | Description | Notes
|
|
|
238
247
|
|
|
239
248
|
### Authorization
|
|
240
249
|
|
|
241
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
250
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
242
251
|
|
|
243
252
|
### HTTP request headers
|
|
244
253
|
|
|
@@ -263,6 +272,7 @@ List commits.
|
|
|
263
272
|
|
|
264
273
|
### Example
|
|
265
274
|
|
|
275
|
+
* OAuth Authentication (user_bearer):
|
|
266
276
|
* Api Key Authentication (user):
|
|
267
277
|
```python
|
|
268
278
|
import time
|
|
@@ -283,6 +293,8 @@ configuration = compute_api_client.Configuration(
|
|
|
283
293
|
# Examples for each auth method are provided below, use the example that
|
|
284
294
|
# satisfies your auth use case.
|
|
285
295
|
|
|
296
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
297
|
+
|
|
286
298
|
# Configure API key authorization: user
|
|
287
299
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
288
300
|
|
|
@@ -334,7 +346,7 @@ Name | Type | Description | Notes
|
|
|
334
346
|
|
|
335
347
|
### Authorization
|
|
336
348
|
|
|
337
|
-
[user](../README.md#user)
|
|
349
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
338
350
|
|
|
339
351
|
### HTTP request headers
|
|
340
352
|
|
|
@@ -19,6 +19,7 @@ Create new file.
|
|
|
19
19
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
|
+
* OAuth Authentication (user_bearer):
|
|
22
23
|
* Api Key Authentication (user):
|
|
23
24
|
```python
|
|
24
25
|
import time
|
|
@@ -40,6 +41,8 @@ configuration = compute_api_client.Configuration(
|
|
|
40
41
|
# Examples for each auth method are provided below, use the example that
|
|
41
42
|
# satisfies your auth use case.
|
|
42
43
|
|
|
44
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
45
|
+
|
|
43
46
|
# Configure API key authorization: user
|
|
44
47
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
45
48
|
|
|
@@ -75,7 +78,7 @@ Name | Type | Description | Notes
|
|
|
75
78
|
|
|
76
79
|
### Authorization
|
|
77
80
|
|
|
78
|
-
[user](../README.md#user)
|
|
81
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
79
82
|
|
|
80
83
|
### HTTP request headers
|
|
81
84
|
|
|
@@ -99,6 +102,7 @@ Delete a file.
|
|
|
99
102
|
|
|
100
103
|
### Example
|
|
101
104
|
|
|
105
|
+
* OAuth Authentication (user_bearer):
|
|
102
106
|
* Api Key Authentication (user):
|
|
103
107
|
```python
|
|
104
108
|
import time
|
|
@@ -118,6 +122,8 @@ configuration = compute_api_client.Configuration(
|
|
|
118
122
|
# Examples for each auth method are provided below, use the example that
|
|
119
123
|
# satisfies your auth use case.
|
|
120
124
|
|
|
125
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
126
|
+
|
|
121
127
|
# Configure API key authorization: user
|
|
122
128
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
123
129
|
|
|
@@ -151,7 +157,7 @@ void (empty response body)
|
|
|
151
157
|
|
|
152
158
|
### Authorization
|
|
153
159
|
|
|
154
|
-
[user](../README.md#user)
|
|
160
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
155
161
|
|
|
156
162
|
### HTTP request headers
|
|
157
163
|
|
|
@@ -176,6 +182,7 @@ Get file by ID.
|
|
|
176
182
|
|
|
177
183
|
### Example
|
|
178
184
|
|
|
185
|
+
* OAuth Authentication (user_bearer):
|
|
179
186
|
* Api Key Authentication (backend):
|
|
180
187
|
* Api Key Authentication (user):
|
|
181
188
|
```python
|
|
@@ -197,6 +204,8 @@ configuration = compute_api_client.Configuration(
|
|
|
197
204
|
# Examples for each auth method are provided below, use the example that
|
|
198
205
|
# satisfies your auth use case.
|
|
199
206
|
|
|
207
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
208
|
+
|
|
200
209
|
# Configure API key authorization: backend
|
|
201
210
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
202
211
|
|
|
@@ -238,7 +247,7 @@ Name | Type | Description | Notes
|
|
|
238
247
|
|
|
239
248
|
### Authorization
|
|
240
249
|
|
|
241
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
250
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
242
251
|
|
|
243
252
|
### HTTP request headers
|
|
244
253
|
|
|
@@ -263,6 +272,7 @@ List files.
|
|
|
263
272
|
|
|
264
273
|
### Example
|
|
265
274
|
|
|
275
|
+
* OAuth Authentication (user_bearer):
|
|
266
276
|
* Api Key Authentication (user):
|
|
267
277
|
```python
|
|
268
278
|
import time
|
|
@@ -284,6 +294,8 @@ configuration = compute_api_client.Configuration(
|
|
|
284
294
|
# Examples for each auth method are provided below, use the example that
|
|
285
295
|
# satisfies your auth use case.
|
|
286
296
|
|
|
297
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
298
|
+
|
|
287
299
|
# Configure API key authorization: user
|
|
288
300
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
289
301
|
|
|
@@ -337,7 +349,7 @@ Name | Type | Description | Notes
|
|
|
337
349
|
|
|
338
350
|
### Authorization
|
|
339
351
|
|
|
340
|
-
[user](../README.md#user)
|
|
352
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
341
353
|
|
|
342
354
|
### HTTP request headers
|
|
343
355
|
|
|
@@ -18,6 +18,7 @@ Create new final result.
|
|
|
18
18
|
|
|
19
19
|
### Example
|
|
20
20
|
|
|
21
|
+
* OAuth Authentication (user_bearer):
|
|
21
22
|
* Api Key Authentication (backend):
|
|
22
23
|
* Api Key Authentication (user):
|
|
23
24
|
```python
|
|
@@ -40,6 +41,8 @@ configuration = compute_api_client.Configuration(
|
|
|
40
41
|
# Examples for each auth method are provided below, use the example that
|
|
41
42
|
# satisfies your auth use case.
|
|
42
43
|
|
|
44
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
45
|
+
|
|
43
46
|
# Configure API key authorization: backend
|
|
44
47
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
45
48
|
|
|
@@ -81,7 +84,7 @@ Name | Type | Description | Notes
|
|
|
81
84
|
|
|
82
85
|
### Authorization
|
|
83
86
|
|
|
84
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
87
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
85
88
|
|
|
86
89
|
### HTTP request headers
|
|
87
90
|
|
|
@@ -105,6 +108,7 @@ Get final result by job ID.
|
|
|
105
108
|
|
|
106
109
|
### Example
|
|
107
110
|
|
|
111
|
+
* OAuth Authentication (user_bearer):
|
|
108
112
|
* Api Key Authentication (user):
|
|
109
113
|
```python
|
|
110
114
|
import time
|
|
@@ -125,6 +129,8 @@ configuration = compute_api_client.Configuration(
|
|
|
125
129
|
# Examples for each auth method are provided below, use the example that
|
|
126
130
|
# satisfies your auth use case.
|
|
127
131
|
|
|
132
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
133
|
+
|
|
128
134
|
# Configure API key authorization: user
|
|
129
135
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
130
136
|
|
|
@@ -160,7 +166,7 @@ Name | Type | Description | Notes
|
|
|
160
166
|
|
|
161
167
|
### Authorization
|
|
162
168
|
|
|
163
|
-
[user](../README.md#user)
|
|
169
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
164
170
|
|
|
165
171
|
### HTTP request headers
|
|
166
172
|
|
|
@@ -184,6 +190,7 @@ Get final result by ID.
|
|
|
184
190
|
|
|
185
191
|
### Example
|
|
186
192
|
|
|
193
|
+
* OAuth Authentication (user_bearer):
|
|
187
194
|
* Api Key Authentication (user):
|
|
188
195
|
```python
|
|
189
196
|
import time
|
|
@@ -204,6 +211,8 @@ configuration = compute_api_client.Configuration(
|
|
|
204
211
|
# Examples for each auth method are provided below, use the example that
|
|
205
212
|
# satisfies your auth use case.
|
|
206
213
|
|
|
214
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
215
|
+
|
|
207
216
|
# Configure API key authorization: user
|
|
208
217
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
209
218
|
|
|
@@ -239,7 +248,7 @@ Name | Type | Description | Notes
|
|
|
239
248
|
|
|
240
249
|
### Authorization
|
|
241
250
|
|
|
242
|
-
[user](../README.md#user)
|
|
251
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
243
252
|
|
|
244
253
|
### HTTP request headers
|
|
245
254
|
|
compute_api_client/docs/JobIn.md
CHANGED
|
@@ -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
|
|
|
@@ -20,6 +20,7 @@ Create new job.
|
|
|
20
20
|
|
|
21
21
|
### Example
|
|
22
22
|
|
|
23
|
+
* OAuth Authentication (user_bearer):
|
|
23
24
|
* Api Key Authentication (user):
|
|
24
25
|
```python
|
|
25
26
|
import time
|
|
@@ -41,6 +42,8 @@ configuration = compute_api_client.Configuration(
|
|
|
41
42
|
# Examples for each auth method are provided below, use the example that
|
|
42
43
|
# satisfies your auth use case.
|
|
43
44
|
|
|
45
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
46
|
+
|
|
44
47
|
# Configure API key authorization: user
|
|
45
48
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
46
49
|
|
|
@@ -76,7 +79,7 @@ Name | Type | Description | Notes
|
|
|
76
79
|
|
|
77
80
|
### Authorization
|
|
78
81
|
|
|
79
|
-
[user](../README.md#user)
|
|
82
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
80
83
|
|
|
81
84
|
### HTTP request headers
|
|
82
85
|
|
|
@@ -100,6 +103,7 @@ Delete a job.
|
|
|
100
103
|
|
|
101
104
|
### Example
|
|
102
105
|
|
|
106
|
+
* OAuth Authentication (user_bearer):
|
|
103
107
|
* Api Key Authentication (user):
|
|
104
108
|
```python
|
|
105
109
|
import time
|
|
@@ -119,6 +123,8 @@ configuration = compute_api_client.Configuration(
|
|
|
119
123
|
# Examples for each auth method are provided below, use the example that
|
|
120
124
|
# satisfies your auth use case.
|
|
121
125
|
|
|
126
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
127
|
+
|
|
122
128
|
# Configure API key authorization: user
|
|
123
129
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
124
130
|
|
|
@@ -152,7 +158,7 @@ void (empty response body)
|
|
|
152
158
|
|
|
153
159
|
### Authorization
|
|
154
160
|
|
|
155
|
-
[user](../README.md#user)
|
|
161
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
156
162
|
|
|
157
163
|
### HTTP request headers
|
|
158
164
|
|
|
@@ -177,6 +183,7 @@ Get job by ID.
|
|
|
177
183
|
|
|
178
184
|
### Example
|
|
179
185
|
|
|
186
|
+
* OAuth Authentication (user_bearer):
|
|
180
187
|
* Api Key Authentication (backend):
|
|
181
188
|
* Api Key Authentication (user):
|
|
182
189
|
```python
|
|
@@ -198,6 +205,8 @@ configuration = compute_api_client.Configuration(
|
|
|
198
205
|
# Examples for each auth method are provided below, use the example that
|
|
199
206
|
# satisfies your auth use case.
|
|
200
207
|
|
|
208
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
209
|
+
|
|
201
210
|
# Configure API key authorization: backend
|
|
202
211
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
203
212
|
|
|
@@ -239,7 +248,7 @@ Name | Type | Description | Notes
|
|
|
239
248
|
|
|
240
249
|
### Authorization
|
|
241
250
|
|
|
242
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
251
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
243
252
|
|
|
244
253
|
### HTTP request headers
|
|
245
254
|
|
|
@@ -264,6 +273,7 @@ List jobs.
|
|
|
264
273
|
|
|
265
274
|
### Example
|
|
266
275
|
|
|
276
|
+
* OAuth Authentication (user_bearer):
|
|
267
277
|
* Api Key Authentication (backend):
|
|
268
278
|
* Api Key Authentication (user):
|
|
269
279
|
```python
|
|
@@ -287,6 +297,8 @@ configuration = compute_api_client.Configuration(
|
|
|
287
297
|
# Examples for each auth method are provided below, use the example that
|
|
288
298
|
# satisfies your auth use case.
|
|
289
299
|
|
|
300
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
301
|
+
|
|
290
302
|
# Configure API key authorization: backend
|
|
291
303
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
292
304
|
|
|
@@ -358,7 +370,7 @@ Name | Type | Description | Notes
|
|
|
358
370
|
|
|
359
371
|
### Authorization
|
|
360
372
|
|
|
361
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
373
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
362
374
|
|
|
363
375
|
### HTTP request headers
|
|
364
376
|
|
|
@@ -382,6 +394,7 @@ Update status of a job.
|
|
|
382
394
|
|
|
383
395
|
### Example
|
|
384
396
|
|
|
397
|
+
* OAuth Authentication (user_bearer):
|
|
385
398
|
* Api Key Authentication (backend):
|
|
386
399
|
* Api Key Authentication (user):
|
|
387
400
|
```python
|
|
@@ -404,6 +417,8 @@ configuration = compute_api_client.Configuration(
|
|
|
404
417
|
# Examples for each auth method are provided below, use the example that
|
|
405
418
|
# satisfies your auth use case.
|
|
406
419
|
|
|
420
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
421
|
+
|
|
407
422
|
# Configure API key authorization: backend
|
|
408
423
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
409
424
|
|
|
@@ -447,7 +462,7 @@ Name | Type | Description | Notes
|
|
|
447
462
|
|
|
448
463
|
### Authorization
|
|
449
464
|
|
|
450
|
-
[backend](../README.md#backend), [user](../README.md#user)
|
|
465
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
|
|
451
466
|
|
|
452
467
|
### HTTP request headers
|
|
453
468
|
|
|
@@ -17,6 +17,7 @@ Get language by ID.
|
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
|
|
20
|
+
* OAuth Authentication (user_bearer):
|
|
20
21
|
* Api Key Authentication (user):
|
|
21
22
|
```python
|
|
22
23
|
import time
|
|
@@ -37,6 +38,8 @@ configuration = compute_api_client.Configuration(
|
|
|
37
38
|
# Examples for each auth method are provided below, use the example that
|
|
38
39
|
# satisfies your auth use case.
|
|
39
40
|
|
|
41
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
42
|
+
|
|
40
43
|
# Configure API key authorization: user
|
|
41
44
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
42
45
|
|
|
@@ -72,7 +75,7 @@ Name | Type | Description | Notes
|
|
|
72
75
|
|
|
73
76
|
### Authorization
|
|
74
77
|
|
|
75
|
-
[user](../README.md#user)
|
|
78
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
76
79
|
|
|
77
80
|
### HTTP request headers
|
|
78
81
|
|
|
@@ -97,6 +100,7 @@ List languages.
|
|
|
97
100
|
|
|
98
101
|
### Example
|
|
99
102
|
|
|
103
|
+
* OAuth Authentication (user_bearer):
|
|
100
104
|
* Api Key Authentication (user):
|
|
101
105
|
```python
|
|
102
106
|
import time
|
|
@@ -117,6 +121,8 @@ configuration = compute_api_client.Configuration(
|
|
|
117
121
|
# Examples for each auth method are provided below, use the example that
|
|
118
122
|
# satisfies your auth use case.
|
|
119
123
|
|
|
124
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
125
|
+
|
|
120
126
|
# Configure API key authorization: user
|
|
121
127
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
122
128
|
|
|
@@ -166,7 +172,7 @@ Name | Type | Description | Notes
|
|
|
166
172
|
|
|
167
173
|
### Authorization
|
|
168
174
|
|
|
169
|
-
[user](../README.md#user)
|
|
175
|
+
[user_bearer](../README.md#user_bearer), [user](../README.md#user)
|
|
170
176
|
|
|
171
177
|
### HTTP request headers
|
|
172
178
|
|