qi-compute-api-client 0.17.0__tar.gz → 0.27.0__tar.gz
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.
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/PKG-INFO +17 -5
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/README.md +15 -2
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/__init__.py +2 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/algorithms_api.py +110 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/backend_api.py +71 -16
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/backend_types_api.py +106 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/batch_jobs_api.py +310 -5
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/commits_api.py +56 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/files_api.py +56 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/final_results_api.py +4 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/jobs_api.py +60 -2
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/languages_api.py +54 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/members_api.py +57 -2
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/metadata_api.py +3 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/permissions_api.py +107 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/projects_api.py +80 -4
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/reservations_api.py +57 -2
- qi_compute_api_client-0.27.0/compute_api_client/api/results_api.py +1123 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/teams_api.py +54 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/transactions_api.py +55 -2
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/users_api.py +73 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api_client.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/configuration.py +8 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Algorithm.md +1 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/AlgorithmIn.md +1 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/AlgorithmsApi.md +34 -7
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BackendApi.md +25 -10
- qi_compute_api_client-0.27.0/compute_api_client/docs/BackendIn.md +32 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BackendType.md +3 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BackendTypesApi.md +23 -4
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BatchJobIn.md +0 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BatchJobsApi.md +101 -7
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/CommitIn.md +0 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/CommitsApi.md +24 -6
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/FilesApi.md +24 -6
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/FinalResultsApi.md +12 -3
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/JobIn.md +0 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/JobsApi.md +42 -7
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/LanguagesApi.md +16 -4
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/MembersApi.md +24 -6
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/MetadataApi.md +8 -2
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/PermissionsApi.md +32 -8
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ProjectsApi.md +35 -9
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ReservationsApi.md +24 -6
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ResultsApi.md +90 -6
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/TeamsApi.md +16 -4
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/TransactionsApi.md +16 -4
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/User.md +1 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/UserIn.md +1 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/UsersApi.md +26 -6
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/exceptions.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/__init__.py +2 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/algorithm.py +10 -3
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/algorithm_in.py +10 -3
- qi_compute_api_client-0.27.0/compute_api_client/models/algorithm_type.py +45 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/backend.py +1 -1
- qi_compute_api_client-0.27.0/compute_api_client/models/backend_in.py +98 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/backend_patch.py +1 -1
- qi_compute_api_client-0.27.0/compute_api_client/models/backend_status.py +47 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/backend_type.py +10 -3
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/backend_with_authentication.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/batch_job.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/batch_job_in.py +2 -4
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/batch_job_status.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/commit.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/commit_in.py +2 -6
- qi_compute_api_client-0.27.0/compute_api_client/models/compile_stage.py +47 -0
- qi_compute_api_client-0.27.0/compute_api_client/models/domain.py +46 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/file.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/file_in.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/final_result.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/final_result_in.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/http_not_found_error.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/http_validation_error.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/job.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/job_in.py +2 -5
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/job_patch.py +1 -1
- qi_compute_api_client-0.27.0/compute_api_client/models/job_status.py +48 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/language.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/location_inner.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/member.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/member_in.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/metadata.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/metadata_in.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/permission.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/permission_group.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/project.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/project_in.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/project_patch.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/reservation.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/reservation_in.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/result.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/result_in.py +1 -1
- qi_compute_api_client-0.27.0/compute_api_client/models/role.py +45 -0
- qi_compute_api_client-0.27.0/compute_api_client/models/share_type.py +46 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/team.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/transaction.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/user.py +5 -3
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/user_in.py +5 -3
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/models/validation_error.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/rest.py +1 -1
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/pyproject.toml +3 -3
- qi_compute_api_client-0.17.0/compute_api_client/api/results_api.py +0 -862
- qi_compute_api_client-0.17.0/compute_api_client/models/algorithm_type.py +0 -45
- qi_compute_api_client-0.17.0/compute_api_client/models/backend_status.py +0 -47
- qi_compute_api_client-0.17.0/compute_api_client/models/compile_stage.py +0 -47
- qi_compute_api_client-0.17.0/compute_api_client/models/domain.py +0 -46
- qi_compute_api_client-0.17.0/compute_api_client/models/job_status.py +0 -48
- qi_compute_api_client-0.17.0/compute_api_client/models/role.py +0 -45
- qi_compute_api_client-0.17.0/compute_api_client/models/share_type.py +0 -46
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/LICENSE.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api/__init__.py +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/api_response.py +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/AlgorithmType.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Backend.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BackendPatch.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BackendStatus.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BackendWithAuthentication.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BatchJob.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/BatchJobStatus.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Commit.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/CompileStage.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Domain.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/File.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/FileIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/FinalResult.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/FinalResultIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/HTTPNotFoundError.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/HTTPValidationError.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Job.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/JobPatch.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/JobStatus.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Language.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/LocationInner.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Member.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/MemberIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Metadata.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/MetadataIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Permission.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/PermissionGroup.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Project.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ProjectIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ProjectPatch.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Reservation.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ReservationIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Result.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ResultIn.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Role.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ShareType.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Team.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/Transaction.md +0 -0
- {qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/docs/ValidationError.md +0 -0
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qi-compute-api-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.27.0
|
|
4
4
|
Summary: An API client for the Compute Job Manager of Quantum Inspire.
|
|
5
5
|
Home-page: https://github.com/QuTech-Delft/compute-api-client
|
|
6
6
|
License: Apache-2.0
|
|
7
7
|
Author: Quantum Inspire
|
|
8
8
|
Author-email: support@quantum-inspire.eu
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.8,<4.0
|
|
10
10
|
Classifier: Development Status :: 3 - Alpha
|
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.8
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.9
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -22,7 +21,7 @@ Project-URL: Repository, https://github.com/QuTech-Delft/compute-api-client
|
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
23
22
|
|
|
24
23
|
# compute-api-client
|
|
25
|
-
|
|
24
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
26
25
|
|
|
27
26
|
The `compute_api_client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
28
27
|
|
|
@@ -68,6 +67,8 @@ configuration = compute_api_client.Configuration(
|
|
|
68
67
|
# Examples for each auth method are provided below, use the example that
|
|
69
68
|
# satisfies your auth use case.
|
|
70
69
|
|
|
70
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
71
|
+
|
|
71
72
|
# Configure API key authorization: user
|
|
72
73
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
73
74
|
|
|
@@ -115,6 +116,7 @@ Class | Method | HTTP request | Description
|
|
|
115
116
|
*BatchJobsApi* | [**peek_batch_job_batch_jobs_peek_patch**](compute_api_client/docs/BatchJobsApi.md#peek_batch_job_batch_jobs_peek_patch) | **PATCH** /batch_jobs/peek | Peek batch job
|
|
116
117
|
*BatchJobsApi* | [**pop_batch_job_batch_jobs_pop_patch**](compute_api_client/docs/BatchJobsApi.md#pop_batch_job_batch_jobs_pop_patch) | **PATCH** /batch_jobs/pop | Take batch job
|
|
117
118
|
*BatchJobsApi* | [**read_batch_jobs_batch_jobs_get**](compute_api_client/docs/BatchJobsApi.md#read_batch_jobs_batch_jobs_get) | **GET** /batch_jobs | List batch jobs
|
|
119
|
+
*BatchJobsApi* | [**unpop_batch_job_batch_jobs_unpop_patch**](compute_api_client/docs/BatchJobsApi.md#unpop_batch_job_batch_jobs_unpop_patch) | **PATCH** /batch_jobs/unpop | Take batch job
|
|
118
120
|
*CommitsApi* | [**create_commit_commits_post**](compute_api_client/docs/CommitsApi.md#create_commit_commits_post) | **POST** /commits | Create commit
|
|
119
121
|
*CommitsApi* | [**delete_commit_commits_id_delete**](compute_api_client/docs/CommitsApi.md#delete_commit_commits_id_delete) | **DELETE** /commits/{id} | Destroy commit
|
|
120
122
|
*CommitsApi* | [**read_commit_commits_id_get**](compute_api_client/docs/CommitsApi.md#read_commit_commits_id_get) | **GET** /commits/{id} | Get commit by ID
|
|
@@ -155,8 +157,9 @@ Class | Method | HTTP request | Description
|
|
|
155
157
|
*ReservationsApi* | [**read_reservations_reservations_get**](compute_api_client/docs/ReservationsApi.md#read_reservations_reservations_get) | **GET** /reservations | List reservations
|
|
156
158
|
*ReservationsApi* | [**terminate_reservation_reservations_id_terminate_patch**](compute_api_client/docs/ReservationsApi.md#terminate_reservation_reservations_id_terminate_patch) | **PATCH** /reservations/{id}/terminate | Terminate reservation
|
|
157
159
|
*ResultsApi* | [**create_result_results_post**](compute_api_client/docs/ResultsApi.md#create_result_results_post) | **POST** /results | Create result
|
|
160
|
+
*ResultsApi* | [**delete_results_by_job_id_results_job_job_id_delete**](compute_api_client/docs/ResultsApi.md#delete_results_by_job_id_results_job_job_id_delete) | **DELETE** /results/job/{job_id} | Delete results by job ID
|
|
158
161
|
*ResultsApi* | [**read_result_results_id_get**](compute_api_client/docs/ResultsApi.md#read_result_results_id_get) | **GET** /results/{id} | Retrieve result
|
|
159
|
-
*ResultsApi* | [**read_results_by_job_id_results_job_job_id_get**](compute_api_client/docs/ResultsApi.md#read_results_by_job_id_results_job_job_id_get) | **GET** /results/job/{job_id} | Retrieve
|
|
162
|
+
*ResultsApi* | [**read_results_by_job_id_results_job_job_id_get**](compute_api_client/docs/ResultsApi.md#read_results_by_job_id_results_job_job_id_get) | **GET** /results/job/{job_id} | Retrieve results by job ID
|
|
160
163
|
*TeamsApi* | [**read_team_teams_id_get**](compute_api_client/docs/TeamsApi.md#read_team_teams_id_get) | **GET** /teams/{id} | Retrieve teams
|
|
161
164
|
*TeamsApi* | [**read_teams_teams_get**](compute_api_client/docs/TeamsApi.md#read_teams_teams_get) | **GET** /teams/ | List teams
|
|
162
165
|
*TransactionsApi* | [**read_transaction_transactions_id_get**](compute_api_client/docs/TransactionsApi.md#read_transaction_transactions_id_get) | **GET** /transactions/{id} | Retrieve transactions
|
|
@@ -173,6 +176,7 @@ Class | Method | HTTP request | Description
|
|
|
173
176
|
- [AlgorithmIn](compute_api_client/docs/AlgorithmIn.md)
|
|
174
177
|
- [AlgorithmType](compute_api_client/docs/AlgorithmType.md)
|
|
175
178
|
- [Backend](compute_api_client/docs/Backend.md)
|
|
179
|
+
- [BackendIn](compute_api_client/docs/BackendIn.md)
|
|
176
180
|
- [BackendPatch](compute_api_client/docs/BackendPatch.md)
|
|
177
181
|
- [BackendStatus](compute_api_client/docs/BackendStatus.md)
|
|
178
182
|
- [BackendType](compute_api_client/docs/BackendType.md)
|
|
@@ -230,6 +234,14 @@ Authentication schemes defined for the API:
|
|
|
230
234
|
- **API key parameter name**: X-userid
|
|
231
235
|
- **Location**: HTTP header
|
|
232
236
|
|
|
237
|
+
<a id="user_bearer"></a>
|
|
238
|
+
### user_bearer
|
|
239
|
+
|
|
240
|
+
- **Type**: OAuth
|
|
241
|
+
- **Flow**: accessCode
|
|
242
|
+
- **Authorization URL**: https://auth.qi2.quantum-inspire.com/realms/oidc_staging/protocol/openid-connect/auth
|
|
243
|
+
- **Scopes**: N/A
|
|
244
|
+
|
|
233
245
|
<a id="backend"></a>
|
|
234
246
|
### backend
|
|
235
247
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# compute-api-client
|
|
2
|
-
|
|
2
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
3
3
|
|
|
4
4
|
The `compute_api_client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
@@ -45,6 +45,8 @@ configuration = compute_api_client.Configuration(
|
|
|
45
45
|
# Examples for each auth method are provided below, use the example that
|
|
46
46
|
# satisfies your auth use case.
|
|
47
47
|
|
|
48
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
49
|
+
|
|
48
50
|
# Configure API key authorization: user
|
|
49
51
|
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
50
52
|
|
|
@@ -92,6 +94,7 @@ Class | Method | HTTP request | Description
|
|
|
92
94
|
*BatchJobsApi* | [**peek_batch_job_batch_jobs_peek_patch**](compute_api_client/docs/BatchJobsApi.md#peek_batch_job_batch_jobs_peek_patch) | **PATCH** /batch_jobs/peek | Peek batch job
|
|
93
95
|
*BatchJobsApi* | [**pop_batch_job_batch_jobs_pop_patch**](compute_api_client/docs/BatchJobsApi.md#pop_batch_job_batch_jobs_pop_patch) | **PATCH** /batch_jobs/pop | Take batch job
|
|
94
96
|
*BatchJobsApi* | [**read_batch_jobs_batch_jobs_get**](compute_api_client/docs/BatchJobsApi.md#read_batch_jobs_batch_jobs_get) | **GET** /batch_jobs | List batch jobs
|
|
97
|
+
*BatchJobsApi* | [**unpop_batch_job_batch_jobs_unpop_patch**](compute_api_client/docs/BatchJobsApi.md#unpop_batch_job_batch_jobs_unpop_patch) | **PATCH** /batch_jobs/unpop | Take batch job
|
|
95
98
|
*CommitsApi* | [**create_commit_commits_post**](compute_api_client/docs/CommitsApi.md#create_commit_commits_post) | **POST** /commits | Create commit
|
|
96
99
|
*CommitsApi* | [**delete_commit_commits_id_delete**](compute_api_client/docs/CommitsApi.md#delete_commit_commits_id_delete) | **DELETE** /commits/{id} | Destroy commit
|
|
97
100
|
*CommitsApi* | [**read_commit_commits_id_get**](compute_api_client/docs/CommitsApi.md#read_commit_commits_id_get) | **GET** /commits/{id} | Get commit by ID
|
|
@@ -132,8 +135,9 @@ Class | Method | HTTP request | Description
|
|
|
132
135
|
*ReservationsApi* | [**read_reservations_reservations_get**](compute_api_client/docs/ReservationsApi.md#read_reservations_reservations_get) | **GET** /reservations | List reservations
|
|
133
136
|
*ReservationsApi* | [**terminate_reservation_reservations_id_terminate_patch**](compute_api_client/docs/ReservationsApi.md#terminate_reservation_reservations_id_terminate_patch) | **PATCH** /reservations/{id}/terminate | Terminate reservation
|
|
134
137
|
*ResultsApi* | [**create_result_results_post**](compute_api_client/docs/ResultsApi.md#create_result_results_post) | **POST** /results | Create result
|
|
138
|
+
*ResultsApi* | [**delete_results_by_job_id_results_job_job_id_delete**](compute_api_client/docs/ResultsApi.md#delete_results_by_job_id_results_job_job_id_delete) | **DELETE** /results/job/{job_id} | Delete results by job ID
|
|
135
139
|
*ResultsApi* | [**read_result_results_id_get**](compute_api_client/docs/ResultsApi.md#read_result_results_id_get) | **GET** /results/{id} | Retrieve result
|
|
136
|
-
*ResultsApi* | [**read_results_by_job_id_results_job_job_id_get**](compute_api_client/docs/ResultsApi.md#read_results_by_job_id_results_job_job_id_get) | **GET** /results/job/{job_id} | Retrieve
|
|
140
|
+
*ResultsApi* | [**read_results_by_job_id_results_job_job_id_get**](compute_api_client/docs/ResultsApi.md#read_results_by_job_id_results_job_job_id_get) | **GET** /results/job/{job_id} | Retrieve results by job ID
|
|
137
141
|
*TeamsApi* | [**read_team_teams_id_get**](compute_api_client/docs/TeamsApi.md#read_team_teams_id_get) | **GET** /teams/{id} | Retrieve teams
|
|
138
142
|
*TeamsApi* | [**read_teams_teams_get**](compute_api_client/docs/TeamsApi.md#read_teams_teams_get) | **GET** /teams/ | List teams
|
|
139
143
|
*TransactionsApi* | [**read_transaction_transactions_id_get**](compute_api_client/docs/TransactionsApi.md#read_transaction_transactions_id_get) | **GET** /transactions/{id} | Retrieve transactions
|
|
@@ -150,6 +154,7 @@ Class | Method | HTTP request | Description
|
|
|
150
154
|
- [AlgorithmIn](compute_api_client/docs/AlgorithmIn.md)
|
|
151
155
|
- [AlgorithmType](compute_api_client/docs/AlgorithmType.md)
|
|
152
156
|
- [Backend](compute_api_client/docs/Backend.md)
|
|
157
|
+
- [BackendIn](compute_api_client/docs/BackendIn.md)
|
|
153
158
|
- [BackendPatch](compute_api_client/docs/BackendPatch.md)
|
|
154
159
|
- [BackendStatus](compute_api_client/docs/BackendStatus.md)
|
|
155
160
|
- [BackendType](compute_api_client/docs/BackendType.md)
|
|
@@ -207,6 +212,14 @@ Authentication schemes defined for the API:
|
|
|
207
212
|
- **API key parameter name**: X-userid
|
|
208
213
|
- **Location**: HTTP header
|
|
209
214
|
|
|
215
|
+
<a id="user_bearer"></a>
|
|
216
|
+
### user_bearer
|
|
217
|
+
|
|
218
|
+
- **Type**: OAuth
|
|
219
|
+
- **Flow**: accessCode
|
|
220
|
+
- **Authorization URL**: https://auth.qi2.quantum-inspire.com/realms/oidc_staging/protocol/openid-connect/auth
|
|
221
|
+
- **Scopes**: N/A
|
|
222
|
+
|
|
210
223
|
<a id="backend"></a>
|
|
211
224
|
### backend
|
|
212
225
|
|
{qi_compute_api_client-0.17.0 → qi_compute_api_client-0.27.0}/compute_api_client/__init__.py
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Quantum Inspire 2
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
9
9
|
|
|
10
10
|
The version of the OpenAPI document: 0.1.0
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -52,6 +52,7 @@ from compute_api_client.models.algorithm import Algorithm
|
|
|
52
52
|
from compute_api_client.models.algorithm_in import AlgorithmIn
|
|
53
53
|
from compute_api_client.models.algorithm_type import AlgorithmType
|
|
54
54
|
from compute_api_client.models.backend import Backend
|
|
55
|
+
from compute_api_client.models.backend_in import BackendIn
|
|
55
56
|
from compute_api_client.models.backend_patch import BackendPatch
|
|
56
57
|
from compute_api_client.models.backend_status import BackendStatus
|
|
57
58
|
from compute_api_client.models.backend_type import BackendType
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -23,6 +23,8 @@ try:
|
|
|
23
23
|
except ImportError:
|
|
24
24
|
from typing_extensions import Annotated
|
|
25
25
|
|
|
26
|
+
from pydantic import Field
|
|
27
|
+
from typing_extensions import Annotated
|
|
26
28
|
from pydantic import StrictBool, StrictInt, StrictStr
|
|
27
29
|
|
|
28
30
|
from typing import List, Optional
|
|
@@ -307,6 +309,7 @@ class AlgorithmsApi:
|
|
|
307
309
|
|
|
308
310
|
# authentication setting
|
|
309
311
|
_auth_settings: List[str] = [
|
|
312
|
+
'user_bearer',
|
|
310
313
|
'user'
|
|
311
314
|
]
|
|
312
315
|
|
|
@@ -566,6 +569,7 @@ class AlgorithmsApi:
|
|
|
566
569
|
|
|
567
570
|
# authentication setting
|
|
568
571
|
_auth_settings: List[str] = [
|
|
572
|
+
'user_bearer',
|
|
569
573
|
'user'
|
|
570
574
|
]
|
|
571
575
|
|
|
@@ -834,6 +838,7 @@ class AlgorithmsApi:
|
|
|
834
838
|
|
|
835
839
|
# authentication setting
|
|
836
840
|
_auth_settings: List[str] = [
|
|
841
|
+
'user_bearer',
|
|
837
842
|
'backend',
|
|
838
843
|
'user'
|
|
839
844
|
]
|
|
@@ -859,13 +864,19 @@ class AlgorithmsApi:
|
|
|
859
864
|
@validate_call
|
|
860
865
|
async def read_algorithms_algorithms_get(
|
|
861
866
|
self,
|
|
867
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
862
868
|
latest: Optional[StrictBool] = None,
|
|
869
|
+
sort_by: Optional[StrictStr] = None,
|
|
870
|
+
page_number: Optional[StrictInt] = None,
|
|
871
|
+
items_per_page: Optional[StrictInt] = None,
|
|
863
872
|
id: Optional[StrictInt] = None,
|
|
864
873
|
project_id: Optional[StrictInt] = None,
|
|
865
874
|
type: Optional[AlgorithmType] = None,
|
|
866
875
|
shared: Optional[ShareType] = None,
|
|
867
876
|
link__isnull: Optional[StrictBool] = None,
|
|
868
877
|
link: Optional[StrictStr] = None,
|
|
878
|
+
name__isnull: Optional[StrictBool] = None,
|
|
879
|
+
name: Optional[StrictStr] = None,
|
|
869
880
|
_request_timeout: Union[
|
|
870
881
|
None,
|
|
871
882
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -883,8 +894,16 @@ class AlgorithmsApi:
|
|
|
883
894
|
|
|
884
895
|
List algorithms.
|
|
885
896
|
|
|
897
|
+
:param search: Substring search for algorithm names
|
|
898
|
+
:type search: str
|
|
886
899
|
:param latest:
|
|
887
900
|
:type latest: bool
|
|
901
|
+
:param sort_by:
|
|
902
|
+
:type sort_by: str
|
|
903
|
+
:param page_number:
|
|
904
|
+
:type page_number: int
|
|
905
|
+
:param items_per_page:
|
|
906
|
+
:type items_per_page: int
|
|
888
907
|
:param id:
|
|
889
908
|
:type id: int
|
|
890
909
|
:param project_id:
|
|
@@ -897,6 +916,10 @@ class AlgorithmsApi:
|
|
|
897
916
|
:type link__isnull: bool
|
|
898
917
|
:param link:
|
|
899
918
|
:type link: str
|
|
919
|
+
:param name__isnull:
|
|
920
|
+
:type name__isnull: bool
|
|
921
|
+
:param name:
|
|
922
|
+
:type name: str
|
|
900
923
|
:param _request_timeout: timeout setting for this request. If one
|
|
901
924
|
number provided, it will be total request
|
|
902
925
|
timeout. It can also be a pair (tuple) of
|
|
@@ -920,13 +943,19 @@ class AlgorithmsApi:
|
|
|
920
943
|
""" # noqa: E501
|
|
921
944
|
|
|
922
945
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
946
|
+
search=search,
|
|
923
947
|
latest=latest,
|
|
948
|
+
sort_by=sort_by,
|
|
949
|
+
page_number=page_number,
|
|
950
|
+
items_per_page=items_per_page,
|
|
924
951
|
id=id,
|
|
925
952
|
project_id=project_id,
|
|
926
953
|
type=type,
|
|
927
954
|
shared=shared,
|
|
928
955
|
link__isnull=link__isnull,
|
|
929
956
|
link=link,
|
|
957
|
+
name__isnull=name__isnull,
|
|
958
|
+
name=name,
|
|
930
959
|
_request_auth=_request_auth,
|
|
931
960
|
_content_type=_content_type,
|
|
932
961
|
_headers=_headers,
|
|
@@ -952,13 +981,19 @@ class AlgorithmsApi:
|
|
|
952
981
|
@validate_call
|
|
953
982
|
async def read_algorithms_algorithms_get_with_http_info(
|
|
954
983
|
self,
|
|
984
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
955
985
|
latest: Optional[StrictBool] = None,
|
|
986
|
+
sort_by: Optional[StrictStr] = None,
|
|
987
|
+
page_number: Optional[StrictInt] = None,
|
|
988
|
+
items_per_page: Optional[StrictInt] = None,
|
|
956
989
|
id: Optional[StrictInt] = None,
|
|
957
990
|
project_id: Optional[StrictInt] = None,
|
|
958
991
|
type: Optional[AlgorithmType] = None,
|
|
959
992
|
shared: Optional[ShareType] = None,
|
|
960
993
|
link__isnull: Optional[StrictBool] = None,
|
|
961
994
|
link: Optional[StrictStr] = None,
|
|
995
|
+
name__isnull: Optional[StrictBool] = None,
|
|
996
|
+
name: Optional[StrictStr] = None,
|
|
962
997
|
_request_timeout: Union[
|
|
963
998
|
None,
|
|
964
999
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -976,8 +1011,16 @@ class AlgorithmsApi:
|
|
|
976
1011
|
|
|
977
1012
|
List algorithms.
|
|
978
1013
|
|
|
1014
|
+
:param search: Substring search for algorithm names
|
|
1015
|
+
:type search: str
|
|
979
1016
|
:param latest:
|
|
980
1017
|
:type latest: bool
|
|
1018
|
+
:param sort_by:
|
|
1019
|
+
:type sort_by: str
|
|
1020
|
+
:param page_number:
|
|
1021
|
+
:type page_number: int
|
|
1022
|
+
:param items_per_page:
|
|
1023
|
+
:type items_per_page: int
|
|
981
1024
|
:param id:
|
|
982
1025
|
:type id: int
|
|
983
1026
|
:param project_id:
|
|
@@ -990,6 +1033,10 @@ class AlgorithmsApi:
|
|
|
990
1033
|
:type link__isnull: bool
|
|
991
1034
|
:param link:
|
|
992
1035
|
:type link: str
|
|
1036
|
+
:param name__isnull:
|
|
1037
|
+
:type name__isnull: bool
|
|
1038
|
+
:param name:
|
|
1039
|
+
:type name: str
|
|
993
1040
|
:param _request_timeout: timeout setting for this request. If one
|
|
994
1041
|
number provided, it will be total request
|
|
995
1042
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1013,13 +1060,19 @@ class AlgorithmsApi:
|
|
|
1013
1060
|
""" # noqa: E501
|
|
1014
1061
|
|
|
1015
1062
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
1063
|
+
search=search,
|
|
1016
1064
|
latest=latest,
|
|
1065
|
+
sort_by=sort_by,
|
|
1066
|
+
page_number=page_number,
|
|
1067
|
+
items_per_page=items_per_page,
|
|
1017
1068
|
id=id,
|
|
1018
1069
|
project_id=project_id,
|
|
1019
1070
|
type=type,
|
|
1020
1071
|
shared=shared,
|
|
1021
1072
|
link__isnull=link__isnull,
|
|
1022
1073
|
link=link,
|
|
1074
|
+
name__isnull=name__isnull,
|
|
1075
|
+
name=name,
|
|
1023
1076
|
_request_auth=_request_auth,
|
|
1024
1077
|
_content_type=_content_type,
|
|
1025
1078
|
_headers=_headers,
|
|
@@ -1045,13 +1098,19 @@ class AlgorithmsApi:
|
|
|
1045
1098
|
@validate_call
|
|
1046
1099
|
async def read_algorithms_algorithms_get_without_preload_content(
|
|
1047
1100
|
self,
|
|
1101
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
1048
1102
|
latest: Optional[StrictBool] = None,
|
|
1103
|
+
sort_by: Optional[StrictStr] = None,
|
|
1104
|
+
page_number: Optional[StrictInt] = None,
|
|
1105
|
+
items_per_page: Optional[StrictInt] = None,
|
|
1049
1106
|
id: Optional[StrictInt] = None,
|
|
1050
1107
|
project_id: Optional[StrictInt] = None,
|
|
1051
1108
|
type: Optional[AlgorithmType] = None,
|
|
1052
1109
|
shared: Optional[ShareType] = None,
|
|
1053
1110
|
link__isnull: Optional[StrictBool] = None,
|
|
1054
1111
|
link: Optional[StrictStr] = None,
|
|
1112
|
+
name__isnull: Optional[StrictBool] = None,
|
|
1113
|
+
name: Optional[StrictStr] = None,
|
|
1055
1114
|
_request_timeout: Union[
|
|
1056
1115
|
None,
|
|
1057
1116
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1069,8 +1128,16 @@ class AlgorithmsApi:
|
|
|
1069
1128
|
|
|
1070
1129
|
List algorithms.
|
|
1071
1130
|
|
|
1131
|
+
:param search: Substring search for algorithm names
|
|
1132
|
+
:type search: str
|
|
1072
1133
|
:param latest:
|
|
1073
1134
|
:type latest: bool
|
|
1135
|
+
:param sort_by:
|
|
1136
|
+
:type sort_by: str
|
|
1137
|
+
:param page_number:
|
|
1138
|
+
:type page_number: int
|
|
1139
|
+
:param items_per_page:
|
|
1140
|
+
:type items_per_page: int
|
|
1074
1141
|
:param id:
|
|
1075
1142
|
:type id: int
|
|
1076
1143
|
:param project_id:
|
|
@@ -1083,6 +1150,10 @@ class AlgorithmsApi:
|
|
|
1083
1150
|
:type link__isnull: bool
|
|
1084
1151
|
:param link:
|
|
1085
1152
|
:type link: str
|
|
1153
|
+
:param name__isnull:
|
|
1154
|
+
:type name__isnull: bool
|
|
1155
|
+
:param name:
|
|
1156
|
+
:type name: str
|
|
1086
1157
|
:param _request_timeout: timeout setting for this request. If one
|
|
1087
1158
|
number provided, it will be total request
|
|
1088
1159
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1106,13 +1177,19 @@ class AlgorithmsApi:
|
|
|
1106
1177
|
""" # noqa: E501
|
|
1107
1178
|
|
|
1108
1179
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
1180
|
+
search=search,
|
|
1109
1181
|
latest=latest,
|
|
1182
|
+
sort_by=sort_by,
|
|
1183
|
+
page_number=page_number,
|
|
1184
|
+
items_per_page=items_per_page,
|
|
1110
1185
|
id=id,
|
|
1111
1186
|
project_id=project_id,
|
|
1112
1187
|
type=type,
|
|
1113
1188
|
shared=shared,
|
|
1114
1189
|
link__isnull=link__isnull,
|
|
1115
1190
|
link=link,
|
|
1191
|
+
name__isnull=name__isnull,
|
|
1192
|
+
name=name,
|
|
1116
1193
|
_request_auth=_request_auth,
|
|
1117
1194
|
_content_type=_content_type,
|
|
1118
1195
|
_headers=_headers,
|
|
@@ -1133,13 +1210,19 @@ class AlgorithmsApi:
|
|
|
1133
1210
|
|
|
1134
1211
|
def _read_algorithms_algorithms_get_serialize(
|
|
1135
1212
|
self,
|
|
1213
|
+
search,
|
|
1136
1214
|
latest,
|
|
1215
|
+
sort_by,
|
|
1216
|
+
page_number,
|
|
1217
|
+
items_per_page,
|
|
1137
1218
|
id,
|
|
1138
1219
|
project_id,
|
|
1139
1220
|
type,
|
|
1140
1221
|
shared,
|
|
1141
1222
|
link__isnull,
|
|
1142
1223
|
link,
|
|
1224
|
+
name__isnull,
|
|
1225
|
+
name,
|
|
1143
1226
|
_request_auth,
|
|
1144
1227
|
_content_type,
|
|
1145
1228
|
_headers,
|
|
@@ -1161,10 +1244,26 @@ class AlgorithmsApi:
|
|
|
1161
1244
|
|
|
1162
1245
|
# process the path parameters
|
|
1163
1246
|
# process the query parameters
|
|
1247
|
+
if search is not None:
|
|
1248
|
+
|
|
1249
|
+
_query_params.append(('search', search))
|
|
1250
|
+
|
|
1164
1251
|
if latest is not None:
|
|
1165
1252
|
|
|
1166
1253
|
_query_params.append(('latest', latest))
|
|
1167
1254
|
|
|
1255
|
+
if sort_by is not None:
|
|
1256
|
+
|
|
1257
|
+
_query_params.append(('sort_by', sort_by))
|
|
1258
|
+
|
|
1259
|
+
if page_number is not None:
|
|
1260
|
+
|
|
1261
|
+
_query_params.append(('page_number', page_number))
|
|
1262
|
+
|
|
1263
|
+
if items_per_page is not None:
|
|
1264
|
+
|
|
1265
|
+
_query_params.append(('items_per_page', items_per_page))
|
|
1266
|
+
|
|
1168
1267
|
if id is not None:
|
|
1169
1268
|
|
|
1170
1269
|
_query_params.append(('id', id))
|
|
@@ -1189,6 +1288,14 @@ class AlgorithmsApi:
|
|
|
1189
1288
|
|
|
1190
1289
|
_query_params.append(('link', link))
|
|
1191
1290
|
|
|
1291
|
+
if name__isnull is not None:
|
|
1292
|
+
|
|
1293
|
+
_query_params.append(('name__isnull', name__isnull))
|
|
1294
|
+
|
|
1295
|
+
if name is not None:
|
|
1296
|
+
|
|
1297
|
+
_query_params.append(('name', name))
|
|
1298
|
+
|
|
1192
1299
|
# process the header parameters
|
|
1193
1300
|
# process the form parameters
|
|
1194
1301
|
# process the body parameter
|
|
@@ -1204,6 +1311,7 @@ class AlgorithmsApi:
|
|
|
1204
1311
|
|
|
1205
1312
|
# authentication setting
|
|
1206
1313
|
_auth_settings: List[str] = [
|
|
1314
|
+
'user_bearer',
|
|
1207
1315
|
'user'
|
|
1208
1316
|
]
|
|
1209
1317
|
|
|
@@ -1500,6 +1608,7 @@ class AlgorithmsApi:
|
|
|
1500
1608
|
|
|
1501
1609
|
# authentication setting
|
|
1502
1610
|
_auth_settings: List[str] = [
|
|
1611
|
+
'user_bearer',
|
|
1503
1612
|
'user'
|
|
1504
1613
|
]
|
|
1505
1614
|
|