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
|
@@ -243,7 +243,7 @@ Name | Type | Description | Notes
|
|
|
243
243
|
[[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)
|
|
244
244
|
|
|
245
245
|
# **read_commits_commits_get**
|
|
246
|
-
>
|
|
246
|
+
> PageCommit read_commits_commits_get(id=id, created_on=created_on, hash=hash, description=description, algorithm_id=algorithm_id, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
247
247
|
|
|
248
248
|
List commits
|
|
249
249
|
|
|
@@ -256,7 +256,7 @@ List commits.
|
|
|
256
256
|
import time
|
|
257
257
|
import os
|
|
258
258
|
import compute_api_client
|
|
259
|
-
from compute_api_client.models.
|
|
259
|
+
from compute_api_client.models.page_commit import PageCommit
|
|
260
260
|
from compute_api_client.rest import ApiException
|
|
261
261
|
from pprint import pprint
|
|
262
262
|
|
|
@@ -277,19 +277,19 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
277
277
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
278
278
|
# Create an instance of the API class
|
|
279
279
|
api_instance = compute_api_client.CommitsApi(api_client)
|
|
280
|
-
latest = True # bool | (optional)
|
|
281
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
282
|
-
page_number = 56 # int | (optional)
|
|
283
|
-
items_per_page = 56 # int | (optional)
|
|
284
280
|
id = 56 # int | (optional)
|
|
285
281
|
created_on = '2013-10-20T19:20:30+01:00' # datetime | (optional)
|
|
286
282
|
hash = 'hash_example' # str | (optional)
|
|
287
283
|
description = 'description_example' # str | (optional)
|
|
288
284
|
algorithm_id = 56 # int | (optional)
|
|
285
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
286
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
287
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
288
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
289
289
|
|
|
290
290
|
try:
|
|
291
291
|
# List commits
|
|
292
|
-
api_response = await api_instance.read_commits_commits_get(
|
|
292
|
+
api_response = await api_instance.read_commits_commits_get(id=id, created_on=created_on, hash=hash, description=description, algorithm_id=algorithm_id, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
293
293
|
print("The response of CommitsApi->read_commits_commits_get:\n")
|
|
294
294
|
pprint(api_response)
|
|
295
295
|
except Exception as e:
|
|
@@ -302,19 +302,19 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
302
302
|
|
|
303
303
|
Name | Type | Description | Notes
|
|
304
304
|
------------- | ------------- | ------------- | -------------
|
|
305
|
-
**latest** | **bool**| | [optional]
|
|
306
|
-
**sort_by** | **str**| | [optional]
|
|
307
|
-
**page_number** | **int**| | [optional]
|
|
308
|
-
**items_per_page** | **int**| | [optional]
|
|
309
305
|
**id** | **int**| | [optional]
|
|
310
306
|
**created_on** | **datetime**| | [optional]
|
|
311
307
|
**hash** | **str**| | [optional]
|
|
312
308
|
**description** | **str**| | [optional]
|
|
313
309
|
**algorithm_id** | **int**| | [optional]
|
|
310
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
311
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
312
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
313
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
314
314
|
|
|
315
315
|
### Return type
|
|
316
316
|
|
|
317
|
-
[**
|
|
317
|
+
[**PageCommit**](PageCommit.md)
|
|
318
318
|
|
|
319
319
|
### Authorization
|
|
320
320
|
|
|
@@ -243,7 +243,7 @@ Name | Type | Description | Notes
|
|
|
243
243
|
[[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)
|
|
244
244
|
|
|
245
245
|
# **read_files_files_get**
|
|
246
|
-
>
|
|
246
|
+
> PageFile read_files_files_get(id=id, commit_id=commit_id, content=content, language_id=language_id, compile_stage=compile_stage, generated=generated, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
247
247
|
|
|
248
248
|
List files
|
|
249
249
|
|
|
@@ -257,7 +257,7 @@ import time
|
|
|
257
257
|
import os
|
|
258
258
|
import compute_api_client
|
|
259
259
|
from compute_api_client.models.compile_stage import CompileStage
|
|
260
|
-
from compute_api_client.models.
|
|
260
|
+
from compute_api_client.models.page_file import PageFile
|
|
261
261
|
from compute_api_client.rest import ApiException
|
|
262
262
|
from pprint import pprint
|
|
263
263
|
|
|
@@ -278,20 +278,20 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
278
278
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
279
279
|
# Create an instance of the API class
|
|
280
280
|
api_instance = compute_api_client.FilesApi(api_client)
|
|
281
|
-
latest = True # bool | (optional)
|
|
282
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
283
|
-
page_number = 56 # int | (optional)
|
|
284
|
-
items_per_page = 56 # int | (optional)
|
|
285
281
|
id = 56 # int | (optional)
|
|
286
282
|
commit_id = 56 # int | (optional)
|
|
287
283
|
content = 'content_example' # str | (optional)
|
|
288
284
|
language_id = 56 # int | (optional)
|
|
289
285
|
compile_stage = compute_api_client.CompileStage() # CompileStage | (optional)
|
|
290
286
|
generated = True # bool | (optional)
|
|
287
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
288
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
289
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
290
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
291
291
|
|
|
292
292
|
try:
|
|
293
293
|
# List files
|
|
294
|
-
api_response = await api_instance.read_files_files_get(
|
|
294
|
+
api_response = await api_instance.read_files_files_get(id=id, commit_id=commit_id, content=content, language_id=language_id, compile_stage=compile_stage, generated=generated, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
295
295
|
print("The response of FilesApi->read_files_files_get:\n")
|
|
296
296
|
pprint(api_response)
|
|
297
297
|
except Exception as e:
|
|
@@ -304,20 +304,20 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
304
304
|
|
|
305
305
|
Name | Type | Description | Notes
|
|
306
306
|
------------- | ------------- | ------------- | -------------
|
|
307
|
-
**latest** | **bool**| | [optional]
|
|
308
|
-
**sort_by** | **str**| | [optional]
|
|
309
|
-
**page_number** | **int**| | [optional]
|
|
310
|
-
**items_per_page** | **int**| | [optional]
|
|
311
307
|
**id** | **int**| | [optional]
|
|
312
308
|
**commit_id** | **int**| | [optional]
|
|
313
309
|
**content** | **str**| | [optional]
|
|
314
310
|
**language_id** | **int**| | [optional]
|
|
315
311
|
**compile_stage** | [**CompileStage**](.md)| | [optional]
|
|
316
312
|
**generated** | **bool**| | [optional]
|
|
313
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
314
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
315
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
316
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
317
317
|
|
|
318
318
|
### Return type
|
|
319
319
|
|
|
320
|
-
[**
|
|
320
|
+
[**PageFile**](PageFile.md)
|
|
321
321
|
|
|
322
322
|
### Authorization
|
|
323
323
|
|
|
@@ -244,7 +244,7 @@ Name | Type | Description | Notes
|
|
|
244
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)
|
|
245
245
|
|
|
246
246
|
# **read_jobs_jobs_get**
|
|
247
|
-
>
|
|
247
|
+
> PageJob read_jobs_jobs_get(id=id, created_on=created_on, file_id=file_id, algorithm_type=algorithm_type, status=status, batch_job_id=batch_job_id, queued_at__isnull=queued_at__isnull, queued_at=queued_at, finished_at__isnull=finished_at__isnull, finished_at=finished_at, number_of_shots__isnull=number_of_shots__isnull, number_of_shots=number_of_shots, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
248
248
|
|
|
249
249
|
List jobs
|
|
250
250
|
|
|
@@ -259,8 +259,8 @@ import time
|
|
|
259
259
|
import os
|
|
260
260
|
import compute_api_client
|
|
261
261
|
from compute_api_client.models.algorithm_type import AlgorithmType
|
|
262
|
-
from compute_api_client.models.job import Job
|
|
263
262
|
from compute_api_client.models.job_status import JobStatus
|
|
263
|
+
from compute_api_client.models.page_job import PageJob
|
|
264
264
|
from compute_api_client.rest import ApiException
|
|
265
265
|
from pprint import pprint
|
|
266
266
|
|
|
@@ -287,10 +287,6 @@ configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
|
287
287
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
288
288
|
# Create an instance of the API class
|
|
289
289
|
api_instance = compute_api_client.JobsApi(api_client)
|
|
290
|
-
latest = True # bool | (optional)
|
|
291
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
292
|
-
page_number = 56 # int | (optional)
|
|
293
|
-
items_per_page = 56 # int | (optional)
|
|
294
290
|
id = 56 # int | (optional)
|
|
295
291
|
created_on = '2013-10-20T19:20:30+01:00' # datetime | (optional)
|
|
296
292
|
file_id = 56 # int | (optional)
|
|
@@ -303,10 +299,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
303
299
|
finished_at = '2013-10-20T19:20:30+01:00' # datetime | (optional)
|
|
304
300
|
number_of_shots__isnull = True # bool | (optional)
|
|
305
301
|
number_of_shots = 56 # int | (optional)
|
|
302
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
303
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
304
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
305
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
306
306
|
|
|
307
307
|
try:
|
|
308
308
|
# List jobs
|
|
309
|
-
api_response = await api_instance.read_jobs_jobs_get(
|
|
309
|
+
api_response = await api_instance.read_jobs_jobs_get(id=id, created_on=created_on, file_id=file_id, algorithm_type=algorithm_type, status=status, batch_job_id=batch_job_id, queued_at__isnull=queued_at__isnull, queued_at=queued_at, finished_at__isnull=finished_at__isnull, finished_at=finished_at, number_of_shots__isnull=number_of_shots__isnull, number_of_shots=number_of_shots, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
310
310
|
print("The response of JobsApi->read_jobs_jobs_get:\n")
|
|
311
311
|
pprint(api_response)
|
|
312
312
|
except Exception as e:
|
|
@@ -319,10 +319,6 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
319
319
|
|
|
320
320
|
Name | Type | Description | Notes
|
|
321
321
|
------------- | ------------- | ------------- | -------------
|
|
322
|
-
**latest** | **bool**| | [optional]
|
|
323
|
-
**sort_by** | **str**| | [optional]
|
|
324
|
-
**page_number** | **int**| | [optional]
|
|
325
|
-
**items_per_page** | **int**| | [optional]
|
|
326
322
|
**id** | **int**| | [optional]
|
|
327
323
|
**created_on** | **datetime**| | [optional]
|
|
328
324
|
**file_id** | **int**| | [optional]
|
|
@@ -335,10 +331,14 @@ Name | Type | Description | Notes
|
|
|
335
331
|
**finished_at** | **datetime**| | [optional]
|
|
336
332
|
**number_of_shots__isnull** | **bool**| | [optional]
|
|
337
333
|
**number_of_shots** | **int**| | [optional]
|
|
334
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
335
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
336
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
337
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
338
338
|
|
|
339
339
|
### Return type
|
|
340
340
|
|
|
341
|
-
[**
|
|
341
|
+
[**PageJob**](PageJob.md)
|
|
342
342
|
|
|
343
343
|
### Authorization
|
|
344
344
|
|
|
@@ -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_languages_languages_get**
|
|
88
|
-
>
|
|
88
|
+
> PageLanguage read_languages_languages_get(q=q, id=id, name=name, version=version, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
89
89
|
|
|
90
90
|
List languages
|
|
91
91
|
|
|
@@ -98,7 +98,7 @@ List languages.
|
|
|
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_language import PageLanguage
|
|
102
102
|
from compute_api_client.rest import ApiException
|
|
103
103
|
from pprint import pprint
|
|
104
104
|
|
|
@@ -120,17 +120,17 @@ 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.LanguagesApi(api_client)
|
|
122
122
|
q = 'q_example' # str | (optional)
|
|
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
|
name = 'name_example' # str | (optional)
|
|
129
125
|
version = 'version_example' # str | (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 languages
|
|
133
|
-
api_response = await api_instance.read_languages_languages_get(q=q,
|
|
133
|
+
api_response = await api_instance.read_languages_languages_get(q=q, id=id, name=name, version=version, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
134
134
|
print("The response of LanguagesApi->read_languages_languages_get:\n")
|
|
135
135
|
pprint(api_response)
|
|
136
136
|
except Exception as e:
|
|
@@ -144,17 +144,17 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
144
144
|
Name | Type | Description | Notes
|
|
145
145
|
------------- | ------------- | ------------- | -------------
|
|
146
146
|
**q** | **str**| | [optional]
|
|
147
|
-
**latest** | **bool**| | [optional]
|
|
148
|
-
**sort_by** | **str**| | [optional]
|
|
149
|
-
**page_number** | **int**| | [optional]
|
|
150
|
-
**items_per_page** | **int**| | [optional]
|
|
151
147
|
**id** | **int**| | [optional]
|
|
152
148
|
**name** | **str**| | [optional]
|
|
153
149
|
**version** | **str**| | [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
|
+
[**PageLanguage**](PageLanguage.md)
|
|
158
158
|
|
|
159
159
|
### Authorization
|
|
160
160
|
|
|
@@ -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_members_members_get**
|
|
239
|
-
>
|
|
239
|
+
> PageMember read_members_members_get(id=id, team_id=team_id, role=role, is_active=is_active, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
240
240
|
|
|
241
241
|
List members
|
|
242
242
|
|
|
@@ -249,7 +249,7 @@ Read members.
|
|
|
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_member import PageMember
|
|
253
253
|
from compute_api_client.models.role import Role
|
|
254
254
|
from compute_api_client.rest import ApiException
|
|
255
255
|
from pprint import pprint
|
|
@@ -271,18 +271,18 @@ configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
|
271
271
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
272
272
|
# Create an instance of the API class
|
|
273
273
|
api_instance = compute_api_client.MembersApi(api_client)
|
|
274
|
-
latest = True # bool | (optional)
|
|
275
|
-
sort_by = 'sort_by_example' # str | (optional)
|
|
276
|
-
page_number = 56 # int | (optional)
|
|
277
|
-
items_per_page = 56 # int | (optional)
|
|
278
274
|
id = 56 # int | (optional)
|
|
279
275
|
team_id = 56 # int | (optional)
|
|
280
276
|
role = compute_api_client.Role() # Role | (optional)
|
|
281
277
|
is_active = True # bool | (optional)
|
|
278
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
279
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
280
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
281
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
282
282
|
|
|
283
283
|
try:
|
|
284
284
|
# List members
|
|
285
|
-
api_response = await api_instance.read_members_members_get(
|
|
285
|
+
api_response = await api_instance.read_members_members_get(id=id, team_id=team_id, role=role, is_active=is_active, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
286
286
|
print("The response of MembersApi->read_members_members_get:\n")
|
|
287
287
|
pprint(api_response)
|
|
288
288
|
except Exception as e:
|
|
@@ -295,18 +295,18 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
295
295
|
|
|
296
296
|
Name | Type | Description | Notes
|
|
297
297
|
------------- | ------------- | ------------- | -------------
|
|
298
|
-
**latest** | **bool**| | [optional]
|
|
299
|
-
**sort_by** | **str**| | [optional]
|
|
300
|
-
**page_number** | **int**| | [optional]
|
|
301
|
-
**items_per_page** | **int**| | [optional]
|
|
302
298
|
**id** | **int**| | [optional]
|
|
303
299
|
**team_id** | **int**| | [optional]
|
|
304
300
|
**role** | [**Role**](.md)| | [optional]
|
|
305
301
|
**is_active** | **bool**| | [optional]
|
|
302
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
303
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
304
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
305
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
306
306
|
|
|
307
307
|
### Return type
|
|
308
308
|
|
|
309
|
-
[**
|
|
309
|
+
[**PageMember**](PageMember.md)
|
|
310
310
|
|
|
311
311
|
### Authorization
|
|
312
312
|
|
|
@@ -90,7 +90,7 @@ Name | Type | Description | Notes
|
|
|
90
90
|
[[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)
|
|
91
91
|
|
|
92
92
|
# **read_metadata_by_backend_id_metadata_backend_backend_id_get**
|
|
93
|
-
>
|
|
93
|
+
> PageMetadata read_metadata_by_backend_id_metadata_backend_backend_id_get(backend_id, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
94
94
|
|
|
95
95
|
Retrieve metadata by backend ID
|
|
96
96
|
|
|
@@ -103,7 +103,7 @@ Get metadata by job ID.
|
|
|
103
103
|
import time
|
|
104
104
|
import os
|
|
105
105
|
import compute_api_client
|
|
106
|
-
from compute_api_client.models.
|
|
106
|
+
from compute_api_client.models.page_metadata import PageMetadata
|
|
107
107
|
from compute_api_client.rest import ApiException
|
|
108
108
|
from pprint import pprint
|
|
109
109
|
|
|
@@ -125,10 +125,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
125
125
|
# Create an instance of the API class
|
|
126
126
|
api_instance = compute_api_client.MetadataApi(api_client)
|
|
127
127
|
backend_id = 56 # int |
|
|
128
|
+
sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
|
|
129
|
+
latest = True # bool | If True gets the most recently created object. (optional)
|
|
130
|
+
page = 1 # int | Page number (optional) (default to 1)
|
|
131
|
+
size = 50 # int | Page size (optional) (default to 50)
|
|
128
132
|
|
|
129
133
|
try:
|
|
130
134
|
# Retrieve metadata by backend ID
|
|
131
|
-
api_response = await api_instance.read_metadata_by_backend_id_metadata_backend_backend_id_get(backend_id)
|
|
135
|
+
api_response = await api_instance.read_metadata_by_backend_id_metadata_backend_backend_id_get(backend_id, sort_by=sort_by, latest=latest, page=page, size=size)
|
|
132
136
|
print("The response of MetadataApi->read_metadata_by_backend_id_metadata_backend_backend_id_get:\n")
|
|
133
137
|
pprint(api_response)
|
|
134
138
|
except Exception as e:
|
|
@@ -142,10 +146,14 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
142
146
|
Name | Type | Description | Notes
|
|
143
147
|
------------- | ------------- | ------------- | -------------
|
|
144
148
|
**backend_id** | **int**| |
|
|
149
|
+
**sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
|
|
150
|
+
**latest** | **bool**| If True gets the most recently created object. | [optional]
|
|
151
|
+
**page** | **int**| Page number | [optional] [default to 1]
|
|
152
|
+
**size** | **int**| Page size | [optional] [default to 50]
|
|
145
153
|
|
|
146
154
|
### Return type
|
|
147
155
|
|
|
148
|
-
[**
|
|
156
|
+
[**PageMetadata**](PageMetadata.md)
|
|
149
157
|
|
|
150
158
|
### Authorization
|
|
151
159
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageAlgorithm
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[Algorithm]**](Algorithm.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_algorithm import PageAlgorithm
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageAlgorithm from a JSON string
|
|
21
|
+
page_algorithm_instance = PageAlgorithm.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageAlgorithm.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_algorithm_dict = page_algorithm_instance.to_dict()
|
|
27
|
+
# create an instance of PageAlgorithm from a dict
|
|
28
|
+
page_algorithm_form_dict = page_algorithm.from_dict(page_algorithm_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageBackend
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[Backend]**](Backend.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_backend import PageBackend
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageBackend from a JSON string
|
|
21
|
+
page_backend_instance = PageBackend.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageBackend.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_backend_dict = page_backend_instance.to_dict()
|
|
27
|
+
# create an instance of PageBackend from a dict
|
|
28
|
+
page_backend_form_dict = page_backend.from_dict(page_backend_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageBackendType
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[BackendType]**](BackendType.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_backend_type import PageBackendType
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageBackendType from a JSON string
|
|
21
|
+
page_backend_type_instance = PageBackendType.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageBackendType.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_backend_type_dict = page_backend_type_instance.to_dict()
|
|
27
|
+
# create an instance of PageBackendType from a dict
|
|
28
|
+
page_backend_type_form_dict = page_backend_type.from_dict(page_backend_type_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageBatchJob
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[BatchJob]**](BatchJob.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_batch_job import PageBatchJob
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageBatchJob from a JSON string
|
|
21
|
+
page_batch_job_instance = PageBatchJob.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageBatchJob.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_batch_job_dict = page_batch_job_instance.to_dict()
|
|
27
|
+
# create an instance of PageBatchJob from a dict
|
|
28
|
+
page_batch_job_form_dict = page_batch_job.from_dict(page_batch_job_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageCommit
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[Commit]**](Commit.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_commit import PageCommit
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageCommit from a JSON string
|
|
21
|
+
page_commit_instance = PageCommit.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageCommit.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_commit_dict = page_commit_instance.to_dict()
|
|
27
|
+
# create an instance of PageCommit from a dict
|
|
28
|
+
page_commit_form_dict = page_commit.from_dict(page_commit_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageFile
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[File]**](File.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_file import PageFile
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageFile from a JSON string
|
|
21
|
+
page_file_instance = PageFile.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageFile.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_file_dict = page_file_instance.to_dict()
|
|
27
|
+
# create an instance of PageFile from a dict
|
|
28
|
+
page_file_form_dict = page_file.from_dict(page_file_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageJob
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[Job]**](Job.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_job import PageJob
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageJob from a JSON string
|
|
21
|
+
page_job_instance = PageJob.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageJob.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_job_dict = page_job_instance.to_dict()
|
|
27
|
+
# create an instance of PageJob from a dict
|
|
28
|
+
page_job_form_dict = page_job.from_dict(page_job_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PageLanguage
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**items** | [**List[Language]**](Language.md) | |
|
|
8
|
+
**total** | **int** | |
|
|
9
|
+
**page** | **int** | |
|
|
10
|
+
**size** | **int** | |
|
|
11
|
+
**pages** | **int** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from compute_api_client.models.page_language import PageLanguage
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of PageLanguage from a JSON string
|
|
21
|
+
page_language_instance = PageLanguage.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print PageLanguage.to_json()
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
page_language_dict = page_language_instance.to_dict()
|
|
27
|
+
# create an instance of PageLanguage from a dict
|
|
28
|
+
page_language_form_dict = page_language.from_dict(page_language_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|