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.
- compute_api_client/__init__.py +1 -0
- compute_api_client/api/algorithms_api.py +25 -23
- compute_api_client/api/backend_api.py +19 -18
- compute_api_client/api/backend_types_api.py +54 -2
- compute_api_client/api/batch_jobs_api.py +5 -22
- compute_api_client/api/commits_api.py +5 -5
- compute_api_client/api/files_api.py +5 -5
- compute_api_client/api/final_results_api.py +4 -4
- compute_api_client/api/jobs_api.py +8 -8
- compute_api_client/api/languages_api.py +2 -2
- compute_api_client/api/members_api.py +4 -21
- compute_api_client/api/metadata_api.py +2 -2
- compute_api_client/api/permissions_api.py +4 -4
- compute_api_client/api/projects_api.py +28 -9
- compute_api_client/api/reservations_api.py +4 -4
- compute_api_client/api/results_api.py +566 -4
- compute_api_client/api/teams_api.py +2 -2
- compute_api_client/api/transactions_api.py +32 -32
- compute_api_client/api/users_api.py +21 -4
- compute_api_client/configuration.py +5 -7
- compute_api_client/docs/AlgorithmIn.md +1 -1
- compute_api_client/docs/AlgorithmsApi.md +20 -40
- compute_api_client/docs/BackendApi.md +14 -26
- compute_api_client/docs/BackendIn.md +32 -0
- compute_api_client/docs/BackendType.md +3 -0
- compute_api_client/docs/BackendTypesApi.md +15 -16
- compute_api_client/docs/BatchJobIn.md +0 -1
- compute_api_client/docs/BatchJobsApi.md +15 -33
- compute_api_client/docs/CommitsApi.md +13 -29
- compute_api_client/docs/FilesApi.md +13 -29
- compute_api_client/docs/FinalResultsApi.md +10 -22
- compute_api_client/docs/JobIn.md +0 -1
- compute_api_client/docs/JobsApi.md +18 -38
- compute_api_client/docs/LanguagesApi.md +6 -14
- compute_api_client/docs/MembersApi.md +14 -32
- compute_api_client/docs/MetadataApi.md +6 -14
- compute_api_client/docs/PermissionsApi.md +12 -28
- compute_api_client/docs/ProjectsApi.md +23 -45
- compute_api_client/docs/ReservationsApi.md +12 -28
- compute_api_client/docs/ResultsApi.md +115 -14
- compute_api_client/docs/TeamsApi.md +6 -14
- compute_api_client/docs/Transaction.md +1 -1
- compute_api_client/docs/TransactionsApi.md +12 -20
- compute_api_client/docs/User.md +1 -0
- compute_api_client/docs/UserIn.md +1 -0
- compute_api_client/docs/UsersApi.md +16 -30
- compute_api_client/models/__init__.py +1 -0
- compute_api_client/models/algorithm.py +1 -6
- compute_api_client/models/algorithm_in.py +1 -6
- 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/transaction.py +6 -6
- 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.31.0.dist-info}/METADATA +12 -13
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/RECORD +60 -58
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.21.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/WHEEL +0 -0
|
@@ -20,7 +20,7 @@ Create new job.
|
|
|
20
20
|
|
|
21
21
|
### Example
|
|
22
22
|
|
|
23
|
-
*
|
|
23
|
+
* OAuth Authentication (user_bearer):
|
|
24
24
|
```python
|
|
25
25
|
import time
|
|
26
26
|
import os
|
|
@@ -41,11 +41,7 @@ configuration = compute_api_client.Configuration(
|
|
|
41
41
|
# Examples for each auth method are provided below, use the example that
|
|
42
42
|
# satisfies your auth use case.
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
46
|
-
|
|
47
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
48
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
44
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
49
45
|
|
|
50
46
|
# Enter a context with an instance of the API client
|
|
51
47
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -76,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
76
72
|
|
|
77
73
|
### Authorization
|
|
78
74
|
|
|
79
|
-
[
|
|
75
|
+
[user_bearer](../README.md#user_bearer)
|
|
80
76
|
|
|
81
77
|
### HTTP request headers
|
|
82
78
|
|
|
@@ -100,7 +96,7 @@ Delete a job.
|
|
|
100
96
|
|
|
101
97
|
### Example
|
|
102
98
|
|
|
103
|
-
*
|
|
99
|
+
* OAuth Authentication (user_bearer):
|
|
104
100
|
```python
|
|
105
101
|
import time
|
|
106
102
|
import os
|
|
@@ -119,11 +115,7 @@ configuration = compute_api_client.Configuration(
|
|
|
119
115
|
# Examples for each auth method are provided below, use the example that
|
|
120
116
|
# satisfies your auth use case.
|
|
121
117
|
|
|
122
|
-
|
|
123
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
124
|
-
|
|
125
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
126
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
118
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
127
119
|
|
|
128
120
|
# Enter a context with an instance of the API client
|
|
129
121
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -152,7 +144,7 @@ void (empty response body)
|
|
|
152
144
|
|
|
153
145
|
### Authorization
|
|
154
146
|
|
|
155
|
-
[
|
|
147
|
+
[user_bearer](../README.md#user_bearer)
|
|
156
148
|
|
|
157
149
|
### HTTP request headers
|
|
158
150
|
|
|
@@ -177,8 +169,8 @@ Get job by ID.
|
|
|
177
169
|
|
|
178
170
|
### Example
|
|
179
171
|
|
|
172
|
+
* OAuth Authentication (user_bearer):
|
|
180
173
|
* Api Key Authentication (backend):
|
|
181
|
-
* Api Key Authentication (user):
|
|
182
174
|
```python
|
|
183
175
|
import time
|
|
184
176
|
import os
|
|
@@ -198,18 +190,14 @@ configuration = compute_api_client.Configuration(
|
|
|
198
190
|
# Examples for each auth method are provided below, use the example that
|
|
199
191
|
# satisfies your auth use case.
|
|
200
192
|
|
|
193
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
194
|
+
|
|
201
195
|
# Configure API key authorization: backend
|
|
202
196
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
203
197
|
|
|
204
198
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
205
199
|
# configuration.api_key_prefix['backend'] = 'Bearer'
|
|
206
200
|
|
|
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'
|
|
212
|
-
|
|
213
201
|
# Enter a context with an instance of the API client
|
|
214
202
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
215
203
|
# Create an instance of the API class
|
|
@@ -239,7 +227,7 @@ Name | Type | Description | Notes
|
|
|
239
227
|
|
|
240
228
|
### Authorization
|
|
241
229
|
|
|
242
|
-
[
|
|
230
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
|
|
243
231
|
|
|
244
232
|
### HTTP request headers
|
|
245
233
|
|
|
@@ -264,8 +252,8 @@ List jobs.
|
|
|
264
252
|
|
|
265
253
|
### Example
|
|
266
254
|
|
|
255
|
+
* OAuth Authentication (user_bearer):
|
|
267
256
|
* Api Key Authentication (backend):
|
|
268
|
-
* Api Key Authentication (user):
|
|
269
257
|
```python
|
|
270
258
|
import time
|
|
271
259
|
import os
|
|
@@ -287,18 +275,14 @@ configuration = compute_api_client.Configuration(
|
|
|
287
275
|
# Examples for each auth method are provided below, use the example that
|
|
288
276
|
# satisfies your auth use case.
|
|
289
277
|
|
|
278
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
279
|
+
|
|
290
280
|
# Configure API key authorization: backend
|
|
291
281
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
292
282
|
|
|
293
283
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
294
284
|
# configuration.api_key_prefix['backend'] = 'Bearer'
|
|
295
285
|
|
|
296
|
-
# Configure API key authorization: user
|
|
297
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
298
|
-
|
|
299
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
300
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
301
|
-
|
|
302
286
|
# Enter a context with an instance of the API client
|
|
303
287
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
304
288
|
# Create an instance of the API class
|
|
@@ -358,7 +342,7 @@ Name | Type | Description | Notes
|
|
|
358
342
|
|
|
359
343
|
### Authorization
|
|
360
344
|
|
|
361
|
-
[
|
|
345
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
|
|
362
346
|
|
|
363
347
|
### HTTP request headers
|
|
364
348
|
|
|
@@ -382,8 +366,8 @@ Update status of a job.
|
|
|
382
366
|
|
|
383
367
|
### Example
|
|
384
368
|
|
|
369
|
+
* OAuth Authentication (user_bearer):
|
|
385
370
|
* Api Key Authentication (backend):
|
|
386
|
-
* Api Key Authentication (user):
|
|
387
371
|
```python
|
|
388
372
|
import time
|
|
389
373
|
import os
|
|
@@ -404,18 +388,14 @@ configuration = compute_api_client.Configuration(
|
|
|
404
388
|
# Examples for each auth method are provided below, use the example that
|
|
405
389
|
# satisfies your auth use case.
|
|
406
390
|
|
|
391
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
392
|
+
|
|
407
393
|
# Configure API key authorization: backend
|
|
408
394
|
configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
409
395
|
|
|
410
396
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
411
397
|
# configuration.api_key_prefix['backend'] = 'Bearer'
|
|
412
398
|
|
|
413
|
-
# Configure API key authorization: user
|
|
414
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
415
|
-
|
|
416
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
417
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
418
|
-
|
|
419
399
|
# Enter a context with an instance of the API client
|
|
420
400
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
421
401
|
# Create an instance of the API class
|
|
@@ -447,7 +427,7 @@ Name | Type | Description | Notes
|
|
|
447
427
|
|
|
448
428
|
### Authorization
|
|
449
429
|
|
|
450
|
-
[
|
|
430
|
+
[user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
|
|
451
431
|
|
|
452
432
|
### HTTP request headers
|
|
453
433
|
|
|
@@ -17,7 +17,7 @@ Get language by ID.
|
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
|
|
20
|
-
*
|
|
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
|
-
|
|
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
|
-
[
|
|
71
|
+
[user_bearer](../README.md#user_bearer)
|
|
76
72
|
|
|
77
73
|
### HTTP request headers
|
|
78
74
|
|
|
@@ -97,7 +93,7 @@ List languages.
|
|
|
97
93
|
|
|
98
94
|
### Example
|
|
99
95
|
|
|
100
|
-
*
|
|
96
|
+
* OAuth Authentication (user_bearer):
|
|
101
97
|
```python
|
|
102
98
|
import time
|
|
103
99
|
import os
|
|
@@ -117,11 +113,7 @@ configuration = compute_api_client.Configuration(
|
|
|
117
113
|
# Examples for each auth method are provided below, use the example that
|
|
118
114
|
# satisfies your auth use case.
|
|
119
115
|
|
|
120
|
-
|
|
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'
|
|
116
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
125
117
|
|
|
126
118
|
# Enter a context with an instance of the API client
|
|
127
119
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -166,7 +158,7 @@ Name | Type | Description | Notes
|
|
|
166
158
|
|
|
167
159
|
### Authorization
|
|
168
160
|
|
|
169
|
-
[
|
|
161
|
+
[user_bearer](../README.md#user_bearer)
|
|
170
162
|
|
|
171
163
|
### HTTP request headers
|
|
172
164
|
|
|
@@ -19,7 +19,7 @@ Create new member.
|
|
|
19
19
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
|
-
*
|
|
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
|
-
|
|
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
|
-
[
|
|
74
|
+
[user_bearer](../README.md#user_bearer)
|
|
79
75
|
|
|
80
76
|
### HTTP request headers
|
|
81
77
|
|
|
@@ -99,7 +95,7 @@ Delete a member.
|
|
|
99
95
|
|
|
100
96
|
### Example
|
|
101
97
|
|
|
102
|
-
*
|
|
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
|
-
|
|
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
|
-
[
|
|
146
|
+
[user_bearer](../README.md#user_bearer)
|
|
155
147
|
|
|
156
148
|
### HTTP request headers
|
|
157
149
|
|
|
@@ -176,7 +168,7 @@ Get member by ID.
|
|
|
176
168
|
|
|
177
169
|
### Example
|
|
178
170
|
|
|
179
|
-
*
|
|
171
|
+
* OAuth Authentication (user_bearer):
|
|
180
172
|
```python
|
|
181
173
|
import time
|
|
182
174
|
import os
|
|
@@ -196,11 +188,7 @@ configuration = compute_api_client.Configuration(
|
|
|
196
188
|
# Examples for each auth method are provided below, use the example that
|
|
197
189
|
# satisfies your auth use case.
|
|
198
190
|
|
|
199
|
-
|
|
200
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
201
|
-
|
|
202
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
203
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
191
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
204
192
|
|
|
205
193
|
# Enter a context with an instance of the API client
|
|
206
194
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -231,7 +219,7 @@ Name | Type | Description | Notes
|
|
|
231
219
|
|
|
232
220
|
### Authorization
|
|
233
221
|
|
|
234
|
-
[
|
|
222
|
+
[user_bearer](../README.md#user_bearer)
|
|
235
223
|
|
|
236
224
|
### HTTP request headers
|
|
237
225
|
|
|
@@ -248,7 +236,7 @@ Name | Type | Description | Notes
|
|
|
248
236
|
[[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)
|
|
249
237
|
|
|
250
238
|
# **read_members_members_get**
|
|
251
|
-
> List[Member] read_members_members_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, team_id=team_id,
|
|
239
|
+
> List[Member] read_members_members_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, team_id=team_id, role=role, is_active=is_active)
|
|
252
240
|
|
|
253
241
|
List members
|
|
254
242
|
|
|
@@ -256,7 +244,7 @@ Read members.
|
|
|
256
244
|
|
|
257
245
|
### Example
|
|
258
246
|
|
|
259
|
-
*
|
|
247
|
+
* OAuth Authentication (user_bearer):
|
|
260
248
|
```python
|
|
261
249
|
import time
|
|
262
250
|
import os
|
|
@@ -277,11 +265,7 @@ configuration = compute_api_client.Configuration(
|
|
|
277
265
|
# Examples for each auth method are provided below, use the example that
|
|
278
266
|
# satisfies your auth use case.
|
|
279
267
|
|
|
280
|
-
|
|
281
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
282
|
-
|
|
283
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
284
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
268
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
285
269
|
|
|
286
270
|
# Enter a context with an instance of the API client
|
|
287
271
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -293,13 +277,12 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
293
277
|
items_per_page = 56 # int | (optional)
|
|
294
278
|
id = 56 # int | (optional)
|
|
295
279
|
team_id = 56 # int | (optional)
|
|
296
|
-
user_id = 56 # int | (optional)
|
|
297
280
|
role = compute_api_client.Role() # Role | (optional)
|
|
298
281
|
is_active = True # bool | (optional)
|
|
299
282
|
|
|
300
283
|
try:
|
|
301
284
|
# List members
|
|
302
|
-
api_response = await api_instance.read_members_members_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, team_id=team_id,
|
|
285
|
+
api_response = await api_instance.read_members_members_get(latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, team_id=team_id, role=role, is_active=is_active)
|
|
303
286
|
print("The response of MembersApi->read_members_members_get:\n")
|
|
304
287
|
pprint(api_response)
|
|
305
288
|
except Exception as e:
|
|
@@ -318,7 +301,6 @@ Name | Type | Description | Notes
|
|
|
318
301
|
**items_per_page** | **int**| | [optional]
|
|
319
302
|
**id** | **int**| | [optional]
|
|
320
303
|
**team_id** | **int**| | [optional]
|
|
321
|
-
**user_id** | **int**| | [optional]
|
|
322
304
|
**role** | [**Role**](.md)| | [optional]
|
|
323
305
|
**is_active** | **bool**| | [optional]
|
|
324
306
|
|
|
@@ -328,7 +310,7 @@ Name | Type | Description | Notes
|
|
|
328
310
|
|
|
329
311
|
### Authorization
|
|
330
312
|
|
|
331
|
-
[
|
|
313
|
+
[user_bearer](../README.md#user_bearer)
|
|
332
314
|
|
|
333
315
|
### HTTP request headers
|
|
334
316
|
|
|
@@ -98,7 +98,7 @@ Get metadata by job ID.
|
|
|
98
98
|
|
|
99
99
|
### Example
|
|
100
100
|
|
|
101
|
-
*
|
|
101
|
+
* OAuth Authentication (user_bearer):
|
|
102
102
|
```python
|
|
103
103
|
import time
|
|
104
104
|
import os
|
|
@@ -118,11 +118,7 @@ configuration = compute_api_client.Configuration(
|
|
|
118
118
|
# Examples for each auth method are provided below, use the example that
|
|
119
119
|
# satisfies your auth use case.
|
|
120
120
|
|
|
121
|
-
|
|
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'
|
|
121
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
126
122
|
|
|
127
123
|
# Enter a context with an instance of the API client
|
|
128
124
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -153,7 +149,7 @@ Name | Type | Description | Notes
|
|
|
153
149
|
|
|
154
150
|
### Authorization
|
|
155
151
|
|
|
156
|
-
[
|
|
152
|
+
[user_bearer](../README.md#user_bearer)
|
|
157
153
|
|
|
158
154
|
### HTTP request headers
|
|
159
155
|
|
|
@@ -177,7 +173,7 @@ Get metadata by ID.
|
|
|
177
173
|
|
|
178
174
|
### Example
|
|
179
175
|
|
|
180
|
-
*
|
|
176
|
+
* OAuth Authentication (user_bearer):
|
|
181
177
|
```python
|
|
182
178
|
import time
|
|
183
179
|
import os
|
|
@@ -197,11 +193,7 @@ configuration = compute_api_client.Configuration(
|
|
|
197
193
|
# Examples for each auth method are provided below, use the example that
|
|
198
194
|
# satisfies your auth use case.
|
|
199
195
|
|
|
200
|
-
|
|
201
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
202
|
-
|
|
203
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
204
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
196
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
205
197
|
|
|
206
198
|
# Enter a context with an instance of the API client
|
|
207
199
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -232,7 +224,7 @@ Name | Type | Description | Notes
|
|
|
232
224
|
|
|
233
225
|
### Authorization
|
|
234
226
|
|
|
235
|
-
[
|
|
227
|
+
[user_bearer](../README.md#user_bearer)
|
|
236
228
|
|
|
237
229
|
### HTTP request headers
|
|
238
230
|
|
|
@@ -19,7 +19,7 @@ Get permission group by ID.
|
|
|
19
19
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
|
-
*
|
|
22
|
+
* OAuth Authentication (user_bearer):
|
|
23
23
|
```python
|
|
24
24
|
import time
|
|
25
25
|
import os
|
|
@@ -39,11 +39,7 @@ configuration = compute_api_client.Configuration(
|
|
|
39
39
|
# Examples for each auth method are provided below, use the example that
|
|
40
40
|
# satisfies your auth use case.
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
44
|
-
|
|
45
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
46
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
42
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
47
43
|
|
|
48
44
|
# Enter a context with an instance of the API client
|
|
49
45
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -74,7 +70,7 @@ Name | Type | Description | Notes
|
|
|
74
70
|
|
|
75
71
|
### Authorization
|
|
76
72
|
|
|
77
|
-
[
|
|
73
|
+
[user_bearer](../README.md#user_bearer)
|
|
78
74
|
|
|
79
75
|
### HTTP request headers
|
|
80
76
|
|
|
@@ -99,7 +95,7 @@ Read permissions groups.
|
|
|
99
95
|
|
|
100
96
|
### Example
|
|
101
97
|
|
|
102
|
-
*
|
|
98
|
+
* OAuth Authentication (user_bearer):
|
|
103
99
|
```python
|
|
104
100
|
import time
|
|
105
101
|
import os
|
|
@@ -119,11 +115,7 @@ configuration = compute_api_client.Configuration(
|
|
|
119
115
|
# Examples for each auth method are provided below, use the example that
|
|
120
116
|
# satisfies your auth use case.
|
|
121
117
|
|
|
122
|
-
|
|
123
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
124
|
-
|
|
125
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
126
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
118
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
127
119
|
|
|
128
120
|
# Enter a context with an instance of the API client
|
|
129
121
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -164,7 +156,7 @@ Name | Type | Description | Notes
|
|
|
164
156
|
|
|
165
157
|
### Authorization
|
|
166
158
|
|
|
167
|
-
[
|
|
159
|
+
[user_bearer](../README.md#user_bearer)
|
|
168
160
|
|
|
169
161
|
### HTTP request headers
|
|
170
162
|
|
|
@@ -188,7 +180,7 @@ Get permission by ID.
|
|
|
188
180
|
|
|
189
181
|
### Example
|
|
190
182
|
|
|
191
|
-
*
|
|
183
|
+
* OAuth Authentication (user_bearer):
|
|
192
184
|
```python
|
|
193
185
|
import time
|
|
194
186
|
import os
|
|
@@ -208,11 +200,7 @@ configuration = compute_api_client.Configuration(
|
|
|
208
200
|
# Examples for each auth method are provided below, use the example that
|
|
209
201
|
# satisfies your auth use case.
|
|
210
202
|
|
|
211
|
-
|
|
212
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
213
|
-
|
|
214
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
215
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
203
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
216
204
|
|
|
217
205
|
# Enter a context with an instance of the API client
|
|
218
206
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -243,7 +231,7 @@ Name | Type | Description | Notes
|
|
|
243
231
|
|
|
244
232
|
### Authorization
|
|
245
233
|
|
|
246
|
-
[
|
|
234
|
+
[user_bearer](../README.md#user_bearer)
|
|
247
235
|
|
|
248
236
|
### HTTP request headers
|
|
249
237
|
|
|
@@ -268,7 +256,7 @@ Read permissions.
|
|
|
268
256
|
|
|
269
257
|
### Example
|
|
270
258
|
|
|
271
|
-
*
|
|
259
|
+
* OAuth Authentication (user_bearer):
|
|
272
260
|
```python
|
|
273
261
|
import time
|
|
274
262
|
import os
|
|
@@ -288,11 +276,7 @@ configuration = compute_api_client.Configuration(
|
|
|
288
276
|
# Examples for each auth method are provided below, use the example that
|
|
289
277
|
# satisfies your auth use case.
|
|
290
278
|
|
|
291
|
-
|
|
292
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
293
|
-
|
|
294
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
295
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
279
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
296
280
|
|
|
297
281
|
# Enter a context with an instance of the API client
|
|
298
282
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
@@ -335,7 +319,7 @@ Name | Type | Description | Notes
|
|
|
335
319
|
|
|
336
320
|
### Authorization
|
|
337
321
|
|
|
338
|
-
[
|
|
322
|
+
[user_bearer](../README.md#user_bearer)
|
|
339
323
|
|
|
340
324
|
### HTTP request headers
|
|
341
325
|
|