qi-compute-api-client 0.4.0__py3-none-any.whl → 0.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qi-compute-api-client might be problematic. Click here for more details.
- compute_api_client/__init__.py +23 -20
- compute_api_client/api/__init__.py +5 -6
- compute_api_client/api/algorithms_api.py +1334 -554
- compute_api_client/api/backend_api.py +1501 -0
- compute_api_client/api/backend_types_api.py +684 -0
- compute_api_client/api/batch_jobs_api.py +1937 -0
- compute_api_client/api/commits_api.py +1069 -436
- compute_api_client/api/files_api.py +1076 -436
- compute_api_client/api/final_results_api.py +737 -339
- compute_api_client/api/jobs_api.py +1653 -0
- compute_api_client/api/languages_api.py +557 -218
- compute_api_client/api/members_api.py +1058 -436
- compute_api_client/api/metadata_api.py +737 -338
- compute_api_client/api/permissions_api.py +1056 -422
- compute_api_client/api/projects_api.py +1605 -677
- compute_api_client/api/reservations_api.py +1125 -428
- compute_api_client/api/results_api.py +739 -338
- compute_api_client/api/teams_api.py +568 -221
- compute_api_client/api/transactions_api.py +680 -219
- compute_api_client/api/users_api.py +1091 -436
- compute_api_client/api_client.py +347 -305
- compute_api_client/api_response.py +21 -0
- compute_api_client/configuration.py +55 -68
- compute_api_client/docs/Algorithm.md +20 -3
- compute_api_client/docs/AlgorithmIn.md +20 -3
- compute_api_client/docs/AlgorithmType.md +0 -1
- compute_api_client/docs/AlgorithmsApi.md +78 -77
- compute_api_client/docs/Backend.md +33 -0
- compute_api_client/docs/BackendApi.md +419 -0
- compute_api_client/docs/BackendPatch.md +29 -0
- compute_api_client/docs/{RunStatus.md → BackendStatus.md} +1 -2
- compute_api_client/docs/BackendType.md +36 -0
- compute_api_client/docs/{RuntimeTypesApi.md → BackendTypesApi.md} +58 -31
- compute_api_client/docs/BackendWithAuthentication.md +34 -0
- compute_api_client/docs/BatchJob.md +38 -0
- compute_api_client/docs/BatchJobIn.md +29 -0
- compute_api_client/docs/{RuntimeStatus.md → BatchJobStatus.md} +1 -2
- compute_api_client/docs/BatchJobsApi.md +524 -0
- compute_api_client/docs/Commit.md +18 -1
- compute_api_client/docs/CommitIn.md +17 -0
- compute_api_client/docs/CommitsApi.md +62 -71
- compute_api_client/docs/CompileStage.md +0 -1
- compute_api_client/docs/Domain.md +0 -1
- compute_api_client/docs/File.md +21 -4
- compute_api_client/docs/FileIn.md +21 -4
- compute_api_client/docs/FilesApi.md +65 -71
- compute_api_client/docs/FinalResult.md +20 -3
- compute_api_client/docs/FinalResultIn.md +19 -2
- compute_api_client/docs/FinalResultsApi.md +44 -71
- compute_api_client/docs/HTTPNotFoundError.md +17 -0
- compute_api_client/docs/HTTPValidationError.md +18 -1
- compute_api_client/docs/Job.md +36 -0
- compute_api_client/docs/JobIn.md +31 -0
- compute_api_client/docs/JobPatch.md +28 -0
- compute_api_client/docs/{BatchRunStatus.md → JobStatus.md} +1 -2
- compute_api_client/docs/{RunsApi.md → JobsApi.md} +137 -122
- compute_api_client/docs/Language.md +17 -0
- compute_api_client/docs/LanguagesApi.md +30 -12
- compute_api_client/docs/LocationInner.md +17 -0
- compute_api_client/docs/Member.md +19 -2
- compute_api_client/docs/MemberIn.md +19 -2
- compute_api_client/docs/MembersApi.md +59 -24
- compute_api_client/docs/Metadata.md +20 -3
- compute_api_client/docs/MetadataApi.md +49 -33
- compute_api_client/docs/MetadataIn.md +19 -2
- compute_api_client/docs/Permission.md +17 -0
- compute_api_client/docs/PermissionGroup.md +17 -0
- compute_api_client/docs/PermissionsApi.md +68 -28
- compute_api_client/docs/Project.md +20 -3
- compute_api_client/docs/ProjectIn.md +18 -1
- compute_api_client/docs/ProjectPatch.md +19 -2
- compute_api_client/docs/ProjectsApi.md +84 -36
- compute_api_client/docs/Reservation.md +21 -4
- compute_api_client/docs/ReservationIn.md +19 -2
- compute_api_client/docs/ReservationsApi.md +66 -24
- compute_api_client/docs/Result.md +23 -6
- compute_api_client/docs/ResultIn.md +19 -2
- compute_api_client/docs/ResultsApi.md +40 -74
- compute_api_client/docs/Role.md +0 -1
- compute_api_client/docs/ShareType.md +0 -1
- compute_api_client/docs/Team.md +18 -1
- compute_api_client/docs/TeamsApi.md +37 -14
- compute_api_client/docs/Transaction.md +21 -4
- compute_api_client/docs/TransactionsApi.md +50 -14
- compute_api_client/docs/User.md +21 -4
- compute_api_client/docs/UserIn.md +17 -0
- compute_api_client/docs/UsersApi.md +62 -24
- compute_api_client/docs/ValidationError.md +18 -1
- compute_api_client/exceptions.py +20 -17
- compute_api_client/models/__init__.py +17 -15
- compute_api_client/models/algorithm.py +79 -238
- compute_api_client/models/algorithm_in.py +77 -205
- compute_api_client/models/algorithm_type.py +22 -88
- compute_api_client/models/backend.py +100 -0
- compute_api_client/models/backend_patch.py +90 -0
- compute_api_client/models/backend_status.py +47 -0
- compute_api_client/models/backend_type.py +105 -0
- compute_api_client/models/backend_with_authentication.py +102 -0
- compute_api_client/models/batch_job.py +129 -0
- compute_api_client/models/batch_job_in.py +89 -0
- compute_api_client/models/batch_job_status.py +48 -0
- compute_api_client/models/commit.py +73 -231
- compute_api_client/models/commit_in.py +68 -170
- compute_api_client/models/compile_stage.py +24 -90
- compute_api_client/models/domain.py +23 -89
- compute_api_client/models/file.py +75 -289
- compute_api_client/models/file_in.py +73 -255
- compute_api_client/models/final_result.py +69 -199
- compute_api_client/models/final_result_in.py +64 -138
- compute_api_client/models/http_not_found_error.py +61 -106
- compute_api_client/models/http_validation_error.py +70 -106
- compute_api_client/models/job.py +120 -0
- compute_api_client/models/job_in.py +99 -0
- compute_api_client/models/job_patch.py +88 -0
- compute_api_client/models/job_status.py +48 -0
- compute_api_client/models/language.py +68 -173
- compute_api_client/models/location_inner.py +126 -85
- compute_api_client/models/member.py +71 -237
- compute_api_client/models/member_in.py +69 -204
- compute_api_client/models/metadata.py +69 -199
- compute_api_client/models/metadata_in.py +69 -138
- compute_api_client/models/permission.py +68 -173
- compute_api_client/models/permission_group.py +66 -143
- compute_api_client/models/project.py +75 -257
- compute_api_client/models/project_in.py +70 -196
- compute_api_client/models/project_patch.py +90 -193
- compute_api_client/models/reservation.py +80 -291
- compute_api_client/models/reservation_in.py +69 -201
- compute_api_client/models/result.py +102 -360
- compute_api_client/models/result_in.py +96 -293
- compute_api_client/models/role.py +22 -88
- compute_api_client/models/share_type.py +23 -89
- compute_api_client/models/team.py +70 -199
- compute_api_client/models/transaction.py +94 -300
- compute_api_client/models/user.py +76 -277
- compute_api_client/models/user_in.py +74 -244
- compute_api_client/models/validation_error.py +74 -161
- compute_api_client/rest.py +56 -115
- {qi_compute_api_client-0.4.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/METADATA +47 -40
- qi_compute_api_client-0.17.0.dist-info/RECORD +142 -0
- compute_api_client/api/batch_runs_api.py +0 -862
- compute_api_client/api/runs_api.py +0 -723
- compute_api_client/api/runtime_api.py +0 -449
- compute_api_client/api/runtime_types_api.py +0 -303
- compute_api_client/docs/BatchRun.md +0 -21
- compute_api_client/docs/BatchRunIn.md +0 -12
- compute_api_client/docs/BatchRunsApi.md +0 -600
- compute_api_client/docs/Run.md +0 -18
- compute_api_client/docs/RunIn.md +0 -13
- compute_api_client/docs/Runtime.md +0 -16
- compute_api_client/docs/RuntimeApi.md +0 -229
- compute_api_client/docs/RuntimeType.md +0 -19
- compute_api_client/docs/RuntimeWithAuthentication.md +0 -17
- compute_api_client/models/batch_run.py +0 -423
- compute_api_client/models/batch_run_in.py +0 -171
- compute_api_client/models/batch_run_status.py +0 -114
- compute_api_client/models/run.py +0 -345
- compute_api_client/models/run_in.py +0 -202
- compute_api_client/models/run_status.py +0 -114
- compute_api_client/models/runtime.py +0 -290
- compute_api_client/models/runtime_status.py +0 -113
- compute_api_client/models/runtime_type.py +0 -357
- compute_api_client/models/runtime_with_authentication.py +0 -320
- qi_compute_api_client-0.4.0.dist-info/RECORD +0 -137
- {qi_compute_api_client-0.4.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.4.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/WHEEL +0 -0
|
@@ -1,600 +0,0 @@
|
|
|
1
|
-
# compute_api_client.BatchRunsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
------------- | ------------- | -------------
|
|
7
|
-
[**create_batch_run_batch_runs_post**](BatchRunsApi.md#create_batch_run_batch_runs_post) | **POST** /batch_runs | Create batch run
|
|
8
|
-
[**enqueue_batch_run_batch_runs_id_enqueue_patch**](BatchRunsApi.md#enqueue_batch_run_batch_runs_id_enqueue_patch) | **PATCH** /batch_runs/{id}/enqueue | Enqueue batch run for execution
|
|
9
|
-
[**finish_batch_run_batch_runs_id_finish_patch**](BatchRunsApi.md#finish_batch_run_batch_runs_id_finish_patch) | **PATCH** /batch_runs/{id}/finish | Finish batch run
|
|
10
|
-
[**peek_batch_run_batch_runs_peek_patch**](BatchRunsApi.md#peek_batch_run_batch_runs_peek_patch) | **PATCH** /batch_runs/peek | Peek batch run
|
|
11
|
-
[**pop_batch_run_batch_runs_pop_patch**](BatchRunsApi.md#pop_batch_run_batch_runs_pop_patch) | **PATCH** /batch_runs/pop | Take batch run
|
|
12
|
-
[**read_batch_runs_batch_runs_get**](BatchRunsApi.md#read_batch_runs_batch_runs_get) | **GET** /batch_runs | List batch runs
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
# **create_batch_run_batch_runs_post**
|
|
16
|
-
> BatchRun create_batch_run_batch_runs_post(batch_run_in)
|
|
17
|
-
|
|
18
|
-
Create batch run
|
|
19
|
-
|
|
20
|
-
Create new batch run.
|
|
21
|
-
|
|
22
|
-
### Example
|
|
23
|
-
|
|
24
|
-
* Api Key Authentication (user):
|
|
25
|
-
```python
|
|
26
|
-
from __future__ import print_function
|
|
27
|
-
import time
|
|
28
|
-
import compute_api_client
|
|
29
|
-
from compute_api_client.rest import ApiException
|
|
30
|
-
from pprint import pprint
|
|
31
|
-
# Defining the host is optional and defaults to http://localhost
|
|
32
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
33
|
-
configuration = compute_api_client.Configuration(
|
|
34
|
-
host = "http://localhost"
|
|
35
|
-
)
|
|
36
|
-
|
|
37
|
-
# The client must configure the authentication and authorization parameters
|
|
38
|
-
# in accordance with the API server security policy.
|
|
39
|
-
# Examples for each auth method are provided below, use the example that
|
|
40
|
-
# satisfies your auth use case.
|
|
41
|
-
|
|
42
|
-
# Configure API key authorization: user
|
|
43
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
44
|
-
|
|
45
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
46
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
47
|
-
|
|
48
|
-
# Enter a context with an instance of the API client
|
|
49
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
50
|
-
# Create an instance of the API class
|
|
51
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
52
|
-
batch_run_in = compute_api_client.BatchRunIn() # BatchRunIn |
|
|
53
|
-
|
|
54
|
-
try:
|
|
55
|
-
# Create batch run
|
|
56
|
-
api_response = api_instance.create_batch_run_batch_runs_post(batch_run_in)
|
|
57
|
-
pprint(api_response)
|
|
58
|
-
except ApiException as e:
|
|
59
|
-
print("Exception when calling BatchRunsApi->create_batch_run_batch_runs_post: %s\n" % e)
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Parameters
|
|
63
|
-
|
|
64
|
-
Name | Type | Description | Notes
|
|
65
|
-
------------- | ------------- | ------------- | -------------
|
|
66
|
-
**batch_run_in** | [**BatchRunIn**](BatchRunIn.md)| |
|
|
67
|
-
|
|
68
|
-
### Return type
|
|
69
|
-
|
|
70
|
-
[**BatchRun**](BatchRun.md)
|
|
71
|
-
|
|
72
|
-
### Authorization
|
|
73
|
-
|
|
74
|
-
[user](../README.md#user)
|
|
75
|
-
|
|
76
|
-
### HTTP request headers
|
|
77
|
-
|
|
78
|
-
- **Content-Type**: application/json
|
|
79
|
-
- **Accept**: application/json
|
|
80
|
-
|
|
81
|
-
### HTTP response details
|
|
82
|
-
| Status code | Description | Response headers |
|
|
83
|
-
|-------------|-------------|------------------|
|
|
84
|
-
**201** | Successful Response | - |
|
|
85
|
-
**422** | Validation Error | - |
|
|
86
|
-
|
|
87
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
88
|
-
|
|
89
|
-
# **enqueue_batch_run_batch_runs_id_enqueue_patch**
|
|
90
|
-
> BatchRun enqueue_batch_run_batch_runs_id_enqueue_patch(id)
|
|
91
|
-
|
|
92
|
-
Enqueue batch run for execution
|
|
93
|
-
|
|
94
|
-
Enqueue batch run for execution.
|
|
95
|
-
|
|
96
|
-
### Example
|
|
97
|
-
|
|
98
|
-
* Api Key Authentication (user):
|
|
99
|
-
```python
|
|
100
|
-
from __future__ import print_function
|
|
101
|
-
import time
|
|
102
|
-
import compute_api_client
|
|
103
|
-
from compute_api_client.rest import ApiException
|
|
104
|
-
from pprint import pprint
|
|
105
|
-
# Defining the host is optional and defaults to http://localhost
|
|
106
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
107
|
-
configuration = compute_api_client.Configuration(
|
|
108
|
-
host = "http://localhost"
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
# The client must configure the authentication and authorization parameters
|
|
112
|
-
# in accordance with the API server security policy.
|
|
113
|
-
# Examples for each auth method are provided below, use the example that
|
|
114
|
-
# satisfies your auth use case.
|
|
115
|
-
|
|
116
|
-
# Configure API key authorization: user
|
|
117
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
118
|
-
|
|
119
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
120
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
121
|
-
|
|
122
|
-
# Enter a context with an instance of the API client
|
|
123
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
124
|
-
# Create an instance of the API class
|
|
125
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
126
|
-
id = 56 # int |
|
|
127
|
-
|
|
128
|
-
try:
|
|
129
|
-
# Enqueue batch run for execution
|
|
130
|
-
api_response = api_instance.enqueue_batch_run_batch_runs_id_enqueue_patch(id)
|
|
131
|
-
pprint(api_response)
|
|
132
|
-
except ApiException as e:
|
|
133
|
-
print("Exception when calling BatchRunsApi->enqueue_batch_run_batch_runs_id_enqueue_patch: %s\n" % e)
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### Parameters
|
|
137
|
-
|
|
138
|
-
Name | Type | Description | Notes
|
|
139
|
-
------------- | ------------- | ------------- | -------------
|
|
140
|
-
**id** | **int**| |
|
|
141
|
-
|
|
142
|
-
### Return type
|
|
143
|
-
|
|
144
|
-
[**BatchRun**](BatchRun.md)
|
|
145
|
-
|
|
146
|
-
### Authorization
|
|
147
|
-
|
|
148
|
-
[user](../README.md#user)
|
|
149
|
-
|
|
150
|
-
### HTTP request headers
|
|
151
|
-
|
|
152
|
-
- **Content-Type**: Not defined
|
|
153
|
-
- **Accept**: application/json
|
|
154
|
-
|
|
155
|
-
### HTTP response details
|
|
156
|
-
| Status code | Description | Response headers |
|
|
157
|
-
|-------------|-------------|------------------|
|
|
158
|
-
**200** | Successful Response | - |
|
|
159
|
-
**404** | Not Found | - |
|
|
160
|
-
**422** | Validation Error | - |
|
|
161
|
-
|
|
162
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
163
|
-
|
|
164
|
-
# **finish_batch_run_batch_runs_id_finish_patch**
|
|
165
|
-
> BatchRun finish_batch_run_batch_runs_id_finish_patch(id)
|
|
166
|
-
|
|
167
|
-
Finish batch run
|
|
168
|
-
|
|
169
|
-
Finish batch run.
|
|
170
|
-
|
|
171
|
-
### Example
|
|
172
|
-
|
|
173
|
-
* Api Key Authentication (runtime):
|
|
174
|
-
```python
|
|
175
|
-
from __future__ import print_function
|
|
176
|
-
import time
|
|
177
|
-
import compute_api_client
|
|
178
|
-
from compute_api_client.rest import ApiException
|
|
179
|
-
from pprint import pprint
|
|
180
|
-
# Defining the host is optional and defaults to http://localhost
|
|
181
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
182
|
-
configuration = compute_api_client.Configuration(
|
|
183
|
-
host = "http://localhost"
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
# The client must configure the authentication and authorization parameters
|
|
187
|
-
# in accordance with the API server security policy.
|
|
188
|
-
# Examples for each auth method are provided below, use the example that
|
|
189
|
-
# satisfies your auth use case.
|
|
190
|
-
|
|
191
|
-
# Configure API key authorization: runtime
|
|
192
|
-
configuration.api_key['runtime'] = 'YOUR_API_KEY'
|
|
193
|
-
|
|
194
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
195
|
-
# configuration.api_key_prefix['runtime'] = 'Bearer'
|
|
196
|
-
|
|
197
|
-
# Configure API key authorization: user
|
|
198
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
199
|
-
|
|
200
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
201
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
202
|
-
|
|
203
|
-
# Enter a context with an instance of the API client
|
|
204
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
205
|
-
# Create an instance of the API class
|
|
206
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
207
|
-
id = 56 # int |
|
|
208
|
-
|
|
209
|
-
try:
|
|
210
|
-
# Finish batch run
|
|
211
|
-
api_response = api_instance.finish_batch_run_batch_runs_id_finish_patch(id)
|
|
212
|
-
pprint(api_response)
|
|
213
|
-
except ApiException as e:
|
|
214
|
-
print("Exception when calling BatchRunsApi->finish_batch_run_batch_runs_id_finish_patch: %s\n" % e)
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
* Api Key Authentication (user):
|
|
218
|
-
```python
|
|
219
|
-
from __future__ import print_function
|
|
220
|
-
import time
|
|
221
|
-
import compute_api_client
|
|
222
|
-
from compute_api_client.rest import ApiException
|
|
223
|
-
from pprint import pprint
|
|
224
|
-
# Defining the host is optional and defaults to http://localhost
|
|
225
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
226
|
-
configuration = compute_api_client.Configuration(
|
|
227
|
-
host = "http://localhost"
|
|
228
|
-
)
|
|
229
|
-
|
|
230
|
-
# The client must configure the authentication and authorization parameters
|
|
231
|
-
# in accordance with the API server security policy.
|
|
232
|
-
# Examples for each auth method are provided below, use the example that
|
|
233
|
-
# satisfies your auth use case.
|
|
234
|
-
|
|
235
|
-
# Configure API key authorization: runtime
|
|
236
|
-
configuration.api_key['runtime'] = 'YOUR_API_KEY'
|
|
237
|
-
|
|
238
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
239
|
-
# configuration.api_key_prefix['runtime'] = 'Bearer'
|
|
240
|
-
|
|
241
|
-
# Configure API key authorization: user
|
|
242
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
243
|
-
|
|
244
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
245
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
246
|
-
|
|
247
|
-
# Enter a context with an instance of the API client
|
|
248
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
249
|
-
# Create an instance of the API class
|
|
250
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
251
|
-
id = 56 # int |
|
|
252
|
-
|
|
253
|
-
try:
|
|
254
|
-
# Finish batch run
|
|
255
|
-
api_response = api_instance.finish_batch_run_batch_runs_id_finish_patch(id)
|
|
256
|
-
pprint(api_response)
|
|
257
|
-
except ApiException as e:
|
|
258
|
-
print("Exception when calling BatchRunsApi->finish_batch_run_batch_runs_id_finish_patch: %s\n" % e)
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
### Parameters
|
|
262
|
-
|
|
263
|
-
Name | Type | Description | Notes
|
|
264
|
-
------------- | ------------- | ------------- | -------------
|
|
265
|
-
**id** | **int**| |
|
|
266
|
-
|
|
267
|
-
### Return type
|
|
268
|
-
|
|
269
|
-
[**BatchRun**](BatchRun.md)
|
|
270
|
-
|
|
271
|
-
### Authorization
|
|
272
|
-
|
|
273
|
-
[runtime](../README.md#runtime), [user](../README.md#user)
|
|
274
|
-
|
|
275
|
-
### HTTP request headers
|
|
276
|
-
|
|
277
|
-
- **Content-Type**: Not defined
|
|
278
|
-
- **Accept**: application/json
|
|
279
|
-
|
|
280
|
-
### HTTP response details
|
|
281
|
-
| Status code | Description | Response headers |
|
|
282
|
-
|-------------|-------------|------------------|
|
|
283
|
-
**200** | Successful Response | - |
|
|
284
|
-
**404** | Not Found | - |
|
|
285
|
-
**422** | Validation Error | - |
|
|
286
|
-
|
|
287
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
288
|
-
|
|
289
|
-
# **peek_batch_run_batch_runs_peek_patch**
|
|
290
|
-
> BatchRun peek_batch_run_batch_runs_peek_patch(request_body)
|
|
291
|
-
|
|
292
|
-
Peek batch run
|
|
293
|
-
|
|
294
|
-
Get batch run that can be taken up, excluding list of IDs.
|
|
295
|
-
|
|
296
|
-
### Example
|
|
297
|
-
|
|
298
|
-
* Api Key Authentication (runtime):
|
|
299
|
-
```python
|
|
300
|
-
from __future__ import print_function
|
|
301
|
-
import time
|
|
302
|
-
import compute_api_client
|
|
303
|
-
from compute_api_client.rest import ApiException
|
|
304
|
-
from pprint import pprint
|
|
305
|
-
# Defining the host is optional and defaults to http://localhost
|
|
306
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
307
|
-
configuration = compute_api_client.Configuration(
|
|
308
|
-
host = "http://localhost"
|
|
309
|
-
)
|
|
310
|
-
|
|
311
|
-
# The client must configure the authentication and authorization parameters
|
|
312
|
-
# in accordance with the API server security policy.
|
|
313
|
-
# Examples for each auth method are provided below, use the example that
|
|
314
|
-
# satisfies your auth use case.
|
|
315
|
-
|
|
316
|
-
# Configure API key authorization: runtime
|
|
317
|
-
configuration.api_key['runtime'] = 'YOUR_API_KEY'
|
|
318
|
-
|
|
319
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
320
|
-
# configuration.api_key_prefix['runtime'] = 'Bearer'
|
|
321
|
-
|
|
322
|
-
# Configure API key authorization: user
|
|
323
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
324
|
-
|
|
325
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
326
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
327
|
-
|
|
328
|
-
# Enter a context with an instance of the API client
|
|
329
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
330
|
-
# Create an instance of the API class
|
|
331
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
332
|
-
request_body = [56] # list[int] |
|
|
333
|
-
|
|
334
|
-
try:
|
|
335
|
-
# Peek batch run
|
|
336
|
-
api_response = api_instance.peek_batch_run_batch_runs_peek_patch(request_body)
|
|
337
|
-
pprint(api_response)
|
|
338
|
-
except ApiException as e:
|
|
339
|
-
print("Exception when calling BatchRunsApi->peek_batch_run_batch_runs_peek_patch: %s\n" % e)
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
* Api Key Authentication (user):
|
|
343
|
-
```python
|
|
344
|
-
from __future__ import print_function
|
|
345
|
-
import time
|
|
346
|
-
import compute_api_client
|
|
347
|
-
from compute_api_client.rest import ApiException
|
|
348
|
-
from pprint import pprint
|
|
349
|
-
# Defining the host is optional and defaults to http://localhost
|
|
350
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
351
|
-
configuration = compute_api_client.Configuration(
|
|
352
|
-
host = "http://localhost"
|
|
353
|
-
)
|
|
354
|
-
|
|
355
|
-
# The client must configure the authentication and authorization parameters
|
|
356
|
-
# in accordance with the API server security policy.
|
|
357
|
-
# Examples for each auth method are provided below, use the example that
|
|
358
|
-
# satisfies your auth use case.
|
|
359
|
-
|
|
360
|
-
# Configure API key authorization: runtime
|
|
361
|
-
configuration.api_key['runtime'] = 'YOUR_API_KEY'
|
|
362
|
-
|
|
363
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
364
|
-
# configuration.api_key_prefix['runtime'] = 'Bearer'
|
|
365
|
-
|
|
366
|
-
# Configure API key authorization: user
|
|
367
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
368
|
-
|
|
369
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
370
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
371
|
-
|
|
372
|
-
# Enter a context with an instance of the API client
|
|
373
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
374
|
-
# Create an instance of the API class
|
|
375
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
376
|
-
request_body = [56] # list[int] |
|
|
377
|
-
|
|
378
|
-
try:
|
|
379
|
-
# Peek batch run
|
|
380
|
-
api_response = api_instance.peek_batch_run_batch_runs_peek_patch(request_body)
|
|
381
|
-
pprint(api_response)
|
|
382
|
-
except ApiException as e:
|
|
383
|
-
print("Exception when calling BatchRunsApi->peek_batch_run_batch_runs_peek_patch: %s\n" % e)
|
|
384
|
-
```
|
|
385
|
-
|
|
386
|
-
### Parameters
|
|
387
|
-
|
|
388
|
-
Name | Type | Description | Notes
|
|
389
|
-
------------- | ------------- | ------------- | -------------
|
|
390
|
-
**request_body** | [**list[int]**](int.md)| |
|
|
391
|
-
|
|
392
|
-
### Return type
|
|
393
|
-
|
|
394
|
-
[**BatchRun**](BatchRun.md)
|
|
395
|
-
|
|
396
|
-
### Authorization
|
|
397
|
-
|
|
398
|
-
[runtime](../README.md#runtime), [user](../README.md#user)
|
|
399
|
-
|
|
400
|
-
### HTTP request headers
|
|
401
|
-
|
|
402
|
-
- **Content-Type**: application/json
|
|
403
|
-
- **Accept**: application/json
|
|
404
|
-
|
|
405
|
-
### HTTP response details
|
|
406
|
-
| Status code | Description | Response headers |
|
|
407
|
-
|-------------|-------------|------------------|
|
|
408
|
-
**200** | Successful Response | - |
|
|
409
|
-
**422** | Validation Error | - |
|
|
410
|
-
|
|
411
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
412
|
-
|
|
413
|
-
# **pop_batch_run_batch_runs_pop_patch**
|
|
414
|
-
> BatchRun pop_batch_run_batch_runs_pop_patch()
|
|
415
|
-
|
|
416
|
-
Take batch run
|
|
417
|
-
|
|
418
|
-
Claim batch run by ID.
|
|
419
|
-
|
|
420
|
-
### Example
|
|
421
|
-
|
|
422
|
-
* Api Key Authentication (runtime):
|
|
423
|
-
```python
|
|
424
|
-
from __future__ import print_function
|
|
425
|
-
import time
|
|
426
|
-
import compute_api_client
|
|
427
|
-
from compute_api_client.rest import ApiException
|
|
428
|
-
from pprint import pprint
|
|
429
|
-
# Defining the host is optional and defaults to http://localhost
|
|
430
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
431
|
-
configuration = compute_api_client.Configuration(
|
|
432
|
-
host = "http://localhost"
|
|
433
|
-
)
|
|
434
|
-
|
|
435
|
-
# The client must configure the authentication and authorization parameters
|
|
436
|
-
# in accordance with the API server security policy.
|
|
437
|
-
# Examples for each auth method are provided below, use the example that
|
|
438
|
-
# satisfies your auth use case.
|
|
439
|
-
|
|
440
|
-
# Configure API key authorization: runtime
|
|
441
|
-
configuration.api_key['runtime'] = 'YOUR_API_KEY'
|
|
442
|
-
|
|
443
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
444
|
-
# configuration.api_key_prefix['runtime'] = 'Bearer'
|
|
445
|
-
|
|
446
|
-
# Configure API key authorization: user
|
|
447
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
448
|
-
|
|
449
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
450
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
451
|
-
|
|
452
|
-
# Enter a context with an instance of the API client
|
|
453
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
454
|
-
# Create an instance of the API class
|
|
455
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
456
|
-
|
|
457
|
-
try:
|
|
458
|
-
# Take batch run
|
|
459
|
-
api_response = api_instance.pop_batch_run_batch_runs_pop_patch()
|
|
460
|
-
pprint(api_response)
|
|
461
|
-
except ApiException as e:
|
|
462
|
-
print("Exception when calling BatchRunsApi->pop_batch_run_batch_runs_pop_patch: %s\n" % e)
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
* Api Key Authentication (user):
|
|
466
|
-
```python
|
|
467
|
-
from __future__ import print_function
|
|
468
|
-
import time
|
|
469
|
-
import compute_api_client
|
|
470
|
-
from compute_api_client.rest import ApiException
|
|
471
|
-
from pprint import pprint
|
|
472
|
-
# Defining the host is optional and defaults to http://localhost
|
|
473
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
474
|
-
configuration = compute_api_client.Configuration(
|
|
475
|
-
host = "http://localhost"
|
|
476
|
-
)
|
|
477
|
-
|
|
478
|
-
# The client must configure the authentication and authorization parameters
|
|
479
|
-
# in accordance with the API server security policy.
|
|
480
|
-
# Examples for each auth method are provided below, use the example that
|
|
481
|
-
# satisfies your auth use case.
|
|
482
|
-
|
|
483
|
-
# Configure API key authorization: runtime
|
|
484
|
-
configuration.api_key['runtime'] = 'YOUR_API_KEY'
|
|
485
|
-
|
|
486
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
487
|
-
# configuration.api_key_prefix['runtime'] = 'Bearer'
|
|
488
|
-
|
|
489
|
-
# Configure API key authorization: user
|
|
490
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
491
|
-
|
|
492
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
493
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
494
|
-
|
|
495
|
-
# Enter a context with an instance of the API client
|
|
496
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
497
|
-
# Create an instance of the API class
|
|
498
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
499
|
-
|
|
500
|
-
try:
|
|
501
|
-
# Take batch run
|
|
502
|
-
api_response = api_instance.pop_batch_run_batch_runs_pop_patch()
|
|
503
|
-
pprint(api_response)
|
|
504
|
-
except ApiException as e:
|
|
505
|
-
print("Exception when calling BatchRunsApi->pop_batch_run_batch_runs_pop_patch: %s\n" % e)
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
### Parameters
|
|
509
|
-
This endpoint does not need any parameter.
|
|
510
|
-
|
|
511
|
-
### Return type
|
|
512
|
-
|
|
513
|
-
[**BatchRun**](BatchRun.md)
|
|
514
|
-
|
|
515
|
-
### Authorization
|
|
516
|
-
|
|
517
|
-
[runtime](../README.md#runtime), [user](../README.md#user)
|
|
518
|
-
|
|
519
|
-
### HTTP request headers
|
|
520
|
-
|
|
521
|
-
- **Content-Type**: Not defined
|
|
522
|
-
- **Accept**: application/json
|
|
523
|
-
|
|
524
|
-
### HTTP response details
|
|
525
|
-
| Status code | Description | Response headers |
|
|
526
|
-
|-------------|-------------|------------------|
|
|
527
|
-
**200** | Successful Response | - |
|
|
528
|
-
**404** | Not Found | - |
|
|
529
|
-
|
|
530
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
531
|
-
|
|
532
|
-
# **read_batch_runs_batch_runs_get**
|
|
533
|
-
> list[BatchRun] read_batch_runs_batch_runs_get()
|
|
534
|
-
|
|
535
|
-
List batch runs
|
|
536
|
-
|
|
537
|
-
List batch runs.
|
|
538
|
-
|
|
539
|
-
### Example
|
|
540
|
-
|
|
541
|
-
* Api Key Authentication (user):
|
|
542
|
-
```python
|
|
543
|
-
from __future__ import print_function
|
|
544
|
-
import time
|
|
545
|
-
import compute_api_client
|
|
546
|
-
from compute_api_client.rest import ApiException
|
|
547
|
-
from pprint import pprint
|
|
548
|
-
# Defining the host is optional and defaults to http://localhost
|
|
549
|
-
# See configuration.py for a list of all supported configuration parameters.
|
|
550
|
-
configuration = compute_api_client.Configuration(
|
|
551
|
-
host = "http://localhost"
|
|
552
|
-
)
|
|
553
|
-
|
|
554
|
-
# The client must configure the authentication and authorization parameters
|
|
555
|
-
# in accordance with the API server security policy.
|
|
556
|
-
# Examples for each auth method are provided below, use the example that
|
|
557
|
-
# satisfies your auth use case.
|
|
558
|
-
|
|
559
|
-
# Configure API key authorization: user
|
|
560
|
-
configuration.api_key['user'] = 'YOUR_API_KEY'
|
|
561
|
-
|
|
562
|
-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
563
|
-
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
564
|
-
|
|
565
|
-
# Enter a context with an instance of the API client
|
|
566
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
567
|
-
# Create an instance of the API class
|
|
568
|
-
api_instance = compute_api_client.BatchRunsApi(api_client)
|
|
569
|
-
|
|
570
|
-
try:
|
|
571
|
-
# List batch runs
|
|
572
|
-
api_response = api_instance.read_batch_runs_batch_runs_get()
|
|
573
|
-
pprint(api_response)
|
|
574
|
-
except ApiException as e:
|
|
575
|
-
print("Exception when calling BatchRunsApi->read_batch_runs_batch_runs_get: %s\n" % e)
|
|
576
|
-
```
|
|
577
|
-
|
|
578
|
-
### Parameters
|
|
579
|
-
This endpoint does not need any parameter.
|
|
580
|
-
|
|
581
|
-
### Return type
|
|
582
|
-
|
|
583
|
-
[**list[BatchRun]**](BatchRun.md)
|
|
584
|
-
|
|
585
|
-
### Authorization
|
|
586
|
-
|
|
587
|
-
[user](../README.md#user)
|
|
588
|
-
|
|
589
|
-
### HTTP request headers
|
|
590
|
-
|
|
591
|
-
- **Content-Type**: Not defined
|
|
592
|
-
- **Accept**: application/json
|
|
593
|
-
|
|
594
|
-
### HTTP response details
|
|
595
|
-
| Status code | Description | Response headers |
|
|
596
|
-
|-------------|-------------|------------------|
|
|
597
|
-
**200** | Successful Response | - |
|
|
598
|
-
|
|
599
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
600
|
-
|
compute_api_client/docs/Run.md
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# Run
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**created_on** | **datetime** | | [readonly]
|
|
8
|
-
**queued_at** | **datetime** | | [optional]
|
|
9
|
-
**finished_at** | **datetime** | | [optional]
|
|
10
|
-
**id** | **int** | |
|
|
11
|
-
**algorithm_type** | [**AlgorithmType**](AlgorithmType.md) | HYBRID: hybrid<br/>QUANTUM: quantum |
|
|
12
|
-
**status** | [**RunStatus**](RunStatus.md) | PLANNED: planned<br/>RUNNING: running<br/>COMPLETED: completed<br/>CANCELLED: cancelled<br/>FAILED: failed |
|
|
13
|
-
**batch_run_id** | **int** | |
|
|
14
|
-
**file_id** | **int** | |
|
|
15
|
-
|
|
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)
|
|
17
|
-
|
|
18
|
-
|
compute_api_client/docs/RunIn.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# RunIn
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**status** | [**RunStatus**](RunStatus.md) | PLANNED: planned<br/>RUNNING: running<br/>COMPLETED: completed<br/>CANCELLED: cancelled<br/>FAILED: failed | [optional]
|
|
8
|
-
**batch_run_id** | **int** | |
|
|
9
|
-
**file_id** | **int** | |
|
|
10
|
-
|
|
11
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
12
|
-
|
|
13
|
-
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Runtime
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
Name | Type | Description | Notes
|
|
6
|
-
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**id** | **int** | |
|
|
8
|
-
**name** | **str** | |
|
|
9
|
-
**location** | **str** | |
|
|
10
|
-
**status** | [**RuntimeStatus**](RuntimeStatus.md) | OFFLINE: offline<br/>IDLE: idle<br/>EXECUTING: executing<br/>CALIBRATING: calibrating |
|
|
11
|
-
**last_heartbeat** | **datetime** | |
|
|
12
|
-
**runtime_type_id** | **int** | |
|
|
13
|
-
|
|
14
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
15
|
-
|
|
16
|
-
|