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
|
@@ -23,9 +23,8 @@ Create new batch job.
|
|
|
23
23
|
### Example
|
|
24
24
|
|
|
25
25
|
* OAuth Authentication (user_bearer):
|
|
26
|
+
|
|
26
27
|
```python
|
|
27
|
-
import time
|
|
28
|
-
import os
|
|
29
28
|
import compute_api_client
|
|
30
29
|
from compute_api_client.models.batch_job import BatchJob
|
|
31
30
|
from compute_api_client.models.batch_job_in import BatchJobIn
|
|
@@ -64,6 +63,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
64
63
|
|
|
65
64
|
### Parameters
|
|
66
65
|
|
|
66
|
+
|
|
67
67
|
Name | Type | Description | Notes
|
|
68
68
|
------------- | ------------- | ------------- | -------------
|
|
69
69
|
**batch_job_in** | [**BatchJobIn**](BatchJobIn.md)| |
|
|
@@ -82,6 +82,7 @@ Name | Type | Description | Notes
|
|
|
82
82
|
- **Accept**: application/json
|
|
83
83
|
|
|
84
84
|
### HTTP response details
|
|
85
|
+
|
|
85
86
|
| Status code | Description | Response headers |
|
|
86
87
|
|-------------|-------------|------------------|
|
|
87
88
|
**201** | Successful Response | - |
|
|
@@ -99,9 +100,8 @@ Enqueue batch job for execution.
|
|
|
99
100
|
### Example
|
|
100
101
|
|
|
101
102
|
* OAuth Authentication (user_bearer):
|
|
103
|
+
|
|
102
104
|
```python
|
|
103
|
-
import time
|
|
104
|
-
import os
|
|
105
105
|
import compute_api_client
|
|
106
106
|
from compute_api_client.models.batch_job import BatchJob
|
|
107
107
|
from compute_api_client.rest import ApiException
|
|
@@ -139,6 +139,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
139
139
|
|
|
140
140
|
### Parameters
|
|
141
141
|
|
|
142
|
+
|
|
142
143
|
Name | Type | Description | Notes
|
|
143
144
|
------------- | ------------- | ------------- | -------------
|
|
144
145
|
**id** | **int**| |
|
|
@@ -157,6 +158,7 @@ Name | Type | Description | Notes
|
|
|
157
158
|
- **Accept**: application/json
|
|
158
159
|
|
|
159
160
|
### HTTP response details
|
|
161
|
+
|
|
160
162
|
| Status code | Description | Response headers |
|
|
161
163
|
|-------------|-------------|------------------|
|
|
162
164
|
**200** | Successful Response | - |
|
|
@@ -176,9 +178,8 @@ Finish batch job.
|
|
|
176
178
|
|
|
177
179
|
* OAuth Authentication (user_bearer):
|
|
178
180
|
* Api Key Authentication (backend):
|
|
181
|
+
|
|
179
182
|
```python
|
|
180
|
-
import time
|
|
181
|
-
import os
|
|
182
183
|
import compute_api_client
|
|
183
184
|
from compute_api_client.models.batch_job import BatchJob
|
|
184
185
|
from compute_api_client.rest import ApiException
|
|
@@ -222,6 +223,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
222
223
|
|
|
223
224
|
### Parameters
|
|
224
225
|
|
|
226
|
+
|
|
225
227
|
Name | Type | Description | Notes
|
|
226
228
|
------------- | ------------- | ------------- | -------------
|
|
227
229
|
**id** | **int**| |
|
|
@@ -240,6 +242,7 @@ Name | Type | Description | Notes
|
|
|
240
242
|
- **Accept**: application/json
|
|
241
243
|
|
|
242
244
|
### HTTP response details
|
|
245
|
+
|
|
243
246
|
| Status code | Description | Response headers |
|
|
244
247
|
|-------------|-------------|------------------|
|
|
245
248
|
**200** | Successful Response | - |
|
|
@@ -258,9 +261,8 @@ Get batch job that can be taken up, excluding list of IDs.
|
|
|
258
261
|
### Example
|
|
259
262
|
|
|
260
263
|
* Api Key Authentication (backend):
|
|
264
|
+
|
|
261
265
|
```python
|
|
262
|
-
import time
|
|
263
|
-
import os
|
|
264
266
|
import compute_api_client
|
|
265
267
|
from compute_api_client.models.batch_job import BatchJob
|
|
266
268
|
from compute_api_client.rest import ApiException
|
|
@@ -287,7 +289,7 @@ configuration.api_key['backend'] = os.environ["API_KEY"]
|
|
|
287
289
|
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
288
290
|
# Create an instance of the API class
|
|
289
291
|
api_instance = compute_api_client.BatchJobsApi(api_client)
|
|
290
|
-
request_body = [56] # List[int] |
|
|
292
|
+
request_body = [56] # List[Optional[int]] |
|
|
291
293
|
|
|
292
294
|
try:
|
|
293
295
|
# Peek batch job
|
|
@@ -302,9 +304,10 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
302
304
|
|
|
303
305
|
### Parameters
|
|
304
306
|
|
|
307
|
+
|
|
305
308
|
Name | Type | Description | Notes
|
|
306
309
|
------------- | ------------- | ------------- | -------------
|
|
307
|
-
**request_body** | [**List[int]**](int.md)| |
|
|
310
|
+
**request_body** | [**List[Optional[int]]**](int.md)| |
|
|
308
311
|
|
|
309
312
|
### Return type
|
|
310
313
|
|
|
@@ -320,6 +323,7 @@ Name | Type | Description | Notes
|
|
|
320
323
|
- **Accept**: application/json
|
|
321
324
|
|
|
322
325
|
### HTTP response details
|
|
326
|
+
|
|
323
327
|
| Status code | Description | Response headers |
|
|
324
328
|
|-------------|-------------|------------------|
|
|
325
329
|
**200** | Successful Response | - |
|
|
@@ -337,9 +341,8 @@ Claim batch job.
|
|
|
337
341
|
### Example
|
|
338
342
|
|
|
339
343
|
* Api Key Authentication (backend):
|
|
344
|
+
|
|
340
345
|
```python
|
|
341
|
-
import time
|
|
342
|
-
import os
|
|
343
346
|
import compute_api_client
|
|
344
347
|
from compute_api_client.models.batch_job import BatchJob
|
|
345
348
|
from compute_api_client.rest import ApiException
|
|
@@ -379,6 +382,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
379
382
|
|
|
380
383
|
|
|
381
384
|
### Parameters
|
|
385
|
+
|
|
382
386
|
This endpoint does not need any parameter.
|
|
383
387
|
|
|
384
388
|
### Return type
|
|
@@ -395,6 +399,7 @@ This endpoint does not need any parameter.
|
|
|
395
399
|
- **Accept**: application/json
|
|
396
400
|
|
|
397
401
|
### HTTP response details
|
|
402
|
+
|
|
398
403
|
| Status code | Description | Response headers |
|
|
399
404
|
|-------------|-------------|------------------|
|
|
400
405
|
**200** | Successful Response | - |
|
|
@@ -412,9 +417,8 @@ List batch jobs.
|
|
|
412
417
|
### Example
|
|
413
418
|
|
|
414
419
|
* OAuth Authentication (user_bearer):
|
|
420
|
+
|
|
415
421
|
```python
|
|
416
|
-
import time
|
|
417
|
-
import os
|
|
418
422
|
import compute_api_client
|
|
419
423
|
from compute_api_client.models.algorithm_type import AlgorithmType
|
|
420
424
|
from compute_api_client.models.batch_job_status import BatchJobStatus
|
|
@@ -470,6 +474,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
470
474
|
|
|
471
475
|
### Parameters
|
|
472
476
|
|
|
477
|
+
|
|
473
478
|
Name | Type | Description | Notes
|
|
474
479
|
------------- | ------------- | ------------- | -------------
|
|
475
480
|
**id** | **int**| | [optional]
|
|
@@ -504,6 +509,7 @@ Name | Type | Description | Notes
|
|
|
504
509
|
- **Accept**: application/json
|
|
505
510
|
|
|
506
511
|
### HTTP response details
|
|
512
|
+
|
|
507
513
|
| Status code | Description | Response headers |
|
|
508
514
|
|-------------|-------------|------------------|
|
|
509
515
|
**200** | Successful Response | - |
|
|
@@ -521,9 +527,8 @@ Unclaim batch job.
|
|
|
521
527
|
### Example
|
|
522
528
|
|
|
523
529
|
* Api Key Authentication (backend):
|
|
530
|
+
|
|
524
531
|
```python
|
|
525
|
-
import time
|
|
526
|
-
import os
|
|
527
532
|
import compute_api_client
|
|
528
533
|
from compute_api_client.models.batch_job import BatchJob
|
|
529
534
|
from compute_api_client.rest import ApiException
|
|
@@ -565,6 +570,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
565
570
|
|
|
566
571
|
### Parameters
|
|
567
572
|
|
|
573
|
+
|
|
568
574
|
Name | Type | Description | Notes
|
|
569
575
|
------------- | ------------- | ------------- | -------------
|
|
570
576
|
**id** | **int**| |
|
|
@@ -583,6 +589,7 @@ Name | Type | Description | Notes
|
|
|
583
589
|
- **Accept**: application/json
|
|
584
590
|
|
|
585
591
|
### HTTP response details
|
|
592
|
+
|
|
586
593
|
| Status code | Description | Response headers |
|
|
587
594
|
|-------------|-------------|------------------|
|
|
588
595
|
**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
|
-
**created_on** | **datetime** |
|
|
9
|
-
**hash** | **str** |
|
|
10
|
-
**description** | **str** |
|
|
11
|
-
**algorithm_id** | **int** |
|
|
8
|
+
**id** | **int** | ID of the commit |
|
|
9
|
+
**created_on** | **datetime** | Time of creation of the commit |
|
|
10
|
+
**hash** | **str** | Unique hash assigned to the commit |
|
|
11
|
+
**description** | **str** | Desriptive message of the commit |
|
|
12
|
+
**algorithm_id** | **int** | ID of the algorithm |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,12 +21,12 @@ json = "{}"
|
|
|
20
21
|
# create an instance of Commit from a JSON string
|
|
21
22
|
commit_instance = Commit.from_json(json)
|
|
22
23
|
# print the JSON string representation of the object
|
|
23
|
-
print
|
|
24
|
+
print(Commit.to_json())
|
|
24
25
|
|
|
25
26
|
# convert the object into a dict
|
|
26
27
|
commit_dict = commit_instance.to_dict()
|
|
27
28
|
# create an instance of Commit from a dict
|
|
28
|
-
|
|
29
|
+
commit_from_dict = Commit.from_dict(commit_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
|
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**description** | **str** |
|
|
8
|
-
**algorithm_id** | **int** |
|
|
8
|
+
**description** | **str** | Desriptive message of the commit |
|
|
9
|
+
**algorithm_id** | **int** | ID of the algorithm |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -17,12 +18,12 @@ json = "{}"
|
|
|
17
18
|
# create an instance of CommitIn from a JSON string
|
|
18
19
|
commit_in_instance = CommitIn.from_json(json)
|
|
19
20
|
# print the JSON string representation of the object
|
|
20
|
-
print
|
|
21
|
+
print(CommitIn.to_json())
|
|
21
22
|
|
|
22
23
|
# convert the object into a dict
|
|
23
24
|
commit_in_dict = commit_in_instance.to_dict()
|
|
24
25
|
# create an instance of CommitIn from a dict
|
|
25
|
-
|
|
26
|
+
commit_in_from_dict = CommitIn.from_dict(commit_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
|
|
|
@@ -22,9 +22,8 @@ Compile file in a commit.
|
|
|
22
22
|
|
|
23
23
|
* OAuth Authentication (user_bearer):
|
|
24
24
|
* Api Key Authentication (backend):
|
|
25
|
+
|
|
25
26
|
```python
|
|
26
|
-
import time
|
|
27
|
-
import os
|
|
28
27
|
import compute_api_client
|
|
29
28
|
from compute_api_client.models.compile_payload import CompilePayload
|
|
30
29
|
from compute_api_client.rest import ApiException
|
|
@@ -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
|
**id** | **int**| |
|
|
@@ -86,6 +86,7 @@ void (empty response body)
|
|
|
86
86
|
- **Accept**: application/json
|
|
87
87
|
|
|
88
88
|
### HTTP response details
|
|
89
|
+
|
|
89
90
|
| Status code | Description | Response headers |
|
|
90
91
|
|-------------|-------------|------------------|
|
|
91
92
|
**204** | Compiled | - |
|
|
@@ -105,9 +106,8 @@ Create new commit.
|
|
|
105
106
|
### Example
|
|
106
107
|
|
|
107
108
|
* OAuth Authentication (user_bearer):
|
|
109
|
+
|
|
108
110
|
```python
|
|
109
|
-
import time
|
|
110
|
-
import os
|
|
111
111
|
import compute_api_client
|
|
112
112
|
from compute_api_client.models.commit import Commit
|
|
113
113
|
from compute_api_client.models.commit_in import CommitIn
|
|
@@ -146,6 +146,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
146
146
|
|
|
147
147
|
### Parameters
|
|
148
148
|
|
|
149
|
+
|
|
149
150
|
Name | Type | Description | Notes
|
|
150
151
|
------------- | ------------- | ------------- | -------------
|
|
151
152
|
**commit_in** | [**CommitIn**](CommitIn.md)| |
|
|
@@ -164,6 +165,7 @@ Name | Type | Description | Notes
|
|
|
164
165
|
- **Accept**: application/json
|
|
165
166
|
|
|
166
167
|
### HTTP response details
|
|
168
|
+
|
|
167
169
|
| Status code | Description | Response headers |
|
|
168
170
|
|-------------|-------------|------------------|
|
|
169
171
|
**201** | Successful Response | - |
|
|
@@ -181,9 +183,8 @@ Delete a commit.
|
|
|
181
183
|
### Example
|
|
182
184
|
|
|
183
185
|
* OAuth Authentication (user_bearer):
|
|
186
|
+
|
|
184
187
|
```python
|
|
185
|
-
import time
|
|
186
|
-
import os
|
|
187
188
|
import compute_api_client
|
|
188
189
|
from compute_api_client.rest import ApiException
|
|
189
190
|
from pprint import pprint
|
|
@@ -218,6 +219,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
218
219
|
|
|
219
220
|
### Parameters
|
|
220
221
|
|
|
222
|
+
|
|
221
223
|
Name | Type | Description | Notes
|
|
222
224
|
------------- | ------------- | ------------- | -------------
|
|
223
225
|
**id** | **int**| |
|
|
@@ -236,6 +238,7 @@ void (empty response body)
|
|
|
236
238
|
- **Accept**: application/json
|
|
237
239
|
|
|
238
240
|
### HTTP response details
|
|
241
|
+
|
|
239
242
|
| Status code | Description | Response headers |
|
|
240
243
|
|-------------|-------------|------------------|
|
|
241
244
|
**204** | Successful Response | - |
|
|
@@ -255,9 +258,8 @@ Get commit by ID.
|
|
|
255
258
|
|
|
256
259
|
* OAuth Authentication (user_bearer):
|
|
257
260
|
* Api Key Authentication (backend):
|
|
261
|
+
|
|
258
262
|
```python
|
|
259
|
-
import time
|
|
260
|
-
import os
|
|
261
263
|
import compute_api_client
|
|
262
264
|
from compute_api_client.models.commit import Commit
|
|
263
265
|
from compute_api_client.rest import ApiException
|
|
@@ -301,6 +303,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
301
303
|
|
|
302
304
|
### Parameters
|
|
303
305
|
|
|
306
|
+
|
|
304
307
|
Name | Type | Description | Notes
|
|
305
308
|
------------- | ------------- | ------------- | -------------
|
|
306
309
|
**id** | **int**| |
|
|
@@ -319,6 +322,7 @@ Name | Type | Description | Notes
|
|
|
319
322
|
- **Accept**: application/json
|
|
320
323
|
|
|
321
324
|
### HTTP response details
|
|
325
|
+
|
|
322
326
|
| Status code | Description | Response headers |
|
|
323
327
|
|-------------|-------------|------------------|
|
|
324
328
|
**200** | Successful Response | - |
|
|
@@ -337,9 +341,8 @@ List commits.
|
|
|
337
341
|
### Example
|
|
338
342
|
|
|
339
343
|
* OAuth Authentication (user_bearer):
|
|
344
|
+
|
|
340
345
|
```python
|
|
341
|
-
import time
|
|
342
|
-
import os
|
|
343
346
|
import compute_api_client
|
|
344
347
|
from compute_api_client.models.page_commit import PageCommit
|
|
345
348
|
from compute_api_client.rest import ApiException
|
|
@@ -385,6 +388,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
385
388
|
|
|
386
389
|
### Parameters
|
|
387
390
|
|
|
391
|
+
|
|
388
392
|
Name | Type | Description | Notes
|
|
389
393
|
------------- | ------------- | ------------- | -------------
|
|
390
394
|
**id** | **int**| | [optional]
|
|
@@ -411,6 +415,7 @@ Name | Type | Description | Notes
|
|
|
411
415
|
- **Accept**: application/json
|
|
412
416
|
|
|
413
417
|
### HTTP response details
|
|
418
|
+
|
|
414
419
|
| Status code | Description | Response headers |
|
|
415
420
|
|-------------|-------------|------------------|
|
|
416
421
|
**200** | Successful Response | - |
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
8
|
**compile_stage** | [**CompileStage**](CompileStage.md) | | [optional]
|
|
8
|
-
**backend_type_id** | **int** |
|
|
9
|
+
**backend_type_id** | **int** | ID of the backendtype |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -17,12 +18,12 @@ json = "{}"
|
|
|
17
18
|
# create an instance of CompilePayload from a JSON string
|
|
18
19
|
compile_payload_instance = CompilePayload.from_json(json)
|
|
19
20
|
# print the JSON string representation of the object
|
|
20
|
-
print
|
|
21
|
+
print(CompilePayload.to_json())
|
|
21
22
|
|
|
22
23
|
# convert the object into a dict
|
|
23
24
|
compile_payload_dict = compile_payload_instance.to_dict()
|
|
24
25
|
# create an instance of CompilePayload from a dict
|
|
25
|
-
|
|
26
|
+
compile_payload_from_dict = CompilePayload.from_dict(compile_payload_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
|
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# CompileStage
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
##
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `NONE` (value: `'none'`)
|
|
7
|
+
|
|
8
|
+
* `DECOMPOSITION` (value: `'decomposition'`)
|
|
9
|
+
|
|
10
|
+
* `MAPPING` (value: `'mapping'`)
|
|
11
|
+
|
|
12
|
+
* `OPTIMIZATION` (value: `'optimization'`)
|
|
13
|
+
|
|
14
|
+
* `ROUTING` (value: `'routing'`)
|
|
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
|
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Domain
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
##
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `COMPUTE` (value: `'compute'`)
|
|
7
|
+
|
|
8
|
+
* `NETWORKING` (value: `'networking'`)
|
|
9
|
+
|
|
10
|
+
* `SIMULATE` (value: `'simulate'`)
|
|
7
11
|
|
|
8
12
|
[[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
13
|
|
compute_api_client/docs/File.md
CHANGED
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**id** | **int** |
|
|
8
|
-
**commit_id** | **int** |
|
|
9
|
-
**content** | **str** |
|
|
10
|
-
**language_id** | **int** |
|
|
11
|
-
**compile_stage** | [**CompileStage**](CompileStage.md) |
|
|
12
|
-
**compile_properties** | **Dict[str, object]** |
|
|
13
|
-
**generated** | **bool** |
|
|
8
|
+
**id** | **int** | ID of the file |
|
|
9
|
+
**commit_id** | **int** | ID of the commit |
|
|
10
|
+
**content** | **str** | The content of the file |
|
|
11
|
+
**language_id** | **int** | ID of the language |
|
|
12
|
+
**compile_stage** | [**CompileStage**](CompileStage.md) | The stage upto which the file has been compiled |
|
|
13
|
+
**compile_properties** | **Dict[str, object]** | The compile properties of the file |
|
|
14
|
+
**generated** | **bool** | If the file is a generated file |
|
|
14
15
|
**name** | **str** | | [optional]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
@@ -23,12 +24,12 @@ json = "{}"
|
|
|
23
24
|
# create an instance of File from a JSON string
|
|
24
25
|
file_instance = File.from_json(json)
|
|
25
26
|
# print the JSON string representation of the object
|
|
26
|
-
print
|
|
27
|
+
print(File.to_json())
|
|
27
28
|
|
|
28
29
|
# convert the object into a dict
|
|
29
30
|
file_dict = file_instance.to_dict()
|
|
30
31
|
# create an instance of File from a dict
|
|
31
|
-
|
|
32
|
+
file_from_dict = File.from_dict(file_dict)
|
|
32
33
|
```
|
|
33
34
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
34
35
|
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**commit_id** | **int** |
|
|
8
|
-
**content** | **str** |
|
|
9
|
-
**language_id** | **int** |
|
|
10
|
-
**compile_stage** | [**CompileStage**](CompileStage.md) |
|
|
11
|
-
**compile_properties** | **Dict[str, object]** |
|
|
12
|
-
**generated** | **bool** |
|
|
8
|
+
**commit_id** | **int** | ID of the commit |
|
|
9
|
+
**content** | **str** | The content of the file |
|
|
10
|
+
**language_id** | **int** | ID of the language |
|
|
11
|
+
**compile_stage** | [**CompileStage**](CompileStage.md) | Stage upto which the file has been compiled |
|
|
12
|
+
**compile_properties** | **Dict[str, object]** | The compile properties of the file |
|
|
13
|
+
**generated** | **bool** | If the file is a generated file | [optional] [default to False]
|
|
13
14
|
**name** | **str** | | [optional]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -22,12 +23,12 @@ json = "{}"
|
|
|
22
23
|
# create an instance of FileIn from a JSON string
|
|
23
24
|
file_in_instance = FileIn.from_json(json)
|
|
24
25
|
# print the JSON string representation of the object
|
|
25
|
-
print
|
|
26
|
+
print(FileIn.to_json())
|
|
26
27
|
|
|
27
28
|
# convert the object into a dict
|
|
28
29
|
file_in_dict = file_in_instance.to_dict()
|
|
29
30
|
# create an instance of FileIn from a dict
|
|
30
|
-
|
|
31
|
+
file_in_from_dict = FileIn.from_dict(file_in_dict)
|
|
31
32
|
```
|
|
32
33
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
33
34
|
|
|
@@ -20,9 +20,8 @@ Create new file.
|
|
|
20
20
|
### Example
|
|
21
21
|
|
|
22
22
|
* OAuth Authentication (user_bearer):
|
|
23
|
+
|
|
23
24
|
```python
|
|
24
|
-
import time
|
|
25
|
-
import os
|
|
26
25
|
import compute_api_client
|
|
27
26
|
from compute_api_client.models.file import File
|
|
28
27
|
from compute_api_client.models.file_in import FileIn
|
|
@@ -61,6 +60,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
61
60
|
|
|
62
61
|
### Parameters
|
|
63
62
|
|
|
63
|
+
|
|
64
64
|
Name | Type | Description | Notes
|
|
65
65
|
------------- | ------------- | ------------- | -------------
|
|
66
66
|
**file_in** | [**FileIn**](FileIn.md)| |
|
|
@@ -79,6 +79,7 @@ Name | Type | Description | Notes
|
|
|
79
79
|
- **Accept**: application/json
|
|
80
80
|
|
|
81
81
|
### HTTP response details
|
|
82
|
+
|
|
82
83
|
| Status code | Description | Response headers |
|
|
83
84
|
|-------------|-------------|------------------|
|
|
84
85
|
**201** | Successful Response | - |
|
|
@@ -96,9 +97,8 @@ Delete a file.
|
|
|
96
97
|
### Example
|
|
97
98
|
|
|
98
99
|
* OAuth Authentication (user_bearer):
|
|
100
|
+
|
|
99
101
|
```python
|
|
100
|
-
import time
|
|
101
|
-
import os
|
|
102
102
|
import compute_api_client
|
|
103
103
|
from compute_api_client.rest import ApiException
|
|
104
104
|
from pprint import pprint
|
|
@@ -133,6 +133,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
133
133
|
|
|
134
134
|
### Parameters
|
|
135
135
|
|
|
136
|
+
|
|
136
137
|
Name | Type | Description | Notes
|
|
137
138
|
------------- | ------------- | ------------- | -------------
|
|
138
139
|
**id** | **int**| |
|
|
@@ -151,6 +152,7 @@ void (empty response body)
|
|
|
151
152
|
- **Accept**: application/json
|
|
152
153
|
|
|
153
154
|
### HTTP response details
|
|
155
|
+
|
|
154
156
|
| Status code | Description | Response headers |
|
|
155
157
|
|-------------|-------------|------------------|
|
|
156
158
|
**204** | Successful Response | - |
|
|
@@ -170,9 +172,8 @@ Get file by ID.
|
|
|
170
172
|
|
|
171
173
|
* OAuth Authentication (user_bearer):
|
|
172
174
|
* Api Key Authentication (backend):
|
|
175
|
+
|
|
173
176
|
```python
|
|
174
|
-
import time
|
|
175
|
-
import os
|
|
176
177
|
import compute_api_client
|
|
177
178
|
from compute_api_client.models.file import File
|
|
178
179
|
from compute_api_client.rest import ApiException
|
|
@@ -216,6 +217,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
216
217
|
|
|
217
218
|
### Parameters
|
|
218
219
|
|
|
220
|
+
|
|
219
221
|
Name | Type | Description | Notes
|
|
220
222
|
------------- | ------------- | ------------- | -------------
|
|
221
223
|
**id** | **int**| |
|
|
@@ -234,6 +236,7 @@ Name | Type | Description | Notes
|
|
|
234
236
|
- **Accept**: application/json
|
|
235
237
|
|
|
236
238
|
### HTTP response details
|
|
239
|
+
|
|
237
240
|
| Status code | Description | Response headers |
|
|
238
241
|
|-------------|-------------|------------------|
|
|
239
242
|
**200** | Successful Response | - |
|
|
@@ -252,9 +255,8 @@ List files.
|
|
|
252
255
|
### Example
|
|
253
256
|
|
|
254
257
|
* OAuth Authentication (user_bearer):
|
|
258
|
+
|
|
255
259
|
```python
|
|
256
|
-
import time
|
|
257
|
-
import os
|
|
258
260
|
import compute_api_client
|
|
259
261
|
from compute_api_client.models.compile_stage import CompileStage
|
|
260
262
|
from compute_api_client.models.page_file import PageFile
|
|
@@ -304,6 +306,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
|
|
|
304
306
|
|
|
305
307
|
### Parameters
|
|
306
308
|
|
|
309
|
+
|
|
307
310
|
Name | Type | Description | Notes
|
|
308
311
|
------------- | ------------- | ------------- | -------------
|
|
309
312
|
**id** | **int**| | [optional]
|
|
@@ -333,6 +336,7 @@ Name | Type | Description | Notes
|
|
|
333
336
|
- **Accept**: application/json
|
|
334
337
|
|
|
335
338
|
### HTTP response details
|
|
339
|
+
|
|
336
340
|
| Status code | Description | Response headers |
|
|
337
341
|
|-------------|-------------|------------------|
|
|
338
342
|
**200** | Successful Response | - |
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
|
+
|
|
5
6
|
Name | Type | Description | Notes
|
|
6
7
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**id** | **int** |
|
|
8
|
-
**created_on** | **datetime** |
|
|
9
|
-
**job_id** | **int** |
|
|
10
|
-
**final_result** | **Dict[str, object]** |
|
|
8
|
+
**id** | **int** | ID of the final result |
|
|
9
|
+
**created_on** | **datetime** | Time of creation of the final result |
|
|
10
|
+
**job_id** | **int** | ID of the job |
|
|
11
|
+
**final_result** | **Dict[str, object]** | The final results of the job |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -19,12 +20,12 @@ json = "{}"
|
|
|
19
20
|
# create an instance of FinalResult from a JSON string
|
|
20
21
|
final_result_instance = FinalResult.from_json(json)
|
|
21
22
|
# print the JSON string representation of the object
|
|
22
|
-
print
|
|
23
|
+
print(FinalResult.to_json())
|
|
23
24
|
|
|
24
25
|
# convert the object into a dict
|
|
25
26
|
final_result_dict = final_result_instance.to_dict()
|
|
26
27
|
# create an instance of FinalResult from a dict
|
|
27
|
-
|
|
28
|
+
final_result_from_dict = FinalResult.from_dict(final_result_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
|
|