qi-compute-api-client 0.53.0__py3-none-any.whl → 0.54.1__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 +194 -95
- compute_api_client/api/algorithms_api.py +75 -81
- compute_api_client/api/auth_config_api.py +16 -24
- compute_api_client/api/backend_api.py +70 -86
- compute_api_client/api/backend_types_api.py +43 -56
- compute_api_client/api/batch_jobs_api.py +102 -120
- compute_api_client/api/commits_api.py +85 -80
- compute_api_client/api/files_api.py +62 -67
- compute_api_client/api/final_results_api.py +42 -53
- compute_api_client/api/health_api.py +16 -25
- compute_api_client/api/jobs_api.py +76 -83
- compute_api_client/api/languages_api.py +30 -42
- compute_api_client/api/members_api.py +62 -67
- compute_api_client/api/permissions_api.py +56 -70
- compute_api_client/api/projects_api.py +89 -97
- compute_api_client/api/reservations_api.py +57 -72
- compute_api_client/api/results_api.py +76 -83
- compute_api_client/api/teams_api.py +30 -42
- compute_api_client/api/transactions_api.py +31 -44
- compute_api_client/api/users_api.py +62 -67
- compute_api_client/api_client.py +135 -75
- compute_api_client/api_response.py +3 -3
- compute_api_client/configuration.py +176 -36
- compute_api_client/docs/Algorithm.md +8 -7
- compute_api_client/docs/AlgorithmIn.md +7 -6
- compute_api_client/docs/AlgorithmType.md +5 -3
- compute_api_client/docs/AlgorithmsApi.md +15 -10
- compute_api_client/docs/AuthConfig.md +3 -2
- compute_api_client/docs/AuthConfigApi.md +3 -2
- compute_api_client/docs/Backend.md +9 -8
- compute_api_client/docs/BackendApi.md +15 -10
- compute_api_client/docs/BackendIn.md +8 -7
- compute_api_client/docs/BackendPatch.md +5 -4
- compute_api_client/docs/BackendStatus.md +9 -3
- compute_api_client/docs/BackendType.md +20 -19
- compute_api_client/docs/BackendTypePatch.md +3 -2
- compute_api_client/docs/BackendTypesApi.md +15 -8
- compute_api_client/docs/BackendWithAuthentication.md +10 -9
- compute_api_client/docs/BatchJob.md +10 -9
- compute_api_client/docs/BatchJobIn.md +4 -3
- compute_api_client/docs/BatchJobStatus.md +11 -3
- compute_api_client/docs/BatchJobsApi.md +23 -16
- compute_api_client/docs/Commit.md +8 -7
- compute_api_client/docs/CommitIn.md +5 -4
- compute_api_client/docs/CommitsApi.md +15 -10
- compute_api_client/docs/CompilePayload.md +4 -3
- compute_api_client/docs/CompileStage.md +11 -3
- compute_api_client/docs/Domain.md +7 -3
- compute_api_client/docs/File.md +10 -9
- compute_api_client/docs/FileIn.md +9 -8
- compute_api_client/docs/FilesApi.md +12 -8
- compute_api_client/docs/FinalResult.md +7 -6
- compute_api_client/docs/FinalResultIn.md +5 -4
- compute_api_client/docs/FinalResultsApi.md +9 -6
- compute_api_client/docs/HTTPBadRequestError.md +3 -2
- compute_api_client/docs/HTTPNotFoundError.md +3 -2
- compute_api_client/docs/HTTPValidationError.md +3 -2
- compute_api_client/docs/HealthApi.md +3 -2
- compute_api_client/docs/Job.md +13 -12
- compute_api_client/docs/JobIn.md +6 -5
- compute_api_client/docs/JobPatch.md +8 -7
- compute_api_client/docs/JobStatus.md +11 -3
- compute_api_client/docs/JobsApi.md +15 -10
- compute_api_client/docs/Language.md +6 -5
- compute_api_client/docs/LanguagesApi.md +6 -4
- compute_api_client/docs/Member.md +8 -7
- compute_api_client/docs/MemberId.md +28 -0
- compute_api_client/docs/MemberIn.md +7 -6
- compute_api_client/docs/MembersApi.md +12 -8
- compute_api_client/docs/PageAlgorithm.md +3 -2
- compute_api_client/docs/PageBackend.md +3 -2
- compute_api_client/docs/PageBackendType.md +3 -2
- compute_api_client/docs/PageBatchJob.md +3 -2
- compute_api_client/docs/PageCommit.md +3 -2
- compute_api_client/docs/PageFile.md +3 -2
- compute_api_client/docs/PageJob.md +3 -2
- compute_api_client/docs/PageLanguage.md +3 -2
- compute_api_client/docs/PageMember.md +3 -2
- compute_api_client/docs/PagePermission.md +3 -2
- compute_api_client/docs/PagePermissionGroup.md +3 -2
- compute_api_client/docs/PageProject.md +3 -2
- compute_api_client/docs/PageReservation.md +3 -2
- compute_api_client/docs/PageResult.md +3 -2
- compute_api_client/docs/PageTeam.md +3 -2
- compute_api_client/docs/PageTransaction.md +3 -2
- compute_api_client/docs/PageUser.md +3 -2
- compute_api_client/docs/Permission.md +6 -5
- compute_api_client/docs/PermissionGroup.md +5 -4
- compute_api_client/docs/PermissionsApi.md +12 -8
- compute_api_client/docs/Project.md +9 -8
- compute_api_client/docs/ProjectIn.md +7 -6
- compute_api_client/docs/ProjectPatch.md +3 -2
- compute_api_client/docs/ProjectsApi.md +23 -13
- compute_api_client/docs/Reservation.md +9 -8
- compute_api_client/docs/ReservationIn.md +7 -6
- compute_api_client/docs/ReservationsApi.md +12 -8
- compute_api_client/docs/Result.md +7 -6
- compute_api_client/docs/ResultIn.md +5 -4
- compute_api_client/docs/ResultsApi.md +15 -10
- compute_api_client/docs/Role.md +5 -3
- compute_api_client/docs/ShareType.md +7 -3
- compute_api_client/docs/Team.md +7 -6
- compute_api_client/docs/TeamsApi.md +6 -4
- compute_api_client/docs/Transaction.md +6 -5
- compute_api_client/docs/TransactionDomain.md +28 -0
- compute_api_client/docs/TransactionsApi.md +6 -4
- compute_api_client/docs/User.md +11 -10
- compute_api_client/docs/UserIn.md +10 -9
- compute_api_client/docs/UsersApi.md +12 -8
- compute_api_client/docs/ValidationError.md +4 -3
- compute_api_client/docs/ValidationErrorLocInner.md +28 -0
- compute_api_client/exceptions.py +74 -24
- compute_api_client/models/__init__.py +1 -1
- compute_api_client/models/algorithm.py +19 -20
- compute_api_client/models/algorithm_in.py +18 -19
- compute_api_client/models/algorithm_type.py +1 -9
- compute_api_client/models/auth_config.py +14 -14
- compute_api_client/models/backend.py +20 -20
- compute_api_client/models/backend_in.py +19 -19
- compute_api_client/models/backend_patch.py +16 -15
- compute_api_client/models/backend_status.py +1 -9
- compute_api_client/models/backend_type.py +31 -32
- compute_api_client/models/backend_type_patch.py +14 -15
- compute_api_client/models/backend_with_authentication.py +21 -21
- compute_api_client/models/batch_job.py +21 -20
- compute_api_client/models/batch_job_in.py +15 -15
- compute_api_client/models/batch_job_status.py +1 -9
- compute_api_client/models/commit.py +19 -19
- compute_api_client/models/commit_in.py +16 -16
- compute_api_client/models/compile_payload.py +15 -15
- compute_api_client/models/compile_stage.py +1 -9
- compute_api_client/models/domain.py +1 -9
- compute_api_client/models/file.py +21 -22
- compute_api_client/models/file_in.py +20 -21
- compute_api_client/models/final_result.py +18 -17
- compute_api_client/models/final_result_in.py +16 -16
- compute_api_client/models/http_bad_request_error.py +14 -14
- compute_api_client/models/http_not_found_error.py +14 -14
- compute_api_client/models/http_validation_error.py +18 -18
- compute_api_client/models/job.py +24 -24
- compute_api_client/models/job_in.py +17 -17
- compute_api_client/models/job_patch.py +19 -20
- compute_api_client/models/job_status.py +1 -9
- compute_api_client/models/language.py +17 -18
- compute_api_client/models/member.py +19 -19
- compute_api_client/models/member_id.py +144 -0
- compute_api_client/models/member_in.py +18 -18
- compute_api_client/models/page_algorithm.py +18 -19
- compute_api_client/models/page_backend.py +18 -19
- compute_api_client/models/page_backend_type.py +18 -19
- compute_api_client/models/page_batch_job.py +18 -19
- compute_api_client/models/page_commit.py +18 -19
- compute_api_client/models/page_file.py +18 -19
- compute_api_client/models/page_job.py +18 -19
- compute_api_client/models/page_language.py +18 -19
- compute_api_client/models/page_member.py +18 -19
- compute_api_client/models/page_permission.py +18 -19
- compute_api_client/models/page_permission_group.py +18 -19
- compute_api_client/models/page_project.py +18 -19
- compute_api_client/models/page_reservation.py +18 -19
- compute_api_client/models/page_result.py +18 -19
- compute_api_client/models/page_team.py +18 -19
- compute_api_client/models/page_transaction.py +18 -19
- compute_api_client/models/page_user.py +18 -19
- compute_api_client/models/permission.py +17 -18
- compute_api_client/models/permission_group.py +16 -17
- compute_api_client/models/project.py +20 -20
- compute_api_client/models/project_in.py +18 -19
- compute_api_client/models/project_patch.py +14 -15
- compute_api_client/models/reservation.py +20 -19
- compute_api_client/models/reservation_in.py +18 -17
- compute_api_client/models/result.py +18 -17
- compute_api_client/models/result_in.py +16 -16
- compute_api_client/models/role.py +1 -9
- compute_api_client/models/share_type.py +1 -9
- compute_api_client/models/team.py +18 -19
- compute_api_client/models/transaction.py +17 -17
- compute_api_client/models/transaction_domain.py +142 -0
- compute_api_client/models/user.py +22 -23
- compute_api_client/models/user_in.py +21 -22
- compute_api_client/models/validation_error.py +20 -20
- compute_api_client/models/validation_error_loc_inner.py +138 -0
- compute_api_client/rest.py +51 -26
- {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.1.dist-info}/METADATA +12 -9
- qi_compute_api_client-0.54.1.dist-info/RECORD +203 -0
- qi_compute_api_client-0.53.0.dist-info/RECORD +0 -197
- {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.1.dist-info}/WHEEL +0 -0
- {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.1.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**job_id** | **int** |
|
|
8
|
-
**final_result** | **Dict[str, object]** |
|
|
8
|
+
**job_id** | **int** | ID of the job |
|
|
9
|
+
**final_result** | **Dict[str, object]** | The final results of the job |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -17,12 +18,12 @@ json = "{}"
|
|
|
17
18
|
# create an instance of FinalResultIn from a JSON string
|
|
18
19
|
final_result_in_instance = FinalResultIn.from_json(json)
|
|
19
20
|
# print the JSON string representation of the object
|
|
20
|
-
print
|
|
21
|
+
print(FinalResultIn.to_json())
|
|
21
22
|
|
|
22
23
|
# convert the object into a dict
|
|
23
24
|
final_result_in_dict = final_result_in_instance.to_dict()
|
|
24
25
|
# create an instance of FinalResultIn from a dict
|
|
25
|
-
|
|
26
|
+
final_result_in_from_dict = FinalResultIn.from_dict(final_result_in_dict)
|
|
26
27
|
```
|
|
27
28
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
28
29
|
|
|
@@ -20,9 +20,8 @@ Create new final result.
|
|
|
20
20
|
|
|
21
21
|
* OAuth Authentication (user_bearer):
|
|
22
22
|
* Api Key Authentication (backend):
|
|
23
|
+
|
|
23
24
|
```python
|
|
24
|
-
import time
|
|
25
|
-
import os
|
|
26
25
|
import compute_api_client
|
|
27
26
|
from compute_api_client.models.final_result import FinalResult
|
|
28
27
|
from compute_api_client.models.final_result_in import FinalResultIn
|
|
@@ -67,6 +66,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
67
66
|
|
|
68
67
|
### Parameters
|
|
69
68
|
|
|
69
|
+
|
|
70
70
|
Name | Type | Description | Notes
|
|
71
71
|
------------- | ------------- | ------------- | -------------
|
|
72
72
|
**final_result_in** | [**FinalResultIn**](FinalResultIn.md)| |
|
|
@@ -85,6 +85,7 @@ Name | Type | Description | Notes
|
|
|
85
85
|
- **Accept**: application/json
|
|
86
86
|
|
|
87
87
|
### HTTP response details
|
|
88
|
+
|
|
88
89
|
| Status code | Description | Response headers |
|
|
89
90
|
|-------------|-------------|------------------|
|
|
90
91
|
**201** | Successful Response | - |
|
|
@@ -102,9 +103,8 @@ Get final result by job ID.
|
|
|
102
103
|
### Example
|
|
103
104
|
|
|
104
105
|
* OAuth Authentication (user_bearer):
|
|
106
|
+
|
|
105
107
|
```python
|
|
106
|
-
import time
|
|
107
|
-
import os
|
|
108
108
|
import compute_api_client
|
|
109
109
|
from compute_api_client.models.final_result import FinalResult
|
|
110
110
|
from compute_api_client.rest import ApiException
|
|
@@ -142,6 +142,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
142
142
|
|
|
143
143
|
### Parameters
|
|
144
144
|
|
|
145
|
+
|
|
145
146
|
Name | Type | Description | Notes
|
|
146
147
|
------------- | ------------- | ------------- | -------------
|
|
147
148
|
**job_id** | **int**| |
|
|
@@ -160,6 +161,7 @@ Name | Type | Description | Notes
|
|
|
160
161
|
- **Accept**: application/json
|
|
161
162
|
|
|
162
163
|
### HTTP response details
|
|
164
|
+
|
|
163
165
|
| Status code | Description | Response headers |
|
|
164
166
|
|-------------|-------------|------------------|
|
|
165
167
|
**200** | Successful Response | - |
|
|
@@ -177,9 +179,8 @@ Get final result by ID.
|
|
|
177
179
|
### Example
|
|
178
180
|
|
|
179
181
|
* OAuth Authentication (user_bearer):
|
|
182
|
+
|
|
180
183
|
```python
|
|
181
|
-
import time
|
|
182
|
-
import os
|
|
183
184
|
import compute_api_client
|
|
184
185
|
from compute_api_client.models.final_result import FinalResult
|
|
185
186
|
from compute_api_client.rest import ApiException
|
|
@@ -217,6 +218,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
217
218
|
|
|
218
219
|
### Parameters
|
|
219
220
|
|
|
221
|
+
|
|
220
222
|
Name | Type | Description | Notes
|
|
221
223
|
------------- | ------------- | ------------- | -------------
|
|
222
224
|
**id** | **int**| |
|
|
@@ -235,6 +237,7 @@ Name | Type | Description | Notes
|
|
|
235
237
|
- **Accept**: application/json
|
|
236
238
|
|
|
237
239
|
### HTTP response details
|
|
240
|
+
|
|
238
241
|
| Status code | Description | Response headers |
|
|
239
242
|
|-------------|-------------|------------------|
|
|
240
243
|
**200** | Successful Response | - |
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
8
|
**detail** | **str** | |
|
|
@@ -16,12 +17,12 @@ json = "{}"
|
|
|
16
17
|
# create an instance of HTTPBadRequestError from a JSON string
|
|
17
18
|
http_bad_request_error_instance = HTTPBadRequestError.from_json(json)
|
|
18
19
|
# print the JSON string representation of the object
|
|
19
|
-
print
|
|
20
|
+
print(HTTPBadRequestError.to_json())
|
|
20
21
|
|
|
21
22
|
# convert the object into a dict
|
|
22
23
|
http_bad_request_error_dict = http_bad_request_error_instance.to_dict()
|
|
23
24
|
# create an instance of HTTPBadRequestError from a dict
|
|
24
|
-
|
|
25
|
+
http_bad_request_error_from_dict = HTTPBadRequestError.from_dict(http_bad_request_error_dict)
|
|
25
26
|
```
|
|
26
27
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
27
28
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
8
|
**detail** | **str** | |
|
|
@@ -16,12 +17,12 @@ json = "{}"
|
|
|
16
17
|
# create an instance of HTTPNotFoundError from a JSON string
|
|
17
18
|
http_not_found_error_instance = HTTPNotFoundError.from_json(json)
|
|
18
19
|
# print the JSON string representation of the object
|
|
19
|
-
print
|
|
20
|
+
print(HTTPNotFoundError.to_json())
|
|
20
21
|
|
|
21
22
|
# convert the object into a dict
|
|
22
23
|
http_not_found_error_dict = http_not_found_error_instance.to_dict()
|
|
23
24
|
# create an instance of HTTPNotFoundError from a dict
|
|
24
|
-
|
|
25
|
+
http_not_found_error_from_dict = HTTPNotFoundError.from_dict(http_not_found_error_dict)
|
|
25
26
|
```
|
|
26
27
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
27
28
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
8
|
**detail** | [**List[ValidationError]**](ValidationError.md) | | [optional]
|
|
@@ -16,12 +17,12 @@ json = "{}"
|
|
|
16
17
|
# create an instance of HTTPValidationError from a JSON string
|
|
17
18
|
http_validation_error_instance = HTTPValidationError.from_json(json)
|
|
18
19
|
# print the JSON string representation of the object
|
|
19
|
-
print
|
|
20
|
+
print(HTTPValidationError.to_json())
|
|
20
21
|
|
|
21
22
|
# convert the object into a dict
|
|
22
23
|
http_validation_error_dict = http_validation_error_instance.to_dict()
|
|
23
24
|
# create an instance of HTTPValidationError from a dict
|
|
24
|
-
|
|
25
|
+
http_validation_error_from_dict = HTTPValidationError.from_dict(http_validation_error_dict)
|
|
25
26
|
```
|
|
26
27
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
27
28
|
|
|
@@ -16,9 +16,8 @@ Health endpoint.
|
|
|
16
16
|
|
|
17
17
|
### Example
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
```python
|
|
20
|
-
import time
|
|
21
|
-
import os
|
|
22
21
|
import compute_api_client
|
|
23
22
|
from compute_api_client.rest import ApiException
|
|
24
23
|
from pprint import pprint
|
|
@@ -47,6 +46,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
47
46
|
|
|
48
47
|
|
|
49
48
|
### Parameters
|
|
49
|
+
|
|
50
50
|
This endpoint does not need any parameter.
|
|
51
51
|
|
|
52
52
|
### Return type
|
|
@@ -63,6 +63,7 @@ No authorization required
|
|
|
63
63
|
- **Accept**: application/json
|
|
64
64
|
|
|
65
65
|
### HTTP response details
|
|
66
|
+
|
|
66
67
|
| Status code | Description | Response headers |
|
|
67
68
|
|-------------|-------------|------------------|
|
|
68
69
|
**200** | Successful Response | - |
|
compute_api_client/docs/Job.md
CHANGED
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**id** | **int** |
|
|
8
|
-
**created_on** | **datetime** |
|
|
9
|
-
**file_id** | **int** |
|
|
10
|
-
**algorithm_type** | [**AlgorithmType**](AlgorithmType.md) |
|
|
11
|
-
**status** | [**JobStatus**](JobStatus.md) |
|
|
12
|
-
**batch_job_id** | **int** |
|
|
8
|
+
**id** | **int** | The ID of the job |
|
|
9
|
+
**created_on** | **datetime** | Time of creation of the Job |
|
|
10
|
+
**file_id** | **int** | The ID of the file |
|
|
11
|
+
**algorithm_type** | [**AlgorithmType**](AlgorithmType.md) | The type of the algorithm |
|
|
12
|
+
**status** | [**JobStatus**](JobStatus.md) | The status of the Job |
|
|
13
|
+
**batch_job_id** | **int** | The ID of the batch job |
|
|
13
14
|
**queued_at** | **datetime** | |
|
|
14
15
|
**finished_at** | **datetime** | |
|
|
15
16
|
**number_of_shots** | **int** | |
|
|
16
|
-
**raw_data_enabled** | **bool** |
|
|
17
|
-
**session_id** | **str** |
|
|
18
|
-
**trace_id** | **str** |
|
|
19
|
-
**message** | **str** |
|
|
17
|
+
**raw_data_enabled** | **bool** | If raw data is to be attached to results |
|
|
18
|
+
**session_id** | **str** | The uuid assigned to the job |
|
|
19
|
+
**trace_id** | **str** | The uuid of the trace in case of job failure |
|
|
20
|
+
**message** | **str** | The message associated with the executed job if it failed |
|
|
20
21
|
**source** | **str** | The source application of an exception that caused a job to fail (if applicable). | [optional] [default to '']
|
|
21
22
|
|
|
22
23
|
## Example
|
|
@@ -29,12 +30,12 @@ json = "{}"
|
|
|
29
30
|
# create an instance of Job from a JSON string
|
|
30
31
|
job_instance = Job.from_json(json)
|
|
31
32
|
# print the JSON string representation of the object
|
|
32
|
-
print
|
|
33
|
+
print(Job.to_json())
|
|
33
34
|
|
|
34
35
|
# convert the object into a dict
|
|
35
36
|
job_dict = job_instance.to_dict()
|
|
36
37
|
# create an instance of Job from a dict
|
|
37
|
-
|
|
38
|
+
job_from_dict = Job.from_dict(job_dict)
|
|
38
39
|
```
|
|
39
40
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
40
41
|
|
compute_api_client/docs/JobIn.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**file_id** | **int** |
|
|
8
|
-
**batch_job_id** | **int** |
|
|
8
|
+
**file_id** | **int** | The ID of the file |
|
|
9
|
+
**batch_job_id** | **int** | The ID of the batch job |
|
|
9
10
|
**number_of_shots** | **int** | | [optional]
|
|
10
|
-
**raw_data_enabled** | **bool** |
|
|
11
|
+
**raw_data_enabled** | **bool** | If raw data is to be attached to results | [optional] [default to False]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -19,12 +20,12 @@ json = "{}"
|
|
|
19
20
|
# create an instance of JobIn from a JSON string
|
|
20
21
|
job_in_instance = JobIn.from_json(json)
|
|
21
22
|
# print the JSON string representation of the object
|
|
22
|
-
print
|
|
23
|
+
print(JobIn.to_json())
|
|
23
24
|
|
|
24
25
|
# convert the object into a dict
|
|
25
26
|
job_in_dict = job_in_instance.to_dict()
|
|
26
27
|
# create an instance of JobIn from a dict
|
|
27
|
-
|
|
28
|
+
job_in_from_dict = JobIn.from_dict(job_in_dict)
|
|
28
29
|
```
|
|
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)
|
|
30
31
|
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**status** | [**JobStatus**](JobStatus.md) |
|
|
8
|
-
**session_id** | **str** |
|
|
9
|
-
**trace_id** | **str** |
|
|
10
|
-
**message** | **str** |
|
|
8
|
+
**status** | [**JobStatus**](JobStatus.md) | The status of the Job |
|
|
9
|
+
**session_id** | **str** | The uuid assigned to the job | [optional] [default to '']
|
|
10
|
+
**trace_id** | **str** | The uuid of the trace in case of job failure | [optional] [default to '']
|
|
11
|
+
**message** | **str** | The message associated with the executed job if it failed | [optional] [default to '']
|
|
11
12
|
**source** | **str** | The source application of an exception that caused a job to fail (if applicable). | [optional] [default to '']
|
|
12
|
-
**traceback** | **str** |
|
|
13
|
+
**traceback** | **str** | The traceback of the exception | [optional] [default to '']
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -21,12 +22,12 @@ json = "{}"
|
|
|
21
22
|
# create an instance of JobPatch from a JSON string
|
|
22
23
|
job_patch_instance = JobPatch.from_json(json)
|
|
23
24
|
# print the JSON string representation of the object
|
|
24
|
-
print
|
|
25
|
+
print(JobPatch.to_json())
|
|
25
26
|
|
|
26
27
|
# convert the object into a dict
|
|
27
28
|
job_patch_dict = job_patch_instance.to_dict()
|
|
28
29
|
# create an instance of JobPatch from a dict
|
|
29
|
-
|
|
30
|
+
job_patch_from_dict = JobPatch.from_dict(job_patch_dict)
|
|
30
31
|
```
|
|
31
32
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
32
33
|
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# JobStatus
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
##
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `PLANNED` (value: `'planned'`)
|
|
7
|
+
|
|
8
|
+
* `RUNNING` (value: `'running'`)
|
|
9
|
+
|
|
10
|
+
* `COMPLETED` (value: `'completed'`)
|
|
11
|
+
|
|
12
|
+
* `CANCELLED` (value: `'cancelled'`)
|
|
13
|
+
|
|
14
|
+
* `FAILED` (value: `'failed'`)
|
|
7
15
|
|
|
8
16
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
9
17
|
|
|
@@ -21,9 +21,8 @@ Create new job.
|
|
|
21
21
|
### Example
|
|
22
22
|
|
|
23
23
|
* OAuth Authentication (user_bearer):
|
|
24
|
+
|
|
24
25
|
```python
|
|
25
|
-
import time
|
|
26
|
-
import os
|
|
27
26
|
import compute_api_client
|
|
28
27
|
from compute_api_client.models.job import Job
|
|
29
28
|
from compute_api_client.models.job_in import JobIn
|
|
@@ -62,6 +61,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
62
61
|
|
|
63
62
|
### Parameters
|
|
64
63
|
|
|
64
|
+
|
|
65
65
|
Name | Type | Description | Notes
|
|
66
66
|
------------- | ------------- | ------------- | -------------
|
|
67
67
|
**job_in** | [**JobIn**](JobIn.md)| |
|
|
@@ -80,6 +80,7 @@ Name | Type | Description | Notes
|
|
|
80
80
|
- **Accept**: application/json
|
|
81
81
|
|
|
82
82
|
### HTTP response details
|
|
83
|
+
|
|
83
84
|
| Status code | Description | Response headers |
|
|
84
85
|
|-------------|-------------|------------------|
|
|
85
86
|
**201** | Successful Response | - |
|
|
@@ -97,9 +98,8 @@ Delete a job.
|
|
|
97
98
|
### Example
|
|
98
99
|
|
|
99
100
|
* OAuth Authentication (user_bearer):
|
|
101
|
+
|
|
100
102
|
```python
|
|
101
|
-
import time
|
|
102
|
-
import os
|
|
103
103
|
import compute_api_client
|
|
104
104
|
from compute_api_client.rest import ApiException
|
|
105
105
|
from pprint import pprint
|
|
@@ -134,6 +134,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
134
134
|
|
|
135
135
|
### Parameters
|
|
136
136
|
|
|
137
|
+
|
|
137
138
|
Name | Type | Description | Notes
|
|
138
139
|
------------- | ------------- | ------------- | -------------
|
|
139
140
|
**id** | **int**| |
|
|
@@ -152,6 +153,7 @@ void (empty response body)
|
|
|
152
153
|
- **Accept**: application/json
|
|
153
154
|
|
|
154
155
|
### HTTP response details
|
|
156
|
+
|
|
155
157
|
| Status code | Description | Response headers |
|
|
156
158
|
|-------------|-------------|------------------|
|
|
157
159
|
**204** | Successful Response | - |
|
|
@@ -171,9 +173,8 @@ Get job by ID.
|
|
|
171
173
|
|
|
172
174
|
* OAuth Authentication (user_bearer):
|
|
173
175
|
* Api Key Authentication (backend):
|
|
176
|
+
|
|
174
177
|
```python
|
|
175
|
-
import time
|
|
176
|
-
import os
|
|
177
178
|
import compute_api_client
|
|
178
179
|
from compute_api_client.models.job import Job
|
|
179
180
|
from compute_api_client.rest import ApiException
|
|
@@ -217,6 +218,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
217
218
|
|
|
218
219
|
### Parameters
|
|
219
220
|
|
|
221
|
+
|
|
220
222
|
Name | Type | Description | Notes
|
|
221
223
|
------------- | ------------- | ------------- | -------------
|
|
222
224
|
**id** | **int**| |
|
|
@@ -235,6 +237,7 @@ Name | Type | Description | Notes
|
|
|
235
237
|
- **Accept**: application/json
|
|
236
238
|
|
|
237
239
|
### HTTP response details
|
|
240
|
+
|
|
238
241
|
| Status code | Description | Response headers |
|
|
239
242
|
|-------------|-------------|------------------|
|
|
240
243
|
**200** | Successful Response | - |
|
|
@@ -254,9 +257,8 @@ List jobs.
|
|
|
254
257
|
|
|
255
258
|
* OAuth Authentication (user_bearer):
|
|
256
259
|
* Api Key Authentication (backend):
|
|
260
|
+
|
|
257
261
|
```python
|
|
258
|
-
import time
|
|
259
|
-
import os
|
|
260
262
|
import compute_api_client
|
|
261
263
|
from compute_api_client.models.algorithm_type import AlgorithmType
|
|
262
264
|
from compute_api_client.models.job_status import JobStatus
|
|
@@ -322,6 +324,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
322
324
|
|
|
323
325
|
### Parameters
|
|
324
326
|
|
|
327
|
+
|
|
325
328
|
Name | Type | Description | Notes
|
|
326
329
|
------------- | ------------- | ------------- | -------------
|
|
327
330
|
**id** | **int**| | [optional]
|
|
@@ -360,6 +363,7 @@ Name | Type | Description | Notes
|
|
|
360
363
|
- **Accept**: application/json
|
|
361
364
|
|
|
362
365
|
### HTTP response details
|
|
366
|
+
|
|
363
367
|
| Status code | Description | Response headers |
|
|
364
368
|
|-------------|-------------|------------------|
|
|
365
369
|
**200** | Successful Response | - |
|
|
@@ -378,9 +382,8 @@ Update status of a job.
|
|
|
378
382
|
|
|
379
383
|
* OAuth Authentication (user_bearer):
|
|
380
384
|
* Api Key Authentication (backend):
|
|
385
|
+
|
|
381
386
|
```python
|
|
382
|
-
import time
|
|
383
|
-
import os
|
|
384
387
|
import compute_api_client
|
|
385
388
|
from compute_api_client.models.job import Job
|
|
386
389
|
from compute_api_client.models.job_patch import JobPatch
|
|
@@ -426,6 +429,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
426
429
|
|
|
427
430
|
### Parameters
|
|
428
431
|
|
|
432
|
+
|
|
429
433
|
Name | Type | Description | Notes
|
|
430
434
|
------------- | ------------- | ------------- | -------------
|
|
431
435
|
**id** | **int**| |
|
|
@@ -445,6 +449,7 @@ Name | Type | Description | Notes
|
|
|
445
449
|
- **Accept**: application/json
|
|
446
450
|
|
|
447
451
|
### HTTP response details
|
|
452
|
+
|
|
448
453
|
| Status code | Description | Response headers |
|
|
449
454
|
|-------------|-------------|------------------|
|
|
450
455
|
**200** | Successful Response | - |
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**id** | **int** |
|
|
8
|
-
**name** | **str** |
|
|
9
|
-
**version** | **str** |
|
|
8
|
+
**id** | **int** | The ID of the language |
|
|
9
|
+
**name** | **str** | Name of the language |
|
|
10
|
+
**version** | **str** | Version of the language |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -18,12 +19,12 @@ json = "{}"
|
|
|
18
19
|
# create an instance of Language from a JSON string
|
|
19
20
|
language_instance = Language.from_json(json)
|
|
20
21
|
# print the JSON string representation of the object
|
|
21
|
-
print
|
|
22
|
+
print(Language.to_json())
|
|
22
23
|
|
|
23
24
|
# convert the object into a dict
|
|
24
25
|
language_dict = language_instance.to_dict()
|
|
25
26
|
# create an instance of Language from a dict
|
|
26
|
-
|
|
27
|
+
language_from_dict = Language.from_dict(language_dict)
|
|
27
28
|
```
|
|
28
29
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
29
30
|
|
|
@@ -18,9 +18,8 @@ Get language by ID.
|
|
|
18
18
|
### Example
|
|
19
19
|
|
|
20
20
|
* OAuth Authentication (user_bearer):
|
|
21
|
+
|
|
21
22
|
```python
|
|
22
|
-
import time
|
|
23
|
-
import os
|
|
24
23
|
import compute_api_client
|
|
25
24
|
from compute_api_client.models.language import Language
|
|
26
25
|
from compute_api_client.rest import ApiException
|
|
@@ -58,6 +57,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
58
57
|
|
|
59
58
|
### Parameters
|
|
60
59
|
|
|
60
|
+
|
|
61
61
|
Name | Type | Description | Notes
|
|
62
62
|
------------- | ------------- | ------------- | -------------
|
|
63
63
|
**id** | **int**| |
|
|
@@ -76,6 +76,7 @@ Name | Type | Description | Notes
|
|
|
76
76
|
- **Accept**: application/json
|
|
77
77
|
|
|
78
78
|
### HTTP response details
|
|
79
|
+
|
|
79
80
|
| Status code | Description | Response headers |
|
|
80
81
|
|-------------|-------------|------------------|
|
|
81
82
|
**200** | Successful Response | - |
|
|
@@ -94,9 +95,8 @@ List languages.
|
|
|
94
95
|
### Example
|
|
95
96
|
|
|
96
97
|
* OAuth Authentication (user_bearer):
|
|
98
|
+
|
|
97
99
|
```python
|
|
98
|
-
import time
|
|
99
|
-
import os
|
|
100
100
|
import compute_api_client
|
|
101
101
|
from compute_api_client.models.page_language import PageLanguage
|
|
102
102
|
from compute_api_client.rest import ApiException
|
|
@@ -141,6 +141,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
141
141
|
|
|
142
142
|
### Parameters
|
|
143
143
|
|
|
144
|
+
|
|
144
145
|
Name | Type | Description | Notes
|
|
145
146
|
------------- | ------------- | ------------- | -------------
|
|
146
147
|
**q** | **str**| | [optional]
|
|
@@ -166,6 +167,7 @@ Name | Type | Description | Notes
|
|
|
166
167
|
- **Accept**: application/json
|
|
167
168
|
|
|
168
169
|
### HTTP response details
|
|
170
|
+
|
|
169
171
|
| Status code | Description | Response headers |
|
|
170
172
|
|-------------|-------------|------------------|
|
|
171
173
|
**200** | Successful Response | - |
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**id** | **int** |
|
|
8
|
-
**team_id** | **int** |
|
|
9
|
-
**user_id** | **int** |
|
|
10
|
-
**role** | [**Role**](Role.md) |
|
|
11
|
-
**is_active** | **bool** |
|
|
8
|
+
**id** | **int** | The id of the member |
|
|
9
|
+
**team_id** | **int** | The id of the team |
|
|
10
|
+
**user_id** | **int** | The id of the user |
|
|
11
|
+
**role** | [**Role**](Role.md) | The role of the member |
|
|
12
|
+
**is_active** | **bool** | If the member is active |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,12 +21,12 @@ json = "{}"
|
|
|
20
21
|
# create an instance of Member from a JSON string
|
|
21
22
|
member_instance = Member.from_json(json)
|
|
22
23
|
# print the JSON string representation of the object
|
|
23
|
-
print
|
|
24
|
+
print(Member.to_json())
|
|
24
25
|
|
|
25
26
|
# convert the object into a dict
|
|
26
27
|
member_dict = member_instance.to_dict()
|
|
27
28
|
# create an instance of Member from a dict
|
|
28
|
-
|
|
29
|
+
member_from_dict = Member.from_dict(member_dict)
|
|
29
30
|
```
|
|
30
31
|
[[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,28 @@
|
|
|
1
|
+
# MemberId
|
|
2
|
+
|
|
3
|
+
The id of the member who initiated the transaction
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```python
|
|
12
|
+
from compute_api_client.models.member_id import MemberId
|
|
13
|
+
|
|
14
|
+
# TODO update the JSON string below
|
|
15
|
+
json = "{}"
|
|
16
|
+
# create an instance of MemberId from a JSON string
|
|
17
|
+
member_id_instance = MemberId.from_json(json)
|
|
18
|
+
# print the JSON string representation of the object
|
|
19
|
+
print MemberId.to_json()
|
|
20
|
+
|
|
21
|
+
# convert the object into a dict
|
|
22
|
+
member_id_dict = member_id_instance.to_dict()
|
|
23
|
+
# create an instance of MemberId from a dict
|
|
24
|
+
member_id_form_dict = member_id.from_dict(member_id_dict)
|
|
25
|
+
```
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
27
|
+
|
|
28
|
+
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**team_id** | **int** |
|
|
8
|
-
**user_id** | **int** |
|
|
9
|
-
**role** | [**Role**](Role.md) |
|
|
10
|
-
**is_active** | **bool** |
|
|
8
|
+
**team_id** | **int** | The id of the team |
|
|
9
|
+
**user_id** | **int** | The id of the user |
|
|
10
|
+
**role** | [**Role**](Role.md) | The role of the member |
|
|
11
|
+
**is_active** | **bool** | If the member is active | [optional] [default to False]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -19,12 +20,12 @@ json = "{}"
|
|
|
19
20
|
# create an instance of MemberIn from a JSON string
|
|
20
21
|
member_in_instance = MemberIn.from_json(json)
|
|
21
22
|
# print the JSON string representation of the object
|
|
22
|
-
print
|
|
23
|
+
print(MemberIn.to_json())
|
|
23
24
|
|
|
24
25
|
# convert the object into a dict
|
|
25
26
|
member_in_dict = member_in_instance.to_dict()
|
|
26
27
|
# create an instance of MemberIn from a dict
|
|
27
|
-
|
|
28
|
+
member_in_from_dict = MemberIn.from_dict(member_in_dict)
|
|
28
29
|
```
|
|
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)
|
|
30
31
|
|