qi-compute-api-client 0.21.0__tar.gz → 0.31.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.21.0 → qi_compute_api_client-0.31.0}/PKG-INFO +12 -13
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/README.md +9 -10
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/__init__.py +1 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/algorithms_api.py +25 -23
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/backend_api.py +19 -18
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/backend_types_api.py +54 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/batch_jobs_api.py +5 -22
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/commits_api.py +5 -5
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/files_api.py +5 -5
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/final_results_api.py +4 -4
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/jobs_api.py +8 -8
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/languages_api.py +2 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/members_api.py +4 -21
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/metadata_api.py +2 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/permissions_api.py +4 -4
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/projects_api.py +28 -9
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/reservations_api.py +4 -4
- qi_compute_api_client-0.31.0/compute_api_client/api/results_api.py +1683 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/teams_api.py +2 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/transactions_api.py +32 -32
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/users_api.py +21 -4
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/configuration.py +5 -7
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/AlgorithmIn.md +1 -1
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/AlgorithmsApi.md +20 -40
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BackendApi.md +14 -26
- qi_compute_api_client-0.31.0/compute_api_client/docs/BackendIn.md +32 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BackendType.md +3 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BackendTypesApi.md +15 -16
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BatchJobIn.md +0 -1
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BatchJobsApi.md +15 -33
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/CommitsApi.md +13 -29
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/FilesApi.md +13 -29
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/FinalResultsApi.md +10 -22
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/JobIn.md +0 -1
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/JobsApi.md +18 -38
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/LanguagesApi.md +6 -14
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/MembersApi.md +14 -32
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/MetadataApi.md +6 -14
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/PermissionsApi.md +12 -28
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ProjectsApi.md +23 -45
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ReservationsApi.md +12 -28
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ResultsApi.md +115 -14
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/TeamsApi.md +6 -14
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Transaction.md +1 -1
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/TransactionsApi.md +12 -20
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/User.md +1 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/UserIn.md +1 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/UsersApi.md +16 -30
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/__init__.py +1 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/algorithm.py +1 -6
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/algorithm_in.py +1 -6
- qi_compute_api_client-0.31.0/compute_api_client/models/backend_in.py +98 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/backend_type.py +9 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/batch_job_in.py +1 -3
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/job_in.py +1 -4
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/transaction.py +6 -6
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/user.py +4 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/user_in.py +4 -2
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/pyproject.toml +4 -3
- qi_compute_api_client-0.21.0/compute_api_client/api/results_api.py +0 -1121
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/LICENSE.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/__init__.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api_client.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api_response.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Algorithm.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/AlgorithmType.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Backend.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BackendPatch.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BackendStatus.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BackendWithAuthentication.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BatchJob.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/BatchJobStatus.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Commit.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/CommitIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/CompileStage.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Domain.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/File.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/FileIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/FinalResult.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/FinalResultIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/HTTPNotFoundError.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/HTTPValidationError.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Job.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/JobPatch.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/JobStatus.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Language.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/LocationInner.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Member.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/MemberIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Metadata.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/MetadataIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Permission.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/PermissionGroup.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Project.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ProjectIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ProjectPatch.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Reservation.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ReservationIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Result.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ResultIn.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Role.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ShareType.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/Team.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/docs/ValidationError.md +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/exceptions.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/algorithm_type.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/backend.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/backend_patch.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/backend_status.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/backend_with_authentication.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/batch_job.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/batch_job_status.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/commit.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/commit_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/compile_stage.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/domain.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/file.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/file_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/final_result.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/final_result_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/http_not_found_error.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/http_validation_error.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/job.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/job_patch.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/job_status.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/language.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/location_inner.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/member.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/member_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/metadata.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/metadata_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/permission.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/permission_group.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/project.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/project_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/project_patch.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/reservation.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/reservation_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/result.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/result_in.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/role.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/share_type.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/team.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/models/validation_error.py +0 -0
- {qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/rest.py +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qi-compute-api-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.31.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
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Requires-Dist: aiohttp (>=3.8.1,<4.0.0)
|
|
19
19
|
Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
|
|
20
20
|
Requires-Dist: urllib3 (>=1.25.3,<2.0.0)
|
|
@@ -68,11 +68,7 @@ configuration = compute_api_client.Configuration(
|
|
|
68
68
|
# Examples for each auth method are provided below, use the example that
|
|
69
69
|
# satisfies your auth use case.
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
73
|
-
|
|
74
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
75
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
71
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
76
72
|
|
|
77
73
|
|
|
78
74
|
# Enter a context with an instance of the API client
|
|
@@ -158,6 +154,7 @@ Class | Method | HTTP request | Description
|
|
|
158
154
|
*ResultsApi* | [**create_result_results_post**](compute_api_client/docs/ResultsApi.md#create_result_results_post) | **POST** /results | Create result
|
|
159
155
|
*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
|
|
160
156
|
*ResultsApi* | [**read_result_results_id_get**](compute_api_client/docs/ResultsApi.md#read_result_results_id_get) | **GET** /results/{id} | Retrieve result
|
|
157
|
+
*ResultsApi* | [**read_results_by_algorithm_id_results_algorithm_algorithm_id_get**](compute_api_client/docs/ResultsApi.md#read_results_by_algorithm_id_results_algorithm_algorithm_id_get) | **GET** /results/algorithm/{algorithm_id} | Retrieve results by algorithm ID
|
|
161
158
|
*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
|
|
162
159
|
*TeamsApi* | [**read_team_teams_id_get**](compute_api_client/docs/TeamsApi.md#read_team_teams_id_get) | **GET** /teams/{id} | Retrieve teams
|
|
163
160
|
*TeamsApi* | [**read_teams_teams_get**](compute_api_client/docs/TeamsApi.md#read_teams_teams_get) | **GET** /teams/ | List teams
|
|
@@ -175,6 +172,7 @@ Class | Method | HTTP request | Description
|
|
|
175
172
|
- [AlgorithmIn](compute_api_client/docs/AlgorithmIn.md)
|
|
176
173
|
- [AlgorithmType](compute_api_client/docs/AlgorithmType.md)
|
|
177
174
|
- [Backend](compute_api_client/docs/Backend.md)
|
|
175
|
+
- [BackendIn](compute_api_client/docs/BackendIn.md)
|
|
178
176
|
- [BackendPatch](compute_api_client/docs/BackendPatch.md)
|
|
179
177
|
- [BackendStatus](compute_api_client/docs/BackendStatus.md)
|
|
180
178
|
- [BackendType](compute_api_client/docs/BackendType.md)
|
|
@@ -225,12 +223,13 @@ Class | Method | HTTP request | Description
|
|
|
225
223
|
|
|
226
224
|
|
|
227
225
|
Authentication schemes defined for the API:
|
|
228
|
-
<a id="
|
|
229
|
-
###
|
|
226
|
+
<a id="user_bearer"></a>
|
|
227
|
+
### user_bearer
|
|
230
228
|
|
|
231
|
-
- **Type**:
|
|
232
|
-
- **
|
|
233
|
-
- **
|
|
229
|
+
- **Type**: OAuth
|
|
230
|
+
- **Flow**: accessCode
|
|
231
|
+
- **Authorization URL**: https://auth.qi2.quantum-inspire.com/realms/oidc_staging/protocol/openid-connect/auth
|
|
232
|
+
- **Scopes**: N/A
|
|
234
233
|
|
|
235
234
|
<a id="backend"></a>
|
|
236
235
|
### backend
|
|
@@ -45,11 +45,7 @@ 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
|
-
|
|
49
|
-
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
50
|
-
|
|
51
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
52
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
48
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
53
49
|
|
|
54
50
|
|
|
55
51
|
# Enter a context with an instance of the API client
|
|
@@ -135,6 +131,7 @@ Class | Method | HTTP request | Description
|
|
|
135
131
|
*ResultsApi* | [**create_result_results_post**](compute_api_client/docs/ResultsApi.md#create_result_results_post) | **POST** /results | Create result
|
|
136
132
|
*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
|
|
137
133
|
*ResultsApi* | [**read_result_results_id_get**](compute_api_client/docs/ResultsApi.md#read_result_results_id_get) | **GET** /results/{id} | Retrieve result
|
|
134
|
+
*ResultsApi* | [**read_results_by_algorithm_id_results_algorithm_algorithm_id_get**](compute_api_client/docs/ResultsApi.md#read_results_by_algorithm_id_results_algorithm_algorithm_id_get) | **GET** /results/algorithm/{algorithm_id} | Retrieve results by algorithm ID
|
|
138
135
|
*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
|
|
139
136
|
*TeamsApi* | [**read_team_teams_id_get**](compute_api_client/docs/TeamsApi.md#read_team_teams_id_get) | **GET** /teams/{id} | Retrieve teams
|
|
140
137
|
*TeamsApi* | [**read_teams_teams_get**](compute_api_client/docs/TeamsApi.md#read_teams_teams_get) | **GET** /teams/ | List teams
|
|
@@ -152,6 +149,7 @@ Class | Method | HTTP request | Description
|
|
|
152
149
|
- [AlgorithmIn](compute_api_client/docs/AlgorithmIn.md)
|
|
153
150
|
- [AlgorithmType](compute_api_client/docs/AlgorithmType.md)
|
|
154
151
|
- [Backend](compute_api_client/docs/Backend.md)
|
|
152
|
+
- [BackendIn](compute_api_client/docs/BackendIn.md)
|
|
155
153
|
- [BackendPatch](compute_api_client/docs/BackendPatch.md)
|
|
156
154
|
- [BackendStatus](compute_api_client/docs/BackendStatus.md)
|
|
157
155
|
- [BackendType](compute_api_client/docs/BackendType.md)
|
|
@@ -202,12 +200,13 @@ Class | Method | HTTP request | Description
|
|
|
202
200
|
|
|
203
201
|
|
|
204
202
|
Authentication schemes defined for the API:
|
|
205
|
-
<a id="
|
|
206
|
-
###
|
|
203
|
+
<a id="user_bearer"></a>
|
|
204
|
+
### user_bearer
|
|
207
205
|
|
|
208
|
-
- **Type**:
|
|
209
|
-
- **
|
|
210
|
-
- **
|
|
206
|
+
- **Type**: OAuth
|
|
207
|
+
- **Flow**: accessCode
|
|
208
|
+
- **Authorization URL**: https://auth.qi2.quantum-inspire.com/realms/oidc_staging/protocol/openid-connect/auth
|
|
209
|
+
- **Scopes**: N/A
|
|
211
210
|
|
|
212
211
|
<a id="backend"></a>
|
|
213
212
|
### backend
|
{qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/__init__.py
RENAMED
|
@@ -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
|
|
@@ -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,7 +309,7 @@ class AlgorithmsApi:
|
|
|
307
309
|
|
|
308
310
|
# authentication setting
|
|
309
311
|
_auth_settings: List[str] = [
|
|
310
|
-
'
|
|
312
|
+
'user_bearer'
|
|
311
313
|
]
|
|
312
314
|
|
|
313
315
|
return self.api_client.param_serialize(
|
|
@@ -566,7 +568,7 @@ class AlgorithmsApi:
|
|
|
566
568
|
|
|
567
569
|
# authentication setting
|
|
568
570
|
_auth_settings: List[str] = [
|
|
569
|
-
'
|
|
571
|
+
'user_bearer'
|
|
570
572
|
]
|
|
571
573
|
|
|
572
574
|
return self.api_client.param_serialize(
|
|
@@ -834,8 +836,8 @@ class AlgorithmsApi:
|
|
|
834
836
|
|
|
835
837
|
# authentication setting
|
|
836
838
|
_auth_settings: List[str] = [
|
|
837
|
-
'
|
|
838
|
-
'
|
|
839
|
+
'user_bearer',
|
|
840
|
+
'backend'
|
|
839
841
|
]
|
|
840
842
|
|
|
841
843
|
return self.api_client.param_serialize(
|
|
@@ -859,6 +861,7 @@ class AlgorithmsApi:
|
|
|
859
861
|
@validate_call
|
|
860
862
|
async def read_algorithms_algorithms_get(
|
|
861
863
|
self,
|
|
864
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
862
865
|
latest: Optional[StrictBool] = None,
|
|
863
866
|
sort_by: Optional[StrictStr] = None,
|
|
864
867
|
page_number: Optional[StrictInt] = None,
|
|
@@ -869,7 +872,6 @@ class AlgorithmsApi:
|
|
|
869
872
|
shared: Optional[ShareType] = None,
|
|
870
873
|
link__isnull: Optional[StrictBool] = None,
|
|
871
874
|
link: Optional[StrictStr] = None,
|
|
872
|
-
name__isnull: Optional[StrictBool] = None,
|
|
873
875
|
name: Optional[StrictStr] = None,
|
|
874
876
|
_request_timeout: Union[
|
|
875
877
|
None,
|
|
@@ -888,6 +890,8 @@ class AlgorithmsApi:
|
|
|
888
890
|
|
|
889
891
|
List algorithms.
|
|
890
892
|
|
|
893
|
+
:param search: Substring search for algorithm names
|
|
894
|
+
:type search: str
|
|
891
895
|
:param latest:
|
|
892
896
|
:type latest: bool
|
|
893
897
|
:param sort_by:
|
|
@@ -908,8 +912,6 @@ class AlgorithmsApi:
|
|
|
908
912
|
:type link__isnull: bool
|
|
909
913
|
:param link:
|
|
910
914
|
:type link: str
|
|
911
|
-
:param name__isnull:
|
|
912
|
-
:type name__isnull: bool
|
|
913
915
|
:param name:
|
|
914
916
|
:type name: str
|
|
915
917
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -935,6 +937,7 @@ class AlgorithmsApi:
|
|
|
935
937
|
""" # noqa: E501
|
|
936
938
|
|
|
937
939
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
940
|
+
search=search,
|
|
938
941
|
latest=latest,
|
|
939
942
|
sort_by=sort_by,
|
|
940
943
|
page_number=page_number,
|
|
@@ -945,7 +948,6 @@ class AlgorithmsApi:
|
|
|
945
948
|
shared=shared,
|
|
946
949
|
link__isnull=link__isnull,
|
|
947
950
|
link=link,
|
|
948
|
-
name__isnull=name__isnull,
|
|
949
951
|
name=name,
|
|
950
952
|
_request_auth=_request_auth,
|
|
951
953
|
_content_type=_content_type,
|
|
@@ -972,6 +974,7 @@ class AlgorithmsApi:
|
|
|
972
974
|
@validate_call
|
|
973
975
|
async def read_algorithms_algorithms_get_with_http_info(
|
|
974
976
|
self,
|
|
977
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
975
978
|
latest: Optional[StrictBool] = None,
|
|
976
979
|
sort_by: Optional[StrictStr] = None,
|
|
977
980
|
page_number: Optional[StrictInt] = None,
|
|
@@ -982,7 +985,6 @@ class AlgorithmsApi:
|
|
|
982
985
|
shared: Optional[ShareType] = None,
|
|
983
986
|
link__isnull: Optional[StrictBool] = None,
|
|
984
987
|
link: Optional[StrictStr] = None,
|
|
985
|
-
name__isnull: Optional[StrictBool] = None,
|
|
986
988
|
name: Optional[StrictStr] = None,
|
|
987
989
|
_request_timeout: Union[
|
|
988
990
|
None,
|
|
@@ -1001,6 +1003,8 @@ class AlgorithmsApi:
|
|
|
1001
1003
|
|
|
1002
1004
|
List algorithms.
|
|
1003
1005
|
|
|
1006
|
+
:param search: Substring search for algorithm names
|
|
1007
|
+
:type search: str
|
|
1004
1008
|
:param latest:
|
|
1005
1009
|
:type latest: bool
|
|
1006
1010
|
:param sort_by:
|
|
@@ -1021,8 +1025,6 @@ class AlgorithmsApi:
|
|
|
1021
1025
|
:type link__isnull: bool
|
|
1022
1026
|
:param link:
|
|
1023
1027
|
:type link: str
|
|
1024
|
-
:param name__isnull:
|
|
1025
|
-
:type name__isnull: bool
|
|
1026
1028
|
:param name:
|
|
1027
1029
|
:type name: str
|
|
1028
1030
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1048,6 +1050,7 @@ class AlgorithmsApi:
|
|
|
1048
1050
|
""" # noqa: E501
|
|
1049
1051
|
|
|
1050
1052
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
1053
|
+
search=search,
|
|
1051
1054
|
latest=latest,
|
|
1052
1055
|
sort_by=sort_by,
|
|
1053
1056
|
page_number=page_number,
|
|
@@ -1058,7 +1061,6 @@ class AlgorithmsApi:
|
|
|
1058
1061
|
shared=shared,
|
|
1059
1062
|
link__isnull=link__isnull,
|
|
1060
1063
|
link=link,
|
|
1061
|
-
name__isnull=name__isnull,
|
|
1062
1064
|
name=name,
|
|
1063
1065
|
_request_auth=_request_auth,
|
|
1064
1066
|
_content_type=_content_type,
|
|
@@ -1085,6 +1087,7 @@ class AlgorithmsApi:
|
|
|
1085
1087
|
@validate_call
|
|
1086
1088
|
async def read_algorithms_algorithms_get_without_preload_content(
|
|
1087
1089
|
self,
|
|
1090
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for algorithm names")] = None,
|
|
1088
1091
|
latest: Optional[StrictBool] = None,
|
|
1089
1092
|
sort_by: Optional[StrictStr] = None,
|
|
1090
1093
|
page_number: Optional[StrictInt] = None,
|
|
@@ -1095,7 +1098,6 @@ class AlgorithmsApi:
|
|
|
1095
1098
|
shared: Optional[ShareType] = None,
|
|
1096
1099
|
link__isnull: Optional[StrictBool] = None,
|
|
1097
1100
|
link: Optional[StrictStr] = None,
|
|
1098
|
-
name__isnull: Optional[StrictBool] = None,
|
|
1099
1101
|
name: Optional[StrictStr] = None,
|
|
1100
1102
|
_request_timeout: Union[
|
|
1101
1103
|
None,
|
|
@@ -1114,6 +1116,8 @@ class AlgorithmsApi:
|
|
|
1114
1116
|
|
|
1115
1117
|
List algorithms.
|
|
1116
1118
|
|
|
1119
|
+
:param search: Substring search for algorithm names
|
|
1120
|
+
:type search: str
|
|
1117
1121
|
:param latest:
|
|
1118
1122
|
:type latest: bool
|
|
1119
1123
|
:param sort_by:
|
|
@@ -1134,8 +1138,6 @@ class AlgorithmsApi:
|
|
|
1134
1138
|
:type link__isnull: bool
|
|
1135
1139
|
:param link:
|
|
1136
1140
|
:type link: str
|
|
1137
|
-
:param name__isnull:
|
|
1138
|
-
:type name__isnull: bool
|
|
1139
1141
|
:param name:
|
|
1140
1142
|
:type name: str
|
|
1141
1143
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1161,6 +1163,7 @@ class AlgorithmsApi:
|
|
|
1161
1163
|
""" # noqa: E501
|
|
1162
1164
|
|
|
1163
1165
|
_param = self._read_algorithms_algorithms_get_serialize(
|
|
1166
|
+
search=search,
|
|
1164
1167
|
latest=latest,
|
|
1165
1168
|
sort_by=sort_by,
|
|
1166
1169
|
page_number=page_number,
|
|
@@ -1171,7 +1174,6 @@ class AlgorithmsApi:
|
|
|
1171
1174
|
shared=shared,
|
|
1172
1175
|
link__isnull=link__isnull,
|
|
1173
1176
|
link=link,
|
|
1174
|
-
name__isnull=name__isnull,
|
|
1175
1177
|
name=name,
|
|
1176
1178
|
_request_auth=_request_auth,
|
|
1177
1179
|
_content_type=_content_type,
|
|
@@ -1193,6 +1195,7 @@ class AlgorithmsApi:
|
|
|
1193
1195
|
|
|
1194
1196
|
def _read_algorithms_algorithms_get_serialize(
|
|
1195
1197
|
self,
|
|
1198
|
+
search,
|
|
1196
1199
|
latest,
|
|
1197
1200
|
sort_by,
|
|
1198
1201
|
page_number,
|
|
@@ -1203,7 +1206,6 @@ class AlgorithmsApi:
|
|
|
1203
1206
|
shared,
|
|
1204
1207
|
link__isnull,
|
|
1205
1208
|
link,
|
|
1206
|
-
name__isnull,
|
|
1207
1209
|
name,
|
|
1208
1210
|
_request_auth,
|
|
1209
1211
|
_content_type,
|
|
@@ -1226,6 +1228,10 @@ class AlgorithmsApi:
|
|
|
1226
1228
|
|
|
1227
1229
|
# process the path parameters
|
|
1228
1230
|
# process the query parameters
|
|
1231
|
+
if search is not None:
|
|
1232
|
+
|
|
1233
|
+
_query_params.append(('search', search))
|
|
1234
|
+
|
|
1229
1235
|
if latest is not None:
|
|
1230
1236
|
|
|
1231
1237
|
_query_params.append(('latest', latest))
|
|
@@ -1266,10 +1272,6 @@ class AlgorithmsApi:
|
|
|
1266
1272
|
|
|
1267
1273
|
_query_params.append(('link', link))
|
|
1268
1274
|
|
|
1269
|
-
if name__isnull is not None:
|
|
1270
|
-
|
|
1271
|
-
_query_params.append(('name__isnull', name__isnull))
|
|
1272
|
-
|
|
1273
1275
|
if name is not None:
|
|
1274
1276
|
|
|
1275
1277
|
_query_params.append(('name', name))
|
|
@@ -1289,7 +1291,7 @@ class AlgorithmsApi:
|
|
|
1289
1291
|
|
|
1290
1292
|
# authentication setting
|
|
1291
1293
|
_auth_settings: List[str] = [
|
|
1292
|
-
'
|
|
1294
|
+
'user_bearer'
|
|
1293
1295
|
]
|
|
1294
1296
|
|
|
1295
1297
|
return self.api_client.param_serialize(
|
|
@@ -1585,7 +1587,7 @@ class AlgorithmsApi:
|
|
|
1585
1587
|
|
|
1586
1588
|
# authentication setting
|
|
1587
1589
|
_auth_settings: List[str] = [
|
|
1588
|
-
'
|
|
1590
|
+
'user_bearer'
|
|
1589
1591
|
]
|
|
1590
1592
|
|
|
1591
1593
|
return self.api_client.param_serialize(
|
{qi_compute_api_client-0.21.0 → qi_compute_api_client-0.31.0}/compute_api_client/api/backend_api.py
RENAMED
|
@@ -30,6 +30,7 @@ from pydantic import StrictBool, StrictInt, StrictStr
|
|
|
30
30
|
from typing import List, Optional
|
|
31
31
|
|
|
32
32
|
from compute_api_client.models.backend import Backend
|
|
33
|
+
from compute_api_client.models.backend_in import BackendIn
|
|
33
34
|
from compute_api_client.models.backend_patch import BackendPatch
|
|
34
35
|
from compute_api_client.models.backend_status import BackendStatus
|
|
35
36
|
from compute_api_client.models.backend_with_authentication import BackendWithAuthentication
|
|
@@ -55,7 +56,7 @@ class BackendApi:
|
|
|
55
56
|
@validate_call
|
|
56
57
|
async def create_backend_backends_post(
|
|
57
58
|
self,
|
|
58
|
-
|
|
59
|
+
backend_in: BackendIn,
|
|
59
60
|
_request_timeout: Union[
|
|
60
61
|
None,
|
|
61
62
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -73,8 +74,8 @@ class BackendApi:
|
|
|
73
74
|
|
|
74
75
|
Create new backend.
|
|
75
76
|
|
|
76
|
-
:param
|
|
77
|
-
:type
|
|
77
|
+
:param backend_in: (required)
|
|
78
|
+
:type backend_in: BackendIn
|
|
78
79
|
:param _request_timeout: timeout setting for this request. If one
|
|
79
80
|
number provided, it will be total request
|
|
80
81
|
timeout. It can also be a pair (tuple) of
|
|
@@ -98,7 +99,7 @@ class BackendApi:
|
|
|
98
99
|
""" # noqa: E501
|
|
99
100
|
|
|
100
101
|
_param = self._create_backend_backends_post_serialize(
|
|
101
|
-
|
|
102
|
+
backend_in=backend_in,
|
|
102
103
|
_request_auth=_request_auth,
|
|
103
104
|
_content_type=_content_type,
|
|
104
105
|
_headers=_headers,
|
|
@@ -124,7 +125,7 @@ class BackendApi:
|
|
|
124
125
|
@validate_call
|
|
125
126
|
async def create_backend_backends_post_with_http_info(
|
|
126
127
|
self,
|
|
127
|
-
|
|
128
|
+
backend_in: BackendIn,
|
|
128
129
|
_request_timeout: Union[
|
|
129
130
|
None,
|
|
130
131
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -142,8 +143,8 @@ class BackendApi:
|
|
|
142
143
|
|
|
143
144
|
Create new backend.
|
|
144
145
|
|
|
145
|
-
:param
|
|
146
|
-
:type
|
|
146
|
+
:param backend_in: (required)
|
|
147
|
+
:type backend_in: BackendIn
|
|
147
148
|
:param _request_timeout: timeout setting for this request. If one
|
|
148
149
|
number provided, it will be total request
|
|
149
150
|
timeout. It can also be a pair (tuple) of
|
|
@@ -167,7 +168,7 @@ class BackendApi:
|
|
|
167
168
|
""" # noqa: E501
|
|
168
169
|
|
|
169
170
|
_param = self._create_backend_backends_post_serialize(
|
|
170
|
-
|
|
171
|
+
backend_in=backend_in,
|
|
171
172
|
_request_auth=_request_auth,
|
|
172
173
|
_content_type=_content_type,
|
|
173
174
|
_headers=_headers,
|
|
@@ -193,7 +194,7 @@ class BackendApi:
|
|
|
193
194
|
@validate_call
|
|
194
195
|
async def create_backend_backends_post_without_preload_content(
|
|
195
196
|
self,
|
|
196
|
-
|
|
197
|
+
backend_in: BackendIn,
|
|
197
198
|
_request_timeout: Union[
|
|
198
199
|
None,
|
|
199
200
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -211,8 +212,8 @@ class BackendApi:
|
|
|
211
212
|
|
|
212
213
|
Create new backend.
|
|
213
214
|
|
|
214
|
-
:param
|
|
215
|
-
:type
|
|
215
|
+
:param backend_in: (required)
|
|
216
|
+
:type backend_in: BackendIn
|
|
216
217
|
:param _request_timeout: timeout setting for this request. If one
|
|
217
218
|
number provided, it will be total request
|
|
218
219
|
timeout. It can also be a pair (tuple) of
|
|
@@ -236,7 +237,7 @@ class BackendApi:
|
|
|
236
237
|
""" # noqa: E501
|
|
237
238
|
|
|
238
239
|
_param = self._create_backend_backends_post_serialize(
|
|
239
|
-
|
|
240
|
+
backend_in=backend_in,
|
|
240
241
|
_request_auth=_request_auth,
|
|
241
242
|
_content_type=_content_type,
|
|
242
243
|
_headers=_headers,
|
|
@@ -257,7 +258,7 @@ class BackendApi:
|
|
|
257
258
|
|
|
258
259
|
def _create_backend_backends_post_serialize(
|
|
259
260
|
self,
|
|
260
|
-
|
|
261
|
+
backend_in,
|
|
261
262
|
_request_auth,
|
|
262
263
|
_content_type,
|
|
263
264
|
_headers,
|
|
@@ -282,8 +283,8 @@ class BackendApi:
|
|
|
282
283
|
# process the header parameters
|
|
283
284
|
# process the form parameters
|
|
284
285
|
# process the body parameter
|
|
285
|
-
if
|
|
286
|
-
_body_params =
|
|
286
|
+
if backend_in is not None:
|
|
287
|
+
_body_params = backend_in
|
|
287
288
|
|
|
288
289
|
|
|
289
290
|
# set the HTTP header `Accept`
|
|
@@ -309,7 +310,7 @@ class BackendApi:
|
|
|
309
310
|
|
|
310
311
|
# authentication setting
|
|
311
312
|
_auth_settings: List[str] = [
|
|
312
|
-
'
|
|
313
|
+
'user_bearer'
|
|
313
314
|
]
|
|
314
315
|
|
|
315
316
|
return self.api_client.param_serialize(
|
|
@@ -577,7 +578,7 @@ class BackendApi:
|
|
|
577
578
|
|
|
578
579
|
# authentication setting
|
|
579
580
|
_auth_settings: List[str] = [
|
|
580
|
-
'
|
|
581
|
+
'user_bearer'
|
|
581
582
|
]
|
|
582
583
|
|
|
583
584
|
return self.api_client.param_serialize(
|
|
@@ -1253,7 +1254,7 @@ class BackendApi:
|
|
|
1253
1254
|
|
|
1254
1255
|
# authentication setting
|
|
1255
1256
|
_auth_settings: List[str] = [
|
|
1256
|
-
'
|
|
1257
|
+
'user_bearer'
|
|
1257
1258
|
]
|
|
1258
1259
|
|
|
1259
1260
|
return self.api_client.param_serialize(
|
|
@@ -27,6 +27,7 @@ from pydantic import StrictBool, StrictInt, StrictStr
|
|
|
27
27
|
|
|
28
28
|
from typing import List, Optional
|
|
29
29
|
|
|
30
|
+
from compute_api_client.models.backend_status import BackendStatus
|
|
30
31
|
from compute_api_client.models.backend_type import BackendType
|
|
31
32
|
|
|
32
33
|
from compute_api_client.api_client import ApiClient
|
|
@@ -294,7 +295,7 @@ class BackendTypesApi:
|
|
|
294
295
|
|
|
295
296
|
# authentication setting
|
|
296
297
|
_auth_settings: List[str] = [
|
|
297
|
-
'
|
|
298
|
+
'user_bearer'
|
|
298
299
|
]
|
|
299
300
|
|
|
300
301
|
return self.api_client.param_serialize(
|
|
@@ -328,6 +329,9 @@ class BackendTypesApi:
|
|
|
328
329
|
description: Optional[StrictStr] = None,
|
|
329
330
|
image_id: Optional[StrictStr] = None,
|
|
330
331
|
is_hardware: Optional[StrictBool] = None,
|
|
332
|
+
status: Optional[BackendStatus] = None,
|
|
333
|
+
default_number_of_shots: Optional[StrictInt] = None,
|
|
334
|
+
max_number_of_shots: Optional[StrictInt] = None,
|
|
331
335
|
_request_timeout: Union[
|
|
332
336
|
None,
|
|
333
337
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -365,6 +369,12 @@ class BackendTypesApi:
|
|
|
365
369
|
:type image_id: str
|
|
366
370
|
:param is_hardware:
|
|
367
371
|
:type is_hardware: bool
|
|
372
|
+
:param status:
|
|
373
|
+
:type status: BackendStatus
|
|
374
|
+
:param default_number_of_shots:
|
|
375
|
+
:type default_number_of_shots: int
|
|
376
|
+
:param max_number_of_shots:
|
|
377
|
+
:type max_number_of_shots: int
|
|
368
378
|
:param _request_timeout: timeout setting for this request. If one
|
|
369
379
|
number provided, it will be total request
|
|
370
380
|
timeout. It can also be a pair (tuple) of
|
|
@@ -398,6 +408,9 @@ class BackendTypesApi:
|
|
|
398
408
|
description=description,
|
|
399
409
|
image_id=image_id,
|
|
400
410
|
is_hardware=is_hardware,
|
|
411
|
+
status=status,
|
|
412
|
+
default_number_of_shots=default_number_of_shots,
|
|
413
|
+
max_number_of_shots=max_number_of_shots,
|
|
401
414
|
_request_auth=_request_auth,
|
|
402
415
|
_content_type=_content_type,
|
|
403
416
|
_headers=_headers,
|
|
@@ -433,6 +446,9 @@ class BackendTypesApi:
|
|
|
433
446
|
description: Optional[StrictStr] = None,
|
|
434
447
|
image_id: Optional[StrictStr] = None,
|
|
435
448
|
is_hardware: Optional[StrictBool] = None,
|
|
449
|
+
status: Optional[BackendStatus] = None,
|
|
450
|
+
default_number_of_shots: Optional[StrictInt] = None,
|
|
451
|
+
max_number_of_shots: Optional[StrictInt] = None,
|
|
436
452
|
_request_timeout: Union[
|
|
437
453
|
None,
|
|
438
454
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -470,6 +486,12 @@ class BackendTypesApi:
|
|
|
470
486
|
:type image_id: str
|
|
471
487
|
:param is_hardware:
|
|
472
488
|
:type is_hardware: bool
|
|
489
|
+
:param status:
|
|
490
|
+
:type status: BackendStatus
|
|
491
|
+
:param default_number_of_shots:
|
|
492
|
+
:type default_number_of_shots: int
|
|
493
|
+
:param max_number_of_shots:
|
|
494
|
+
:type max_number_of_shots: int
|
|
473
495
|
:param _request_timeout: timeout setting for this request. If one
|
|
474
496
|
number provided, it will be total request
|
|
475
497
|
timeout. It can also be a pair (tuple) of
|
|
@@ -503,6 +525,9 @@ class BackendTypesApi:
|
|
|
503
525
|
description=description,
|
|
504
526
|
image_id=image_id,
|
|
505
527
|
is_hardware=is_hardware,
|
|
528
|
+
status=status,
|
|
529
|
+
default_number_of_shots=default_number_of_shots,
|
|
530
|
+
max_number_of_shots=max_number_of_shots,
|
|
506
531
|
_request_auth=_request_auth,
|
|
507
532
|
_content_type=_content_type,
|
|
508
533
|
_headers=_headers,
|
|
@@ -538,6 +563,9 @@ class BackendTypesApi:
|
|
|
538
563
|
description: Optional[StrictStr] = None,
|
|
539
564
|
image_id: Optional[StrictStr] = None,
|
|
540
565
|
is_hardware: Optional[StrictBool] = None,
|
|
566
|
+
status: Optional[BackendStatus] = None,
|
|
567
|
+
default_number_of_shots: Optional[StrictInt] = None,
|
|
568
|
+
max_number_of_shots: Optional[StrictInt] = None,
|
|
541
569
|
_request_timeout: Union[
|
|
542
570
|
None,
|
|
543
571
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -575,6 +603,12 @@ class BackendTypesApi:
|
|
|
575
603
|
:type image_id: str
|
|
576
604
|
:param is_hardware:
|
|
577
605
|
:type is_hardware: bool
|
|
606
|
+
:param status:
|
|
607
|
+
:type status: BackendStatus
|
|
608
|
+
:param default_number_of_shots:
|
|
609
|
+
:type default_number_of_shots: int
|
|
610
|
+
:param max_number_of_shots:
|
|
611
|
+
:type max_number_of_shots: int
|
|
578
612
|
:param _request_timeout: timeout setting for this request. If one
|
|
579
613
|
number provided, it will be total request
|
|
580
614
|
timeout. It can also be a pair (tuple) of
|
|
@@ -608,6 +642,9 @@ class BackendTypesApi:
|
|
|
608
642
|
description=description,
|
|
609
643
|
image_id=image_id,
|
|
610
644
|
is_hardware=is_hardware,
|
|
645
|
+
status=status,
|
|
646
|
+
default_number_of_shots=default_number_of_shots,
|
|
647
|
+
max_number_of_shots=max_number_of_shots,
|
|
611
648
|
_request_auth=_request_auth,
|
|
612
649
|
_content_type=_content_type,
|
|
613
650
|
_headers=_headers,
|
|
@@ -638,6 +675,9 @@ class BackendTypesApi:
|
|
|
638
675
|
description,
|
|
639
676
|
image_id,
|
|
640
677
|
is_hardware,
|
|
678
|
+
status,
|
|
679
|
+
default_number_of_shots,
|
|
680
|
+
max_number_of_shots,
|
|
641
681
|
_request_auth,
|
|
642
682
|
_content_type,
|
|
643
683
|
_headers,
|
|
@@ -699,6 +739,18 @@ class BackendTypesApi:
|
|
|
699
739
|
|
|
700
740
|
_query_params.append(('is_hardware', is_hardware))
|
|
701
741
|
|
|
742
|
+
if status is not None:
|
|
743
|
+
|
|
744
|
+
_query_params.append(('status', status.value))
|
|
745
|
+
|
|
746
|
+
if default_number_of_shots is not None:
|
|
747
|
+
|
|
748
|
+
_query_params.append(('default_number_of_shots', default_number_of_shots))
|
|
749
|
+
|
|
750
|
+
if max_number_of_shots is not None:
|
|
751
|
+
|
|
752
|
+
_query_params.append(('max_number_of_shots', max_number_of_shots))
|
|
753
|
+
|
|
702
754
|
# process the header parameters
|
|
703
755
|
# process the form parameters
|
|
704
756
|
# process the body parameter
|
|
@@ -714,7 +766,7 @@ class BackendTypesApi:
|
|
|
714
766
|
|
|
715
767
|
# authentication setting
|
|
716
768
|
_auth_settings: List[str] = [
|
|
717
|
-
'
|
|
769
|
+
'user_bearer'
|
|
718
770
|
]
|
|
719
771
|
|
|
720
772
|
return self.api_client.param_serialize(
|