qi-compute-api-client 0.31.0__py3-none-any.whl → 0.33.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 +19 -1
- compute_api_client/api/algorithms_api.py +76 -75
- compute_api_client/api/backend_api.py +78 -75
- compute_api_client/api/backend_types_api.py +78 -75
- compute_api_client/api/batch_jobs_api.py +77 -74
- compute_api_client/api/commits_api.py +78 -75
- compute_api_client/api/files_api.py +78 -75
- compute_api_client/api/final_results_api.py +1 -1
- compute_api_client/api/jobs_api.py +78 -75
- compute_api_client/api/languages_api.py +76 -73
- compute_api_client/api/members_api.py +78 -75
- compute_api_client/api/metadata_api.py +79 -8
- compute_api_client/api/permissions_api.py +146 -142
- compute_api_client/api/projects_api.py +76 -75
- compute_api_client/api/reservations_api.py +78 -75
- compute_api_client/api/results_api.py +151 -97
- compute_api_client/api/teams_api.py +78 -75
- compute_api_client/api/transactions_api.py +78 -75
- compute_api_client/api/users_api.py +78 -75
- compute_api_client/api_client.py +1 -1
- compute_api_client/configuration.py +1 -1
- compute_api_client/docs/AlgorithmsApi.md +12 -12
- compute_api_client/docs/BackendApi.md +12 -12
- compute_api_client/docs/BackendTypesApi.md +12 -12
- compute_api_client/docs/BatchJobsApi.md +12 -12
- compute_api_client/docs/CommitsApi.md +12 -12
- compute_api_client/docs/FilesApi.md +12 -12
- compute_api_client/docs/JobsApi.md +12 -12
- compute_api_client/docs/LanguagesApi.md +12 -12
- compute_api_client/docs/MembersApi.md +12 -12
- compute_api_client/docs/MetadataApi.md +12 -4
- compute_api_client/docs/PageAlgorithm.md +32 -0
- compute_api_client/docs/PageBackend.md +32 -0
- compute_api_client/docs/PageBackendType.md +32 -0
- compute_api_client/docs/PageBatchJob.md +32 -0
- compute_api_client/docs/PageCommit.md +32 -0
- compute_api_client/docs/PageFile.md +32 -0
- compute_api_client/docs/PageJob.md +32 -0
- compute_api_client/docs/PageLanguage.md +32 -0
- compute_api_client/docs/PageMember.md +32 -0
- compute_api_client/docs/PageMetadata.md +32 -0
- compute_api_client/docs/PagePermission.md +32 -0
- compute_api_client/docs/PagePermissionGroup.md +32 -0
- compute_api_client/docs/PageProject.md +32 -0
- compute_api_client/docs/PageReservation.md +32 -0
- compute_api_client/docs/PageResult.md +32 -0
- compute_api_client/docs/PageTeam.md +32 -0
- compute_api_client/docs/PageTransaction.md +32 -0
- compute_api_client/docs/PageUser.md +32 -0
- compute_api_client/docs/PermissionsApi.md +24 -24
- compute_api_client/docs/ProjectsApi.md +12 -12
- compute_api_client/docs/ReservationsApi.md +12 -12
- compute_api_client/docs/Result.md +0 -1
- compute_api_client/docs/ResultIn.md +0 -1
- compute_api_client/docs/ResultsApi.md +24 -18
- compute_api_client/docs/TeamsApi.md +12 -12
- compute_api_client/docs/TransactionsApi.md +12 -12
- compute_api_client/docs/UsersApi.md +12 -12
- compute_api_client/exceptions.py +1 -1
- compute_api_client/models/__init__.py +19 -1
- compute_api_client/models/algorithm.py +1 -1
- compute_api_client/models/algorithm_in.py +1 -1
- compute_api_client/models/algorithm_type.py +1 -1
- compute_api_client/models/backend.py +1 -1
- compute_api_client/models/backend_in.py +1 -1
- compute_api_client/models/backend_patch.py +1 -1
- compute_api_client/models/backend_status.py +1 -1
- compute_api_client/models/backend_type.py +1 -1
- compute_api_client/models/backend_with_authentication.py +1 -1
- compute_api_client/models/batch_job.py +1 -1
- compute_api_client/models/batch_job_in.py +1 -1
- compute_api_client/models/batch_job_status.py +1 -1
- compute_api_client/models/commit.py +1 -1
- compute_api_client/models/commit_in.py +1 -1
- compute_api_client/models/compile_stage.py +1 -1
- compute_api_client/models/domain.py +1 -1
- compute_api_client/models/file.py +1 -1
- compute_api_client/models/file_in.py +1 -1
- compute_api_client/models/final_result.py +1 -1
- compute_api_client/models/final_result_in.py +1 -1
- compute_api_client/models/http_not_found_error.py +1 -1
- compute_api_client/models/http_validation_error.py +1 -1
- compute_api_client/models/job.py +1 -1
- compute_api_client/models/job_in.py +1 -1
- compute_api_client/models/job_patch.py +1 -1
- compute_api_client/models/job_status.py +1 -1
- compute_api_client/models/language.py +1 -1
- compute_api_client/models/location_inner.py +1 -1
- compute_api_client/models/member.py +1 -1
- compute_api_client/models/member_in.py +1 -1
- compute_api_client/models/metadata.py +1 -1
- compute_api_client/models/metadata_in.py +1 -1
- compute_api_client/models/page_algorithm.py +125 -0
- compute_api_client/models/page_backend.py +125 -0
- compute_api_client/models/page_backend_type.py +125 -0
- compute_api_client/models/page_batch_job.py +125 -0
- compute_api_client/models/page_commit.py +125 -0
- compute_api_client/models/page_file.py +125 -0
- compute_api_client/models/page_job.py +125 -0
- compute_api_client/models/page_language.py +125 -0
- compute_api_client/models/page_member.py +125 -0
- compute_api_client/models/page_metadata.py +125 -0
- compute_api_client/models/page_permission.py +125 -0
- compute_api_client/models/page_permission_group.py +125 -0
- compute_api_client/models/page_project.py +125 -0
- compute_api_client/models/page_reservation.py +125 -0
- compute_api_client/models/page_result.py +125 -0
- compute_api_client/models/page_team.py +125 -0
- compute_api_client/models/page_transaction.py +125 -0
- compute_api_client/models/page_user.py +125 -0
- compute_api_client/models/permission.py +1 -1
- compute_api_client/models/permission_group.py +1 -1
- compute_api_client/models/project.py +1 -1
- compute_api_client/models/project_in.py +1 -1
- compute_api_client/models/project_patch.py +1 -1
- compute_api_client/models/reservation.py +1 -1
- compute_api_client/models/reservation_in.py +1 -1
- compute_api_client/models/result.py +2 -6
- compute_api_client/models/result_in.py +2 -6
- compute_api_client/models/role.py +1 -1
- compute_api_client/models/share_type.py +1 -1
- compute_api_client/models/team.py +1 -1
- compute_api_client/models/transaction.py +1 -1
- compute_api_client/models/user.py +1 -1
- compute_api_client/models/user_in.py +1 -1
- compute_api_client/models/validation_error.py +1 -1
- compute_api_client/rest.py +1 -1
- {qi_compute_api_client-0.31.0.dist-info → qi_compute_api_client-0.33.0.dist-info}/METADATA +20 -2
- qi_compute_api_client-0.33.0.dist-info/RECORD +180 -0
- {qi_compute_api_client-0.31.0.dist-info → qi_compute_api_client-0.33.0.dist-info}/WHEEL +1 -1
- qi_compute_api_client-0.31.0.dist-info/RECORD +0 -144
- {qi_compute_api_client-0.31.0.dist-info → qi_compute_api_client-0.33.0.dist-info}/LICENSE.md +0 -0
|
@@ -245,7 +245,7 @@ Name | Type | Description | Notes
|
|
|
245
245
|
[[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)
|
|
246
246
|
|
|
247
247
|
# **read_results_by_algorithm_id_results_algorithm_algorithm_id_get**
|
|
248
|
-
>
|
|
248
|
+
> PageResult read_results_by_algorithm_id_results_algorithm_algorithm_id_get(algorithm_id, id=id, created_on=created_on, job_id=job_id, metadata_id=metadata_id, execution_time_in_seconds=execution_time_in_seconds, shots_requested__isnull=shots_requested__isnull, shots_requested=shots_requested, shots_done__isnull=shots_done__isnull, shots_done=shots_done, results__isnull=results__isnull, sort_by=sort_by, latest=latest, page=page, size=size, body=body)
|
|
249
249
|
|
|
250
250
|
Retrieve results by algorithm ID
|
|
251
251
|
|
|
@@ -258,7 +258,7 @@ Get results by algorithm ID.
|
|
|
258
258
|
import time
|
|
259
259
|
import os
|
|
260
260
|
import compute_api_client
|
|
261
|
-
from compute_api_client.models.
|
|
261
|
+
from compute_api_client.models.page_result import PageResult
|
|
262
262
|
from compute_api_client.rest import ApiException
|
|
263
263
|
from pprint import pprint
|
|
264
264
|
|
|
@@ -280,26 +280,25 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
280
280
|
# Create an instance of the API class
|
|
281
281
|
api_instance = compute_api_client.ResultsApi(api_client)
|
|
282
282
|
algorithm_id = 56 # int |
|
|
283
|
-
latest = True # bool | (optional)
|
|
284
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
285
|
-
page_number = 56 # int | (optional)
|
|
286
|
-
items_per_page = 56 # int | (optional)
|
|
287
283
|
id = 56 # int | (optional)
|
|
288
284
|
created_on = '2013-10-20T19:20:30+01:00' # datetime | (optional)
|
|
289
285
|
job_id = 56 # int | (optional)
|
|
290
286
|
metadata_id = 56 # int | (optional)
|
|
291
|
-
number_of_qubits = 56 # int | (optional)
|
|
292
287
|
execution_time_in_seconds = 3.4 # float | (optional)
|
|
293
288
|
shots_requested__isnull = True # bool | (optional)
|
|
294
289
|
shots_requested = 56 # int | (optional)
|
|
295
290
|
shots_done__isnull = True # bool | (optional)
|
|
296
291
|
shots_done = 56 # int | (optional)
|
|
297
292
|
results__isnull = True # bool | (optional)
|
|
293
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
294
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
295
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
296
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
298
297
|
body = None # object | (optional)
|
|
299
298
|
|
|
300
299
|
try:
|
|
301
300
|
# Retrieve results by algorithm ID
|
|
302
|
-
api_response = await api_instance.read_results_by_algorithm_id_results_algorithm_algorithm_id_get(algorithm_id,
|
|
301
|
+
api_response = await api_instance.read_results_by_algorithm_id_results_algorithm_algorithm_id_get(algorithm_id, id=id, created_on=created_on, job_id=job_id, metadata_id=metadata_id, execution_time_in_seconds=execution_time_in_seconds, shots_requested__isnull=shots_requested__isnull, shots_requested=shots_requested, shots_done__isnull=shots_done__isnull, shots_done=shots_done, results__isnull=results__isnull, sort_by=sort_by, latest=latest, page=page, size=size, body=body)
|
|
303
302
|
print("The response of ResultsApi->read_results_by_algorithm_id_results_algorithm_algorithm_id_get:\n")
|
|
304
303
|
pprint(api_response)
|
|
305
304
|
except Exception as e:
|
|
@@ -313,26 +312,25 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
313
312
|
Name | Type | Description | Notes
|
|
314
313
|
------------- | ------------- | ------------- | -------------
|
|
315
314
|
**algorithm_id** | **int**| |
|
|
316
|
-
**latest** | **bool**| | [optional]
|
|
317
|
-
**sort_by** | **str**| | [optional]
|
|
318
|
-
**page_number** | **int**| | [optional]
|
|
319
|
-
**items_per_page** | **int**| | [optional]
|
|
320
315
|
**id** | **int**| | [optional]
|
|
321
316
|
**created_on** | **datetime**| | [optional]
|
|
322
317
|
**job_id** | **int**| | [optional]
|
|
323
318
|
**metadata_id** | **int**| | [optional]
|
|
324
|
-
**number_of_qubits** | **int**| | [optional]
|
|
325
319
|
**execution_time_in_seconds** | **float**| | [optional]
|
|
326
320
|
**shots_requested__isnull** | **bool**| | [optional]
|
|
327
321
|
**shots_requested** | **int**| | [optional]
|
|
328
322
|
**shots_done__isnull** | **bool**| | [optional]
|
|
329
323
|
**shots_done** | **int**| | [optional]
|
|
330
324
|
**results__isnull** | **bool**| | [optional]
|
|
325
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
326
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
327
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
328
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
331
329
|
**body** | **object**| | [optional]
|
|
332
330
|
|
|
333
331
|
### Return type
|
|
334
332
|
|
|
335
|
-
[**
|
|
333
|
+
[**PageResult**](PageResult.md)
|
|
336
334
|
|
|
337
335
|
### Authorization
|
|
338
336
|
|
|
@@ -353,7 +351,7 @@ Name | Type | Description | Notes
|
|
|
353
351
|
[[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)
|
|
354
352
|
|
|
355
353
|
# **read_results_by_job_id_results_job_job_id_get**
|
|
356
|
-
>
|
|
354
|
+
> PageResult read_results_by_job_id_results_job_job_id_get(job_id, page=page, size=size, sort_by=sort_by, latest=latest)
|
|
357
355
|
|
|
358
356
|
Retrieve results by job ID
|
|
359
357
|
|
|
@@ -366,7 +364,7 @@ Get results by job ID.
|
|
|
366
364
|
import time
|
|
367
365
|
import os
|
|
368
366
|
import compute_api_client
|
|
369
|
-
from compute_api_client.models.
|
|
367
|
+
from compute_api_client.models.page_result import PageResult
|
|
370
368
|
from compute_api_client.rest import ApiException
|
|
371
369
|
from pprint import pprint
|
|
372
370
|
|
|
@@ -388,10 +386,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
388
386
|
# Create an instance of the API class
|
|
389
387
|
api_instance = compute_api_client.ResultsApi(api_client)
|
|
390
388
|
job_id = 56 # int |
|
|
389
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
390
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
391
|
+
sort_by = 'sort_by_example' # str | (optional)
|
|
392
|
+
latest = True # bool | (optional)
|
|
391
393
|
|
|
392
394
|
try:
|
|
393
395
|
# Retrieve results by job ID
|
|
394
|
-
api_response = await api_instance.read_results_by_job_id_results_job_job_id_get(job_id)
|
|
396
|
+
api_response = await api_instance.read_results_by_job_id_results_job_job_id_get(job_id, page=page, size=size, sort_by=sort_by, latest=latest)
|
|
395
397
|
print("The response of ResultsApi->read_results_by_job_id_results_job_job_id_get:\n")
|
|
396
398
|
pprint(api_response)
|
|
397
399
|
except Exception as e:
|
|
@@ -405,10 +407,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
405
407
|
Name | Type | Description | Notes
|
|
406
408
|
------------- | ------------- | ------------- | -------------
|
|
407
409
|
**job_id** | **int**| |
|
|
410
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
411
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
412
|
+
**sort_by** | **str**| | [optional]
|
|
413
|
+
**latest** | **bool**| | [optional]
|
|
408
414
|
|
|
409
415
|
### Return type
|
|
410
416
|
|
|
411
|
-
[**
|
|
417
|
+
[**PageResult**](PageResult.md)
|
|
412
418
|
|
|
413
419
|
### Authorization
|
|
414
420
|
|
|
@@ -85,7 +85,7 @@ Name | Type | Description | Notes
|
|
|
85
85
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
86
86
|
|
|
87
87
|
# **read_teams_teams_get**
|
|
88
|
-
>
|
|
88
|
+
> PageTeam read_teams_teams_get(id=id, name=name, slug=slug, individual_user=individual_user, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
89
89
|
|
|
90
90
|
List teams
|
|
91
91
|
|
|
@@ -98,7 +98,7 @@ Read teams.
|
|
|
98
98
|
import time
|
|
99
99
|
import os
|
|
100
100
|
import compute_api_client
|
|
101
|
-
from compute_api_client.models.
|
|
101
|
+
from compute_api_client.models.page_team import PageTeam
|
|
102
102
|
from compute_api_client.rest import ApiException
|
|
103
103
|
from pprint import pprint
|
|
104
104
|
|
|
@@ -119,18 +119,18 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
119
119
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
120
120
|
# Create an instance of the API class
|
|
121
121
|
api_instance = compute_api_client.TeamsApi(api_client)
|
|
122
|
-
latest = True # bool | (optional)
|
|
123
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
124
|
-
page_number = 56 # int | (optional)
|
|
125
|
-
items_per_page = 56 # int | (optional)
|
|
126
122
|
id = 56 # int | (optional)
|
|
127
123
|
name = 'name_example' # str | (optional)
|
|
128
124
|
slug = 'slug_example' # str | (optional)
|
|
129
125
|
individual_user = True # bool | (optional)
|
|
126
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
127
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
128
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
129
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
130
130
|
|
|
131
131
|
try:
|
|
132
132
|
# List teams
|
|
133
|
-
api_response = await api_instance.read_teams_teams_get(
|
|
133
|
+
api_response = await api_instance.read_teams_teams_get(id=id, name=name, slug=slug, individual_user=individual_user, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
134
134
|
print("The response of TeamsApi->read_teams_teams_get:\n")
|
|
135
135
|
pprint(api_response)
|
|
136
136
|
except Exception as e:
|
|
@@ -143,18 +143,18 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
143
143
|
|
|
144
144
|
Name | Type | Description | Notes
|
|
145
145
|
------------- | ------------- | ------------- | -------------
|
|
146
|
-
**latest** | **bool**| | [optional]
|
|
147
|
-
**sort_by** | **str**| | [optional]
|
|
148
|
-
**page_number** | **int**| | [optional]
|
|
149
|
-
**items_per_page** | **int**| | [optional]
|
|
150
146
|
**id** | **int**| | [optional]
|
|
151
147
|
**name** | **str**| | [optional]
|
|
152
148
|
**slug** | **str**| | [optional]
|
|
153
149
|
**individual_user** | **bool**| | [optional]
|
|
150
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
151
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
152
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
153
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
154
154
|
|
|
155
155
|
### Return type
|
|
156
156
|
|
|
157
|
-
[**
|
|
157
|
+
[**PageTeam**](PageTeam.md)
|
|
158
158
|
|
|
159
159
|
### Authorization
|
|
160
160
|
|
|
@@ -85,7 +85,7 @@ Name | Type | Description | Notes
|
|
|
85
85
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
86
86
|
|
|
87
87
|
# **read_transactions_transactions_get**
|
|
88
|
-
>
|
|
88
|
+
> PageTransaction read_transactions_transactions_get(id=id, domain__isnull=domain__isnull, domain=domain, job__isnull=job__isnull, job=job, team_id=team_id, member_id__isnull=member_id__isnull, member_id=member_id, change=change, timestamp=timestamp, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
89
89
|
|
|
90
90
|
List transactions
|
|
91
91
|
|
|
@@ -99,7 +99,7 @@ import time
|
|
|
99
99
|
import os
|
|
100
100
|
import compute_api_client
|
|
101
101
|
from compute_api_client.models.domain import Domain
|
|
102
|
-
from compute_api_client.models.
|
|
102
|
+
from compute_api_client.models.page_transaction import PageTransaction
|
|
103
103
|
from compute_api_client.rest import ApiException
|
|
104
104
|
from pprint import pprint
|
|
105
105
|
|
|
@@ -120,10 +120,6 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
120
120
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
121
121
|
# Create an instance of the API class
|
|
122
122
|
api_instance = compute_api_client.TransactionsApi(api_client)
|
|
123
|
-
latest = True # bool | (optional)
|
|
124
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
125
|
-
page_number = 56 # int | (optional)
|
|
126
|
-
items_per_page = 56 # int | (optional)
|
|
127
123
|
id = 56 # int | (optional)
|
|
128
124
|
domain__isnull = True # bool | (optional)
|
|
129
125
|
domain = compute_api_client.Domain() # Domain | (optional)
|
|
@@ -134,10 +130,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
134
130
|
member_id = 56 # int | (optional)
|
|
135
131
|
change = 56 # int | (optional)
|
|
136
132
|
timestamp = '2013-10-20T19:20:30+01:00' # datetime | (optional)
|
|
133
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
134
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
135
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
136
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
137
137
|
|
|
138
138
|
try:
|
|
139
139
|
# List transactions
|
|
140
|
-
api_response = await api_instance.read_transactions_transactions_get(
|
|
140
|
+
api_response = await api_instance.read_transactions_transactions_get(id=id, domain__isnull=domain__isnull, domain=domain, job__isnull=job__isnull, job=job, team_id=team_id, member_id__isnull=member_id__isnull, member_id=member_id, change=change, timestamp=timestamp, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
141
141
|
print("The response of TransactionsApi->read_transactions_transactions_get:\n")
|
|
142
142
|
pprint(api_response)
|
|
143
143
|
except Exception as e:
|
|
@@ -150,10 +150,6 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
150
150
|
|
|
151
151
|
Name | Type | Description | Notes
|
|
152
152
|
------------- | ------------- | ------------- | -------------
|
|
153
|
-
**latest** | **bool**| | [optional]
|
|
154
|
-
**sort_by** | **str**| | [optional]
|
|
155
|
-
**page_number** | **int**| | [optional]
|
|
156
|
-
**items_per_page** | **int**| | [optional]
|
|
157
153
|
**id** | **int**| | [optional]
|
|
158
154
|
**domain__isnull** | **bool**| | [optional]
|
|
159
155
|
**domain** | [**Domain**](.md)| | [optional]
|
|
@@ -164,10 +160,14 @@ Name | Type | Description | Notes
|
|
|
164
160
|
**member_id** | **int**| | [optional]
|
|
165
161
|
**change** | **int**| | [optional]
|
|
166
162
|
**timestamp** | **datetime**| | [optional]
|
|
163
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
164
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
165
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
166
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
167
167
|
|
|
168
168
|
### Return type
|
|
169
169
|
|
|
170
|
-
[**
|
|
170
|
+
[**PageTransaction**](PageTransaction.md)
|
|
171
171
|
|
|
172
172
|
### Authorization
|
|
173
173
|
|
|
@@ -236,7 +236,7 @@ Name | Type | Description | Notes
|
|
|
236
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)
|
|
237
237
|
|
|
238
238
|
# **read_users_users_get**
|
|
239
|
-
>
|
|
239
|
+
> PageUser read_users_users_get(id=id, full_name=full_name, email=email, is_superuser=is_superuser, is_staff=is_staff, is_active=is_active, is_confirmed=is_confirmed, oidc_sub=oidc_sub, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
240
240
|
|
|
241
241
|
List users
|
|
242
242
|
|
|
@@ -249,7 +249,7 @@ Read users.
|
|
|
249
249
|
import time
|
|
250
250
|
import os
|
|
251
251
|
import compute_api_client
|
|
252
|
-
from compute_api_client.models.
|
|
252
|
+
from compute_api_client.models.page_user import PageUser
|
|
253
253
|
from compute_api_client.rest import ApiException
|
|
254
254
|
from pprint import pprint
|
|
255
255
|
|
|
@@ -270,10 +270,6 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
270
270
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
271
271
|
# Create an instance of the API class
|
|
272
272
|
api_instance = compute_api_client.UsersApi(api_client)
|
|
273
|
-
latest = True # bool | (optional)
|
|
274
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
275
|
-
page_number = 56 # int | (optional)
|
|
276
|
-
items_per_page = 56 # int | (optional)
|
|
277
273
|
id = 56 # int | (optional)
|
|
278
274
|
full_name = 'full_name_example' # str | (optional)
|
|
279
275
|
email = 'email_example' # str | (optional)
|
|
@@ -282,10 +278,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
282
278
|
is_active = True # bool | (optional)
|
|
283
279
|
is_confirmed = True # bool | (optional)
|
|
284
280
|
oidc_sub = 'oidc_sub_example' # str | (optional)
|
|
281
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
282
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
283
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
284
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
285
285
|
|
|
286
286
|
try:
|
|
287
287
|
# List users
|
|
288
|
-
api_response = await api_instance.read_users_users_get(
|
|
288
|
+
api_response = await api_instance.read_users_users_get(id=id, full_name=full_name, email=email, is_superuser=is_superuser, is_staff=is_staff, is_active=is_active, is_confirmed=is_confirmed, oidc_sub=oidc_sub, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
289
289
|
print("The response of UsersApi->read_users_users_get:\n")
|
|
290
290
|
pprint(api_response)
|
|
291
291
|
except Exception as e:
|
|
@@ -298,10 +298,6 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
298
298
|
|
|
299
299
|
Name | Type | Description | Notes
|
|
300
300
|
------------- | ------------- | ------------- | -------------
|
|
301
|
-
**latest** | **bool**| | [optional]
|
|
302
|
-
**sort_by** | **str**| | [optional]
|
|
303
|
-
**page_number** | **int**| | [optional]
|
|
304
|
-
**items_per_page** | **int**| | [optional]
|
|
305
301
|
**id** | **int**| | [optional]
|
|
306
302
|
**full_name** | **str**| | [optional]
|
|
307
303
|
**email** | **str**| | [optional]
|
|
@@ -310,10 +306,14 @@ Name | Type | Description | Notes
|
|
|
310
306
|
**is_active** | **bool**| | [optional]
|
|
311
307
|
**is_confirmed** | **bool**| | [optional]
|
|
312
308
|
**oidc_sub** | **str**| | [optional]
|
|
309
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
310
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
311
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
312
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
313
313
|
|
|
314
314
|
### Return type
|
|
315
315
|
|
|
316
|
-
[**
|
|
316
|
+
[**PageUser**](PageUser.md)
|
|
317
317
|
|
|
318
318
|
### Authorization
|
|
319
319
|
|
compute_api_client/exceptions.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"""
|
|
5
5
|
Quantum Inspire 2
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
8
8
|
|
|
9
9
|
The version of the OpenAPI document: 0.1.0
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -46,6 +46,24 @@ from compute_api_client.models.member import Member
|
|
|
46
46
|
from compute_api_client.models.member_in import MemberIn
|
|
47
47
|
from compute_api_client.models.metadata import Metadata
|
|
48
48
|
from compute_api_client.models.metadata_in import MetadataIn
|
|
49
|
+
from compute_api_client.models.page_algorithm import PageAlgorithm
|
|
50
|
+
from compute_api_client.models.page_backend import PageBackend
|
|
51
|
+
from compute_api_client.models.page_backend_type import PageBackendType
|
|
52
|
+
from compute_api_client.models.page_batch_job import PageBatchJob
|
|
53
|
+
from compute_api_client.models.page_commit import PageCommit
|
|
54
|
+
from compute_api_client.models.page_file import PageFile
|
|
55
|
+
from compute_api_client.models.page_job import PageJob
|
|
56
|
+
from compute_api_client.models.page_language import PageLanguage
|
|
57
|
+
from compute_api_client.models.page_member import PageMember
|
|
58
|
+
from compute_api_client.models.page_metadata import PageMetadata
|
|
59
|
+
from compute_api_client.models.page_permission import PagePermission
|
|
60
|
+
from compute_api_client.models.page_permission_group import PagePermissionGroup
|
|
61
|
+
from compute_api_client.models.page_project import PageProject
|
|
62
|
+
from compute_api_client.models.page_reservation import PageReservation
|
|
63
|
+
from compute_api_client.models.page_result import PageResult
|
|
64
|
+
from compute_api_client.models.page_team import PageTeam
|
|
65
|
+
from compute_api_client.models.page_transaction import PageTransaction
|
|
66
|
+
from compute_api_client.models.page_user import PageUser
|
|
49
67
|
from compute_api_client.models.permission import Permission
|
|
50
68
|
from compute_api_client.models.permission_group import PermissionGroup
|
|
51
69
|
from compute_api_client.models.project import Project
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|