qi-compute-api-client 0.27.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/api/algorithms_api.py +5 -27
- compute_api_client/api/backend_api.py +3 -6
- compute_api_client/api/backend_types_api.py +2 -4
- compute_api_client/api/batch_jobs_api.py +4 -25
- compute_api_client/api/commits_api.py +4 -8
- compute_api_client/api/files_api.py +4 -8
- compute_api_client/api/final_results_api.py +3 -6
- compute_api_client/api/jobs_api.py +5 -10
- compute_api_client/api/languages_api.py +2 -4
- compute_api_client/api/members_api.py +4 -25
- compute_api_client/api/metadata_api.py +2 -4
- compute_api_client/api/permissions_api.py +4 -8
- compute_api_client/api/projects_api.py +6 -12
- compute_api_client/api/reservations_api.py +4 -8
- compute_api_client/api/results_api.py +566 -6
- compute_api_client/api/teams_api.py +2 -4
- compute_api_client/api/transactions_api.py +32 -34
- compute_api_client/api/users_api.py +4 -8
- compute_api_client/configuration.py +0 -9
- compute_api_client/docs/AlgorithmIn.md +1 -1
- compute_api_client/docs/AlgorithmsApi.md +7 -44
- compute_api_client/docs/BackendApi.md +3 -24
- compute_api_client/docs/BackendTypesApi.md +2 -16
- compute_api_client/docs/BatchJobsApi.md +6 -36
- compute_api_client/docs/CommitsApi.md +4 -32
- compute_api_client/docs/FilesApi.md +4 -32
- compute_api_client/docs/FinalResultsApi.md +3 -24
- compute_api_client/docs/JobsApi.md +5 -40
- compute_api_client/docs/LanguagesApi.md +2 -16
- compute_api_client/docs/MembersApi.md +6 -36
- compute_api_client/docs/MetadataApi.md +2 -16
- compute_api_client/docs/PermissionsApi.md +4 -32
- compute_api_client/docs/ProjectsApi.md +6 -48
- compute_api_client/docs/ReservationsApi.md +4 -32
- compute_api_client/docs/ResultsApi.md +111 -16
- compute_api_client/docs/TeamsApi.md +2 -16
- compute_api_client/docs/Transaction.md +1 -1
- compute_api_client/docs/TransactionsApi.md +8 -22
- compute_api_client/docs/UsersApi.md +4 -32
- compute_api_client/models/algorithm.py +1 -6
- compute_api_client/models/algorithm_in.py +1 -6
- compute_api_client/models/transaction.py +6 -6
- {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/METADATA +3 -14
- {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/RECORD +46 -46
- {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.31.0.dist-info}/WHEEL +0 -0
|
@@ -20,7 +20,6 @@ Create new member.
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
22
|
* OAuth Authentication (user_bearer):
|
|
23
|
-
* Api Key Authentication (user):
|
|
24
23
|
```python
|
|
25
24
|
import time
|
|
26
25
|
import os
|
|
@@ -43,12 +42,6 @@ configuration = compute_api_client.Configuration(
|
|
|
43
42
|
|
|
44
43
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
45
44
|
|
|
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'
|
|
51
|
-
|
|
52
45
|
# Enter a context with an instance of the API client
|
|
53
46
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
54
47
|
# Create an instance of the API class
|
|
@@ -78,7 +71,7 @@ Name | Type | Description | Notes
|
|
|
78
71
|
|
|
79
72
|
### Authorization
|
|
80
73
|
|
|
81
|
-
[user_bearer](../README.md#user_bearer)
|
|
74
|
+
[user_bearer](../README.md#user_bearer)
|
|
82
75
|
|
|
83
76
|
### HTTP request headers
|
|
84
77
|
|
|
@@ -103,7 +96,6 @@ Delete a member.
|
|
|
103
96
|
### Example
|
|
104
97
|
|
|
105
98
|
* OAuth Authentication (user_bearer):
|
|
106
|
-
* Api Key Authentication (user):
|
|
107
99
|
```python
|
|
108
100
|
import time
|
|
109
101
|
import os
|
|
@@ -124,12 +116,6 @@ configuration = compute_api_client.Configuration(
|
|
|
124
116
|
|
|
125
117
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
126
118
|
|
|
127
|
-
# Configure API key authorization: user
|
|
128
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
129
|
-
|
|
130
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
131
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
132
|
-
|
|
133
119
|
# Enter a context with an instance of the API client
|
|
134
120
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
135
121
|
# Create an instance of the API class
|
|
@@ -157,7 +143,7 @@ void (empty response body)
|
|
|
157
143
|
|
|
158
144
|
### Authorization
|
|
159
145
|
|
|
160
|
-
[user_bearer](../README.md#user_bearer)
|
|
146
|
+
[user_bearer](../README.md#user_bearer)
|
|
161
147
|
|
|
162
148
|
### HTTP request headers
|
|
163
149
|
|
|
@@ -183,7 +169,6 @@ Get member by ID.
|
|
|
183
169
|
### Example
|
|
184
170
|
|
|
185
171
|
* OAuth Authentication (user_bearer):
|
|
186
|
-
* Api Key Authentication (user):
|
|
187
172
|
```python
|
|
188
173
|
import time
|
|
189
174
|
import os
|
|
@@ -205,12 +190,6 @@ configuration = compute_api_client.Configuration(
|
|
|
205
190
|
|
|
206
191
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
207
192
|
|
|
208
|
-
# Configure API key authorization: user
|
|
209
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
210
|
-
|
|
211
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
212
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
213
|
-
|
|
214
193
|
# Enter a context with an instance of the API client
|
|
215
194
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
216
195
|
# Create an instance of the API class
|
|
@@ -240,7 +219,7 @@ Name | Type | Description | Notes
|
|
|
240
219
|
|
|
241
220
|
### Authorization
|
|
242
221
|
|
|
243
|
-
[user_bearer](../README.md#user_bearer)
|
|
222
|
+
[user_bearer](../README.md#user_bearer)
|
|
244
223
|
|
|
245
224
|
### HTTP request headers
|
|
246
225
|
|
|
@@ -257,7 +236,7 @@ Name | Type | Description | Notes
|
|
|
257
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)
|
|
258
237
|
|
|
259
238
|
# **read_members_members_get**
|
|
260
|
-
> 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)
|
|
261
240
|
|
|
262
241
|
List members
|
|
263
242
|
|
|
@@ -266,7 +245,6 @@ Read members.
|
|
|
266
245
|
### Example
|
|
267
246
|
|
|
268
247
|
* OAuth Authentication (user_bearer):
|
|
269
|
-
* Api Key Authentication (user):
|
|
270
248
|
```python
|
|
271
249
|
import time
|
|
272
250
|
import os
|
|
@@ -289,12 +267,6 @@ configuration = compute_api_client.Configuration(
|
|
|
289
267
|
|
|
290
268
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
291
269
|
|
|
292
|
-
# Configure API key authorization: user
|
|
293
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
294
|
-
|
|
295
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
296
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
297
|
-
|
|
298
270
|
# Enter a context with an instance of the API client
|
|
299
271
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
300
272
|
# Create an instance of the API class
|
|
@@ -305,13 +277,12 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
305
277
|
items_per_page = 56 # int | (optional)
|
|
306
278
|
id = 56 # int | (optional)
|
|
307
279
|
team_id = 56 # int | (optional)
|
|
308
|
-
user_id = 56 # int | (optional)
|
|
309
280
|
role = compute_api_client.Role() # Role | (optional)
|
|
310
281
|
is_active = True # bool | (optional)
|
|
311
282
|
|
|
312
283
|
try:
|
|
313
284
|
# List members
|
|
314
|
-
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)
|
|
315
286
|
print("The response of MembersApi->read_members_members_get:\n")
|
|
316
287
|
pprint(api_response)
|
|
317
288
|
except Exception as e:
|
|
@@ -330,7 +301,6 @@ Name | Type | Description | Notes
|
|
|
330
301
|
**items_per_page** | **int**| | [optional]
|
|
331
302
|
**id** | **int**| | [optional]
|
|
332
303
|
**team_id** | **int**| | [optional]
|
|
333
|
-
**user_id** | **int**| | [optional]
|
|
334
304
|
**role** | [**Role**](.md)| | [optional]
|
|
335
305
|
**is_active** | **bool**| | [optional]
|
|
336
306
|
|
|
@@ -340,7 +310,7 @@ Name | Type | Description | Notes
|
|
|
340
310
|
|
|
341
311
|
### Authorization
|
|
342
312
|
|
|
343
|
-
[user_bearer](../README.md#user_bearer)
|
|
313
|
+
[user_bearer](../README.md#user_bearer)
|
|
344
314
|
|
|
345
315
|
### HTTP request headers
|
|
346
316
|
|
|
@@ -99,7 +99,6 @@ Get metadata by job ID.
|
|
|
99
99
|
### Example
|
|
100
100
|
|
|
101
101
|
* OAuth Authentication (user_bearer):
|
|
102
|
-
* Api Key Authentication (user):
|
|
103
102
|
```python
|
|
104
103
|
import time
|
|
105
104
|
import os
|
|
@@ -121,12 +120,6 @@ configuration = compute_api_client.Configuration(
|
|
|
121
120
|
|
|
122
121
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
123
122
|
|
|
124
|
-
# Configure API key authorization: user
|
|
125
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
126
|
-
|
|
127
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
128
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
129
|
-
|
|
130
123
|
# Enter a context with an instance of the API client
|
|
131
124
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
132
125
|
# Create an instance of the API class
|
|
@@ -156,7 +149,7 @@ Name | Type | Description | Notes
|
|
|
156
149
|
|
|
157
150
|
### Authorization
|
|
158
151
|
|
|
159
|
-
[user_bearer](../README.md#user_bearer)
|
|
152
|
+
[user_bearer](../README.md#user_bearer)
|
|
160
153
|
|
|
161
154
|
### HTTP request headers
|
|
162
155
|
|
|
@@ -181,7 +174,6 @@ Get metadata by ID.
|
|
|
181
174
|
### Example
|
|
182
175
|
|
|
183
176
|
* OAuth Authentication (user_bearer):
|
|
184
|
-
* Api Key Authentication (user):
|
|
185
177
|
```python
|
|
186
178
|
import time
|
|
187
179
|
import os
|
|
@@ -203,12 +195,6 @@ configuration = compute_api_client.Configuration(
|
|
|
203
195
|
|
|
204
196
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
205
197
|
|
|
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
198
|
# Enter a context with an instance of the API client
|
|
213
199
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
214
200
|
# Create an instance of the API class
|
|
@@ -238,7 +224,7 @@ Name | Type | Description | Notes
|
|
|
238
224
|
|
|
239
225
|
### Authorization
|
|
240
226
|
|
|
241
|
-
[user_bearer](../README.md#user_bearer)
|
|
227
|
+
[user_bearer](../README.md#user_bearer)
|
|
242
228
|
|
|
243
229
|
### HTTP request headers
|
|
244
230
|
|
|
@@ -20,7 +20,6 @@ Get permission group by ID.
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
22
|
* OAuth Authentication (user_bearer):
|
|
23
|
-
* Api Key Authentication (user):
|
|
24
23
|
```python
|
|
25
24
|
import time
|
|
26
25
|
import os
|
|
@@ -42,12 +41,6 @@ configuration = compute_api_client.Configuration(
|
|
|
42
41
|
|
|
43
42
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
44
43
|
|
|
45
|
-
# Configure API key authorization: user
|
|
46
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
47
|
-
|
|
48
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
49
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
50
|
-
|
|
51
44
|
# Enter a context with an instance of the API client
|
|
52
45
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
53
46
|
# Create an instance of the API class
|
|
@@ -77,7 +70,7 @@ Name | Type | Description | Notes
|
|
|
77
70
|
|
|
78
71
|
### Authorization
|
|
79
72
|
|
|
80
|
-
[user_bearer](../README.md#user_bearer)
|
|
73
|
+
[user_bearer](../README.md#user_bearer)
|
|
81
74
|
|
|
82
75
|
### HTTP request headers
|
|
83
76
|
|
|
@@ -103,7 +96,6 @@ Read permissions groups.
|
|
|
103
96
|
### Example
|
|
104
97
|
|
|
105
98
|
* OAuth Authentication (user_bearer):
|
|
106
|
-
* Api Key Authentication (user):
|
|
107
99
|
```python
|
|
108
100
|
import time
|
|
109
101
|
import os
|
|
@@ -125,12 +117,6 @@ configuration = compute_api_client.Configuration(
|
|
|
125
117
|
|
|
126
118
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
127
119
|
|
|
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'
|
|
133
|
-
|
|
134
120
|
# Enter a context with an instance of the API client
|
|
135
121
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
136
122
|
# Create an instance of the API class
|
|
@@ -170,7 +156,7 @@ Name | Type | Description | Notes
|
|
|
170
156
|
|
|
171
157
|
### Authorization
|
|
172
158
|
|
|
173
|
-
[user_bearer](../README.md#user_bearer)
|
|
159
|
+
[user_bearer](../README.md#user_bearer)
|
|
174
160
|
|
|
175
161
|
### HTTP request headers
|
|
176
162
|
|
|
@@ -195,7 +181,6 @@ Get permission by ID.
|
|
|
195
181
|
### Example
|
|
196
182
|
|
|
197
183
|
* OAuth Authentication (user_bearer):
|
|
198
|
-
* Api Key Authentication (user):
|
|
199
184
|
```python
|
|
200
185
|
import time
|
|
201
186
|
import os
|
|
@@ -217,12 +202,6 @@ configuration = compute_api_client.Configuration(
|
|
|
217
202
|
|
|
218
203
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
219
204
|
|
|
220
|
-
# Configure API key authorization: user
|
|
221
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
222
|
-
|
|
223
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
224
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
225
|
-
|
|
226
205
|
# Enter a context with an instance of the API client
|
|
227
206
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
228
207
|
# Create an instance of the API class
|
|
@@ -252,7 +231,7 @@ Name | Type | Description | Notes
|
|
|
252
231
|
|
|
253
232
|
### Authorization
|
|
254
233
|
|
|
255
|
-
[user_bearer](../README.md#user_bearer)
|
|
234
|
+
[user_bearer](../README.md#user_bearer)
|
|
256
235
|
|
|
257
236
|
### HTTP request headers
|
|
258
237
|
|
|
@@ -278,7 +257,6 @@ Read permissions.
|
|
|
278
257
|
### Example
|
|
279
258
|
|
|
280
259
|
* OAuth Authentication (user_bearer):
|
|
281
|
-
* Api Key Authentication (user):
|
|
282
260
|
```python
|
|
283
261
|
import time
|
|
284
262
|
import os
|
|
@@ -300,12 +278,6 @@ configuration = compute_api_client.Configuration(
|
|
|
300
278
|
|
|
301
279
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
302
280
|
|
|
303
|
-
# Configure API key authorization: user
|
|
304
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
305
|
-
|
|
306
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
307
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
308
|
-
|
|
309
281
|
# Enter a context with an instance of the API client
|
|
310
282
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
311
283
|
# Create an instance of the API class
|
|
@@ -347,7 +319,7 @@ Name | Type | Description | Notes
|
|
|
347
319
|
|
|
348
320
|
### Authorization
|
|
349
321
|
|
|
350
|
-
[user_bearer](../README.md#user_bearer)
|
|
322
|
+
[user_bearer](../README.md#user_bearer)
|
|
351
323
|
|
|
352
324
|
### HTTP request headers
|
|
353
325
|
|
|
@@ -22,7 +22,6 @@ Create new project.
|
|
|
22
22
|
### Example
|
|
23
23
|
|
|
24
24
|
* OAuth Authentication (user_bearer):
|
|
25
|
-
* Api Key Authentication (user):
|
|
26
25
|
```python
|
|
27
26
|
import time
|
|
28
27
|
import os
|
|
@@ -45,12 +44,6 @@ configuration = compute_api_client.Configuration(
|
|
|
45
44
|
|
|
46
45
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
47
46
|
|
|
48
|
-
# Configure API key authorization: user
|
|
49
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
50
|
-
|
|
51
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
52
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
53
|
-
|
|
54
47
|
# Enter a context with an instance of the API client
|
|
55
48
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
56
49
|
# Create an instance of the API class
|
|
@@ -80,7 +73,7 @@ Name | Type | Description | Notes
|
|
|
80
73
|
|
|
81
74
|
### Authorization
|
|
82
75
|
|
|
83
|
-
[user_bearer](../README.md#user_bearer)
|
|
76
|
+
[user_bearer](../README.md#user_bearer)
|
|
84
77
|
|
|
85
78
|
### HTTP request headers
|
|
86
79
|
|
|
@@ -105,7 +98,6 @@ Delete a project.
|
|
|
105
98
|
### Example
|
|
106
99
|
|
|
107
100
|
* OAuth Authentication (user_bearer):
|
|
108
|
-
* Api Key Authentication (user):
|
|
109
101
|
```python
|
|
110
102
|
import time
|
|
111
103
|
import os
|
|
@@ -126,12 +118,6 @@ configuration = compute_api_client.Configuration(
|
|
|
126
118
|
|
|
127
119
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
128
120
|
|
|
129
|
-
# Configure API key authorization: user
|
|
130
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
131
|
-
|
|
132
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
133
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
134
|
-
|
|
135
121
|
# Enter a context with an instance of the API client
|
|
136
122
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
137
123
|
# Create an instance of the API class
|
|
@@ -159,7 +145,7 @@ void (empty response body)
|
|
|
159
145
|
|
|
160
146
|
### Authorization
|
|
161
147
|
|
|
162
|
-
[user_bearer](../README.md#user_bearer)
|
|
148
|
+
[user_bearer](../README.md#user_bearer)
|
|
163
149
|
|
|
164
150
|
### HTTP request headers
|
|
165
151
|
|
|
@@ -185,7 +171,6 @@ Partially update a project.
|
|
|
185
171
|
### Example
|
|
186
172
|
|
|
187
173
|
* OAuth Authentication (user_bearer):
|
|
188
|
-
* Api Key Authentication (user):
|
|
189
174
|
```python
|
|
190
175
|
import time
|
|
191
176
|
import os
|
|
@@ -208,12 +193,6 @@ configuration = compute_api_client.Configuration(
|
|
|
208
193
|
|
|
209
194
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
210
195
|
|
|
211
|
-
# Configure API key authorization: user
|
|
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'
|
|
216
|
-
|
|
217
196
|
# Enter a context with an instance of the API client
|
|
218
197
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
219
198
|
# Create an instance of the API class
|
|
@@ -245,7 +224,7 @@ Name | Type | Description | Notes
|
|
|
245
224
|
|
|
246
225
|
### Authorization
|
|
247
226
|
|
|
248
|
-
[user_bearer](../README.md#user_bearer)
|
|
227
|
+
[user_bearer](../README.md#user_bearer)
|
|
249
228
|
|
|
250
229
|
### HTTP request headers
|
|
251
230
|
|
|
@@ -271,7 +250,6 @@ Get project by ID.
|
|
|
271
250
|
### Example
|
|
272
251
|
|
|
273
252
|
* OAuth Authentication (user_bearer):
|
|
274
|
-
* Api Key Authentication (user):
|
|
275
253
|
```python
|
|
276
254
|
import time
|
|
277
255
|
import os
|
|
@@ -293,12 +271,6 @@ configuration = compute_api_client.Configuration(
|
|
|
293
271
|
|
|
294
272
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
295
273
|
|
|
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
274
|
# Enter a context with an instance of the API client
|
|
303
275
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
304
276
|
# Create an instance of the API class
|
|
@@ -328,7 +300,7 @@ Name | Type | Description | Notes
|
|
|
328
300
|
|
|
329
301
|
### Authorization
|
|
330
302
|
|
|
331
|
-
[user_bearer](../README.md#user_bearer)
|
|
303
|
+
[user_bearer](../README.md#user_bearer)
|
|
332
304
|
|
|
333
305
|
### HTTP request headers
|
|
334
306
|
|
|
@@ -354,7 +326,6 @@ List projects. If the search parameter is provided, the list is filtered based
|
|
|
354
326
|
### Example
|
|
355
327
|
|
|
356
328
|
* OAuth Authentication (user_bearer):
|
|
357
|
-
* Api Key Authentication (user):
|
|
358
329
|
```python
|
|
359
330
|
import time
|
|
360
331
|
import os
|
|
@@ -376,12 +347,6 @@ configuration = compute_api_client.Configuration(
|
|
|
376
347
|
|
|
377
348
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
378
349
|
|
|
379
|
-
# Configure API key authorization: user
|
|
380
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
381
|
-
|
|
382
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
383
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
384
|
-
|
|
385
350
|
# Enter a context with an instance of the API client
|
|
386
351
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
387
352
|
# Create an instance of the API class
|
|
@@ -431,7 +396,7 @@ Name | Type | Description | Notes
|
|
|
431
396
|
|
|
432
397
|
### Authorization
|
|
433
398
|
|
|
434
|
-
[user_bearer](../README.md#user_bearer)
|
|
399
|
+
[user_bearer](../README.md#user_bearer)
|
|
435
400
|
|
|
436
401
|
### HTTP request headers
|
|
437
402
|
|
|
@@ -456,7 +421,6 @@ Update a project.
|
|
|
456
421
|
### Example
|
|
457
422
|
|
|
458
423
|
* OAuth Authentication (user_bearer):
|
|
459
|
-
* Api Key Authentication (user):
|
|
460
424
|
```python
|
|
461
425
|
import time
|
|
462
426
|
import os
|
|
@@ -479,12 +443,6 @@ configuration = compute_api_client.Configuration(
|
|
|
479
443
|
|
|
480
444
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
481
445
|
|
|
482
|
-
# Configure API key authorization: user
|
|
483
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
484
|
-
|
|
485
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
486
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
487
|
-
|
|
488
446
|
# Enter a context with an instance of the API client
|
|
489
447
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
490
448
|
# Create an instance of the API class
|
|
@@ -516,7 +474,7 @@ Name | Type | Description | Notes
|
|
|
516
474
|
|
|
517
475
|
### Authorization
|
|
518
476
|
|
|
519
|
-
[user_bearer](../README.md#user_bearer)
|
|
477
|
+
[user_bearer](../README.md#user_bearer)
|
|
520
478
|
|
|
521
479
|
### HTTP request headers
|
|
522
480
|
|
|
@@ -20,7 +20,6 @@ Create new reservation.
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
22
|
* OAuth Authentication (user_bearer):
|
|
23
|
-
* Api Key Authentication (user):
|
|
24
23
|
```python
|
|
25
24
|
import time
|
|
26
25
|
import os
|
|
@@ -43,12 +42,6 @@ configuration = compute_api_client.Configuration(
|
|
|
43
42
|
|
|
44
43
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
45
44
|
|
|
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'
|
|
51
|
-
|
|
52
45
|
# Enter a context with an instance of the API client
|
|
53
46
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
54
47
|
# Create an instance of the API class
|
|
@@ -78,7 +71,7 @@ Name | Type | Description | Notes
|
|
|
78
71
|
|
|
79
72
|
### Authorization
|
|
80
73
|
|
|
81
|
-
[user_bearer](../README.md#user_bearer)
|
|
74
|
+
[user_bearer](../README.md#user_bearer)
|
|
82
75
|
|
|
83
76
|
### HTTP request headers
|
|
84
77
|
|
|
@@ -103,7 +96,6 @@ Get reservation by ID.
|
|
|
103
96
|
### Example
|
|
104
97
|
|
|
105
98
|
* OAuth Authentication (user_bearer):
|
|
106
|
-
* Api Key Authentication (user):
|
|
107
99
|
```python
|
|
108
100
|
import time
|
|
109
101
|
import os
|
|
@@ -125,12 +117,6 @@ configuration = compute_api_client.Configuration(
|
|
|
125
117
|
|
|
126
118
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
127
119
|
|
|
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'
|
|
133
|
-
|
|
134
120
|
# Enter a context with an instance of the API client
|
|
135
121
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
136
122
|
# Create an instance of the API class
|
|
@@ -160,7 +146,7 @@ Name | Type | Description | Notes
|
|
|
160
146
|
|
|
161
147
|
### Authorization
|
|
162
148
|
|
|
163
|
-
[user_bearer](../README.md#user_bearer)
|
|
149
|
+
[user_bearer](../README.md#user_bearer)
|
|
164
150
|
|
|
165
151
|
### HTTP request headers
|
|
166
152
|
|
|
@@ -186,7 +172,6 @@ Read reservations.
|
|
|
186
172
|
### Example
|
|
187
173
|
|
|
188
174
|
* OAuth Authentication (user_bearer):
|
|
189
|
-
* Api Key Authentication (user):
|
|
190
175
|
```python
|
|
191
176
|
import time
|
|
192
177
|
import os
|
|
@@ -208,12 +193,6 @@ configuration = compute_api_client.Configuration(
|
|
|
208
193
|
|
|
209
194
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
210
195
|
|
|
211
|
-
# Configure API key authorization: user
|
|
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'
|
|
216
|
-
|
|
217
196
|
# Enter a context with an instance of the API client
|
|
218
197
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
219
198
|
# Create an instance of the API class
|
|
@@ -265,7 +244,7 @@ Name | Type | Description | Notes
|
|
|
265
244
|
|
|
266
245
|
### Authorization
|
|
267
246
|
|
|
268
|
-
[user_bearer](../README.md#user_bearer)
|
|
247
|
+
[user_bearer](../README.md#user_bearer)
|
|
269
248
|
|
|
270
249
|
### HTTP request headers
|
|
271
250
|
|
|
@@ -290,7 +269,6 @@ Terminate reservation by ID.
|
|
|
290
269
|
### Example
|
|
291
270
|
|
|
292
271
|
* OAuth Authentication (user_bearer):
|
|
293
|
-
* Api Key Authentication (user):
|
|
294
272
|
```python
|
|
295
273
|
import time
|
|
296
274
|
import os
|
|
@@ -312,12 +290,6 @@ configuration = compute_api_client.Configuration(
|
|
|
312
290
|
|
|
313
291
|
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
314
292
|
|
|
315
|
-
# Configure API key authorization: user
|
|
316
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
317
|
-
|
|
318
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
319
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
320
|
-
|
|
321
293
|
# Enter a context with an instance of the API client
|
|
322
294
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
323
295
|
# Create an instance of the API class
|
|
@@ -347,7 +319,7 @@ Name | Type | Description | Notes
|
|
|
347
319
|
|
|
348
320
|
### Authorization
|
|
349
321
|
|
|
350
|
-
[user_bearer](../README.md#user_bearer)
|
|
322
|
+
[user_bearer](../README.md#user_bearer)
|
|
351
323
|
|
|
352
324
|
### HTTP request headers
|
|
353
325
|
|