qi-compute-api-client 0.27.0__py3-none-any.whl → 0.32.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 (50) hide show
  1. compute_api_client/api/algorithms_api.py +5 -27
  2. compute_api_client/api/backend_api.py +3 -6
  3. compute_api_client/api/backend_types_api.py +2 -4
  4. compute_api_client/api/batch_jobs_api.py +4 -25
  5. compute_api_client/api/commits_api.py +4 -8
  6. compute_api_client/api/files_api.py +4 -8
  7. compute_api_client/api/final_results_api.py +3 -6
  8. compute_api_client/api/jobs_api.py +5 -10
  9. compute_api_client/api/languages_api.py +2 -4
  10. compute_api_client/api/members_api.py +4 -25
  11. compute_api_client/api/metadata_api.py +2 -4
  12. compute_api_client/api/permissions_api.py +4 -8
  13. compute_api_client/api/projects_api.py +6 -12
  14. compute_api_client/api/reservations_api.py +4 -8
  15. compute_api_client/api/results_api.py +549 -6
  16. compute_api_client/api/teams_api.py +2 -4
  17. compute_api_client/api/transactions_api.py +32 -34
  18. compute_api_client/api/users_api.py +4 -8
  19. compute_api_client/configuration.py +0 -9
  20. compute_api_client/docs/AlgorithmIn.md +1 -1
  21. compute_api_client/docs/AlgorithmsApi.md +7 -44
  22. compute_api_client/docs/BackendApi.md +3 -24
  23. compute_api_client/docs/BackendTypesApi.md +2 -16
  24. compute_api_client/docs/BatchJobsApi.md +6 -36
  25. compute_api_client/docs/CommitsApi.md +4 -32
  26. compute_api_client/docs/FilesApi.md +4 -32
  27. compute_api_client/docs/FinalResultsApi.md +3 -24
  28. compute_api_client/docs/JobsApi.md +5 -40
  29. compute_api_client/docs/LanguagesApi.md +2 -16
  30. compute_api_client/docs/MembersApi.md +6 -36
  31. compute_api_client/docs/MetadataApi.md +2 -16
  32. compute_api_client/docs/PermissionsApi.md +4 -32
  33. compute_api_client/docs/ProjectsApi.md +6 -48
  34. compute_api_client/docs/ReservationsApi.md +4 -32
  35. compute_api_client/docs/Result.md +0 -1
  36. compute_api_client/docs/ResultIn.md +0 -1
  37. compute_api_client/docs/ResultsApi.md +109 -16
  38. compute_api_client/docs/TeamsApi.md +2 -16
  39. compute_api_client/docs/Transaction.md +1 -1
  40. compute_api_client/docs/TransactionsApi.md +8 -22
  41. compute_api_client/docs/UsersApi.md +4 -32
  42. compute_api_client/models/algorithm.py +1 -6
  43. compute_api_client/models/algorithm_in.py +1 -6
  44. compute_api_client/models/result.py +1 -5
  45. compute_api_client/models/result_in.py +1 -5
  46. compute_api_client/models/transaction.py +6 -6
  47. {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.32.0.dist-info}/METADATA +3 -14
  48. {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.32.0.dist-info}/RECORD +50 -50
  49. {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.32.0.dist-info}/WHEEL +1 -1
  50. {qi_compute_api_client-0.27.0.dist-info → qi_compute_api_client-0.32.0.dist-info}/LICENSE.md +0 -0
@@ -297,8 +297,7 @@ class TransactionsApi:
297
297
 
298
298
  # authentication setting
299
299
  _auth_settings: List[str] = [
300
- 'user_bearer',
301
- 'user'
300
+ 'user_bearer'
302
301
  ]
303
302
 
304
303
  return self.api_client.param_serialize(
@@ -332,8 +331,8 @@ class TransactionsApi:
332
331
  job__isnull: Optional[StrictBool] = None,
333
332
  job: Optional[StrictInt] = None,
334
333
  team_id: Optional[StrictInt] = None,
335
- user_id__isnull: Optional[StrictBool] = None,
336
- user_id: Optional[StrictInt] = None,
334
+ member_id__isnull: Optional[StrictBool] = None,
335
+ member_id: Optional[StrictInt] = None,
337
336
  change: Optional[StrictInt] = None,
338
337
  timestamp: Optional[datetime] = None,
339
338
  _request_timeout: Union[
@@ -373,10 +372,10 @@ class TransactionsApi:
373
372
  :type job: int
374
373
  :param team_id:
375
374
  :type team_id: int
376
- :param user_id__isnull:
377
- :type user_id__isnull: bool
378
- :param user_id:
379
- :type user_id: int
375
+ :param member_id__isnull:
376
+ :type member_id__isnull: bool
377
+ :param member_id:
378
+ :type member_id: int
380
379
  :param change:
381
380
  :type change: int
382
381
  :param timestamp:
@@ -414,8 +413,8 @@ class TransactionsApi:
414
413
  job__isnull=job__isnull,
415
414
  job=job,
416
415
  team_id=team_id,
417
- user_id__isnull=user_id__isnull,
418
- user_id=user_id,
416
+ member_id__isnull=member_id__isnull,
417
+ member_id=member_id,
419
418
  change=change,
420
419
  timestamp=timestamp,
421
420
  _request_auth=_request_auth,
@@ -453,8 +452,8 @@ class TransactionsApi:
453
452
  job__isnull: Optional[StrictBool] = None,
454
453
  job: Optional[StrictInt] = None,
455
454
  team_id: Optional[StrictInt] = None,
456
- user_id__isnull: Optional[StrictBool] = None,
457
- user_id: Optional[StrictInt] = None,
455
+ member_id__isnull: Optional[StrictBool] = None,
456
+ member_id: Optional[StrictInt] = None,
458
457
  change: Optional[StrictInt] = None,
459
458
  timestamp: Optional[datetime] = None,
460
459
  _request_timeout: Union[
@@ -494,10 +493,10 @@ class TransactionsApi:
494
493
  :type job: int
495
494
  :param team_id:
496
495
  :type team_id: int
497
- :param user_id__isnull:
498
- :type user_id__isnull: bool
499
- :param user_id:
500
- :type user_id: int
496
+ :param member_id__isnull:
497
+ :type member_id__isnull: bool
498
+ :param member_id:
499
+ :type member_id: int
501
500
  :param change:
502
501
  :type change: int
503
502
  :param timestamp:
@@ -535,8 +534,8 @@ class TransactionsApi:
535
534
  job__isnull=job__isnull,
536
535
  job=job,
537
536
  team_id=team_id,
538
- user_id__isnull=user_id__isnull,
539
- user_id=user_id,
537
+ member_id__isnull=member_id__isnull,
538
+ member_id=member_id,
540
539
  change=change,
541
540
  timestamp=timestamp,
542
541
  _request_auth=_request_auth,
@@ -574,8 +573,8 @@ class TransactionsApi:
574
573
  job__isnull: Optional[StrictBool] = None,
575
574
  job: Optional[StrictInt] = None,
576
575
  team_id: Optional[StrictInt] = None,
577
- user_id__isnull: Optional[StrictBool] = None,
578
- user_id: Optional[StrictInt] = None,
576
+ member_id__isnull: Optional[StrictBool] = None,
577
+ member_id: Optional[StrictInt] = None,
579
578
  change: Optional[StrictInt] = None,
580
579
  timestamp: Optional[datetime] = None,
581
580
  _request_timeout: Union[
@@ -615,10 +614,10 @@ class TransactionsApi:
615
614
  :type job: int
616
615
  :param team_id:
617
616
  :type team_id: int
618
- :param user_id__isnull:
619
- :type user_id__isnull: bool
620
- :param user_id:
621
- :type user_id: int
617
+ :param member_id__isnull:
618
+ :type member_id__isnull: bool
619
+ :param member_id:
620
+ :type member_id: int
622
621
  :param change:
623
622
  :type change: int
624
623
  :param timestamp:
@@ -656,8 +655,8 @@ class TransactionsApi:
656
655
  job__isnull=job__isnull,
657
656
  job=job,
658
657
  team_id=team_id,
659
- user_id__isnull=user_id__isnull,
660
- user_id=user_id,
658
+ member_id__isnull=member_id__isnull,
659
+ member_id=member_id,
661
660
  change=change,
662
661
  timestamp=timestamp,
663
662
  _request_auth=_request_auth,
@@ -690,8 +689,8 @@ class TransactionsApi:
690
689
  job__isnull,
691
690
  job,
692
691
  team_id,
693
- user_id__isnull,
694
- user_id,
692
+ member_id__isnull,
693
+ member_id,
695
694
  change,
696
695
  timestamp,
697
696
  _request_auth,
@@ -755,13 +754,13 @@ class TransactionsApi:
755
754
 
756
755
  _query_params.append(('team_id', team_id))
757
756
 
758
- if user_id__isnull is not None:
757
+ if member_id__isnull is not None:
759
758
 
760
- _query_params.append(('user_id__isnull', user_id__isnull))
759
+ _query_params.append(('member_id__isnull', member_id__isnull))
761
760
 
762
- if user_id is not None:
761
+ if member_id is not None:
763
762
 
764
- _query_params.append(('user_id', user_id))
763
+ _query_params.append(('member_id', member_id))
765
764
 
766
765
  if change is not None:
767
766
 
@@ -795,8 +794,7 @@ class TransactionsApi:
795
794
 
796
795
  # authentication setting
797
796
  _auth_settings: List[str] = [
798
- 'user_bearer',
799
- 'user'
797
+ 'user_bearer'
800
798
  ]
801
799
 
802
800
  return self.api_client.param_serialize(
@@ -305,8 +305,7 @@ class UsersApi:
305
305
 
306
306
  # authentication setting
307
307
  _auth_settings: List[str] = [
308
- 'user_bearer',
309
- 'user'
308
+ 'user_bearer'
310
309
  ]
311
310
 
312
311
  return self.api_client.param_serialize(
@@ -565,8 +564,7 @@ class UsersApi:
565
564
 
566
565
  # authentication setting
567
566
  _auth_settings: List[str] = [
568
- 'user_bearer',
569
- 'user'
567
+ 'user_bearer'
570
568
  ]
571
569
 
572
570
  return self.api_client.param_serialize(
@@ -834,8 +832,7 @@ class UsersApi:
834
832
 
835
833
  # authentication setting
836
834
  _auth_settings: List[str] = [
837
- 'user_bearer',
838
- 'user'
835
+ 'user_bearer'
839
836
  ]
840
837
 
841
838
  return self.api_client.param_serialize(
@@ -1289,8 +1286,7 @@ class UsersApi:
1289
1286
 
1290
1287
  # authentication setting
1291
1288
  _auth_settings: List[str] = [
1292
- 'user_bearer',
1293
- 'user'
1289
+ 'user_bearer'
1294
1290
  ]
1295
1291
 
1296
1292
  return self.api_client.param_serialize(
@@ -373,15 +373,6 @@ conf = compute_api_client.Configuration(
373
373
  :return: The Auth Settings information dict.
374
374
  """
375
375
  auth = {}
376
- if 'user' in self.api_key:
377
- auth['user'] = {
378
- 'type': 'api_key',
379
- 'in': 'header',
380
- 'key': 'X-userid',
381
- 'value': self.get_api_key_with_prefix(
382
- 'user',
383
- ),
384
- }
385
376
  if self.access_token is not None:
386
377
  auth['user_bearer'] = {
387
378
  'type': 'oauth2',
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **type** | [**AlgorithmType**](AlgorithmType.md) | |
9
9
  **shared** | [**ShareType**](ShareType.md) | |
10
10
  **link** | **str** | | [optional]
11
- **name** | **str** | | [optional]
11
+ **name** | **str** | |
12
12
 
13
13
  ## Example
14
14
 
@@ -21,7 +21,6 @@ Create new algorithm.
21
21
  ### Example
22
22
 
23
23
  * OAuth Authentication (user_bearer):
24
- * Api Key Authentication (user):
25
24
  ```python
26
25
  import time
27
26
  import os
@@ -44,12 +43,6 @@ configuration = compute_api_client.Configuration(
44
43
 
45
44
  configuration.access_token = os.environ["ACCESS_TOKEN"]
46
45
 
47
- # Configure API key authorization: user
48
- configuration.api_key['user'] = os.environ["API_KEY"]
49
-
50
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
51
- # configuration.api_key_prefix['user'] = 'Bearer'
52
-
53
46
  # Enter a context with an instance of the API client
54
47
  async with compute_api_client.ApiClient(configuration) as api_client:
55
48
  # Create an instance of the API class
@@ -79,7 +72,7 @@ Name | Type | Description | Notes
79
72
 
80
73
  ### Authorization
81
74
 
82
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
75
+ [user_bearer](../README.md#user_bearer)
83
76
 
84
77
  ### HTTP request headers
85
78
 
@@ -104,7 +97,6 @@ Delete an algorithm.
104
97
  ### Example
105
98
 
106
99
  * OAuth Authentication (user_bearer):
107
- * Api Key Authentication (user):
108
100
  ```python
109
101
  import time
110
102
  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
@@ -158,7 +144,7 @@ void (empty response body)
158
144
 
159
145
  ### Authorization
160
146
 
161
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
147
+ [user_bearer](../README.md#user_bearer)
162
148
 
163
149
  ### HTTP request headers
164
150
 
@@ -185,7 +171,6 @@ Get algorithm by ID.
185
171
 
186
172
  * OAuth Authentication (user_bearer):
187
173
  * Api Key Authentication (backend):
188
- * Api Key Authentication (user):
189
174
  ```python
190
175
  import time
191
176
  import os
@@ -213,12 +198,6 @@ configuration.api_key['backend'] = os.environ["API_KEY"]
213
198
  # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
214
199
  # configuration.api_key_prefix['backend'] = 'Bearer'
215
200
 
216
- # Configure API key authorization: user
217
- configuration.api_key['user'] = os.environ["API_KEY"]
218
-
219
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
220
- # configuration.api_key_prefix['user'] = 'Bearer'
221
-
222
201
  # Enter a context with an instance of the API client
223
202
  async with compute_api_client.ApiClient(configuration) as api_client:
224
203
  # Create an instance of the API class
@@ -248,7 +227,7 @@ Name | Type | Description | Notes
248
227
 
249
228
  ### Authorization
250
229
 
251
- [user_bearer](../README.md#user_bearer), [backend](../README.md#backend), [user](../README.md#user)
230
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
252
231
 
253
232
  ### HTTP request headers
254
233
 
@@ -265,7 +244,7 @@ Name | Type | Description | Notes
265
244
  [[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)
266
245
 
267
246
  # **read_algorithms_algorithms_get**
268
- > List[Algorithm] read_algorithms_algorithms_get(search=search, latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, project_id=project_id, type=type, shared=shared, link__isnull=link__isnull, link=link, name__isnull=name__isnull, name=name)
247
+ > List[Algorithm] read_algorithms_algorithms_get(search=search, latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, project_id=project_id, type=type, shared=shared, link__isnull=link__isnull, link=link, name=name)
269
248
 
270
249
  List algorithms
271
250
 
@@ -274,7 +253,6 @@ List algorithms.
274
253
  ### Example
275
254
 
276
255
  * OAuth Authentication (user_bearer):
277
- * Api Key Authentication (user):
278
256
  ```python
279
257
  import time
280
258
  import os
@@ -298,12 +276,6 @@ configuration = compute_api_client.Configuration(
298
276
 
299
277
  configuration.access_token = os.environ["ACCESS_TOKEN"]
300
278
 
301
- # Configure API key authorization: user
302
- configuration.api_key['user'] = os.environ["API_KEY"]
303
-
304
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
305
- # configuration.api_key_prefix['user'] = 'Bearer'
306
-
307
279
  # Enter a context with an instance of the API client
308
280
  async with compute_api_client.ApiClient(configuration) as api_client:
309
281
  # Create an instance of the API class
@@ -319,12 +291,11 @@ async with compute_api_client.ApiClient(configuration) as api_client:
319
291
  shared = compute_api_client.ShareType() # ShareType | (optional)
320
292
  link__isnull = True # bool | (optional)
321
293
  link = 'link_example' # str | (optional)
322
- name__isnull = True # bool | (optional)
323
294
  name = 'name_example' # str | (optional)
324
295
 
325
296
  try:
326
297
  # List algorithms
327
- api_response = await api_instance.read_algorithms_algorithms_get(search=search, latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, project_id=project_id, type=type, shared=shared, link__isnull=link__isnull, link=link, name__isnull=name__isnull, name=name)
298
+ api_response = await api_instance.read_algorithms_algorithms_get(search=search, latest=latest, sort_by=sort_by, page_number=page_number, items_per_page=items_per_page, id=id, project_id=project_id, type=type, shared=shared, link__isnull=link__isnull, link=link, name=name)
328
299
  print("The response of AlgorithmsApi->read_algorithms_algorithms_get:\n")
329
300
  pprint(api_response)
330
301
  except Exception as e:
@@ -348,7 +319,6 @@ Name | Type | Description | Notes
348
319
  **shared** | [**ShareType**](.md)| | [optional]
349
320
  **link__isnull** | **bool**| | [optional]
350
321
  **link** | **str**| | [optional]
351
- **name__isnull** | **bool**| | [optional]
352
322
  **name** | **str**| | [optional]
353
323
 
354
324
  ### Return type
@@ -357,7 +327,7 @@ Name | Type | Description | Notes
357
327
 
358
328
  ### Authorization
359
329
 
360
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
330
+ [user_bearer](../README.md#user_bearer)
361
331
 
362
332
  ### HTTP request headers
363
333
 
@@ -382,7 +352,6 @@ Update an algorithm.
382
352
  ### Example
383
353
 
384
354
  * OAuth Authentication (user_bearer):
385
- * Api Key Authentication (user):
386
355
  ```python
387
356
  import time
388
357
  import os
@@ -405,12 +374,6 @@ configuration = compute_api_client.Configuration(
405
374
 
406
375
  configuration.access_token = os.environ["ACCESS_TOKEN"]
407
376
 
408
- # Configure API key authorization: user
409
- configuration.api_key['user'] = os.environ["API_KEY"]
410
-
411
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
412
- # configuration.api_key_prefix['user'] = 'Bearer'
413
-
414
377
  # Enter a context with an instance of the API client
415
378
  async with compute_api_client.ApiClient(configuration) as api_client:
416
379
  # Create an instance of the API class
@@ -442,7 +405,7 @@ Name | Type | Description | Notes
442
405
 
443
406
  ### Authorization
444
407
 
445
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
408
+ [user_bearer](../README.md#user_bearer)
446
409
 
447
410
  ### HTTP request headers
448
411
 
@@ -21,7 +21,6 @@ Create new backend.
21
21
  ### Example
22
22
 
23
23
  * OAuth Authentication (user_bearer):
24
- * Api Key Authentication (user):
25
24
  ```python
26
25
  import time
27
26
  import os
@@ -44,12 +43,6 @@ configuration = compute_api_client.Configuration(
44
43
 
45
44
  configuration.access_token = os.environ["ACCESS_TOKEN"]
46
45
 
47
- # Configure API key authorization: user
48
- configuration.api_key['user'] = os.environ["API_KEY"]
49
-
50
- # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
51
- # configuration.api_key_prefix['user'] = 'Bearer'
52
-
53
46
  # Enter a context with an instance of the API client
54
47
  async with compute_api_client.ApiClient(configuration) as api_client:
55
48
  # Create an instance of the API class
@@ -79,7 +72,7 @@ Name | Type | Description | Notes
79
72
 
80
73
  ### Authorization
81
74
 
82
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
75
+ [user_bearer](../README.md#user_bearer)
83
76
 
84
77
  ### HTTP request headers
85
78
 
@@ -104,7 +97,6 @@ Get backend by ID.
104
97
  ### Example
105
98
 
106
99
  * OAuth Authentication (user_bearer):
107
- * Api Key Authentication (user):
108
100
  ```python
109
101
  import time
110
102
  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
@@ -161,7 +147,7 @@ Name | Type | Description | Notes
161
147
 
162
148
  ### Authorization
163
149
 
164
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
150
+ [user_bearer](../README.md#user_bearer)
165
151
 
166
152
  ### HTTP request headers
167
153
 
@@ -261,7 +247,6 @@ Read backends.
261
247
  ### Example
262
248
 
263
249
  * OAuth Authentication (user_bearer):
264
- * Api Key Authentication (user):
265
250
  ```python
266
251
  import time
267
252
  import os
@@ -284,12 +269,6 @@ configuration = compute_api_client.Configuration(
284
269
 
285
270
  configuration.access_token = os.environ["ACCESS_TOKEN"]
286
271
 
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'
292
-
293
272
  # Enter a context with an instance of the API client
294
273
  async with compute_api_client.ApiClient(configuration) as api_client:
295
274
  # Create an instance of the API class
@@ -337,7 +316,7 @@ Name | Type | Description | Notes
337
316
 
338
317
  ### Authorization
339
318
 
340
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
319
+ [user_bearer](../README.md#user_bearer)
341
320
 
342
321
  ### HTTP request headers
343
322
 
@@ -18,7 +18,6 @@ Get backend type by ID.
18
18
  ### Example
19
19
 
20
20
  * OAuth Authentication (user_bearer):
21
- * Api Key Authentication (user):
22
21
  ```python
23
22
  import time
24
23
  import os
@@ -40,12 +39,6 @@ configuration = compute_api_client.Configuration(
40
39
 
41
40
  configuration.access_token = os.environ["ACCESS_TOKEN"]
42
41
 
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'
48
-
49
42
  # Enter a context with an instance of the API client
50
43
  async with compute_api_client.ApiClient(configuration) as api_client:
51
44
  # Create an instance of the API class
@@ -75,7 +68,7 @@ Name | Type | Description | Notes
75
68
 
76
69
  ### Authorization
77
70
 
78
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
71
+ [user_bearer](../README.md#user_bearer)
79
72
 
80
73
  ### HTTP request headers
81
74
 
@@ -101,7 +94,6 @@ Read backend types.
101
94
  ### Example
102
95
 
103
96
  * OAuth Authentication (user_bearer):
104
- * Api Key Authentication (user):
105
97
  ```python
106
98
  import time
107
99
  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
@@ -183,7 +169,7 @@ Name | Type | Description | Notes
183
169
 
184
170
  ### Authorization
185
171
 
186
- [user_bearer](../README.md#user_bearer), [user](../README.md#user)
172
+ [user_bearer](../README.md#user_bearer)
187
173
 
188
174
  ### HTTP request headers
189
175