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.

Files changed (188) hide show
  1. compute_api_client/__init__.py +194 -95
  2. compute_api_client/api/algorithms_api.py +75 -81
  3. compute_api_client/api/auth_config_api.py +16 -24
  4. compute_api_client/api/backend_api.py +70 -86
  5. compute_api_client/api/backend_types_api.py +43 -56
  6. compute_api_client/api/batch_jobs_api.py +102 -120
  7. compute_api_client/api/commits_api.py +85 -80
  8. compute_api_client/api/files_api.py +62 -67
  9. compute_api_client/api/final_results_api.py +42 -53
  10. compute_api_client/api/health_api.py +16 -25
  11. compute_api_client/api/jobs_api.py +76 -83
  12. compute_api_client/api/languages_api.py +30 -42
  13. compute_api_client/api/members_api.py +62 -67
  14. compute_api_client/api/permissions_api.py +56 -70
  15. compute_api_client/api/projects_api.py +89 -97
  16. compute_api_client/api/reservations_api.py +57 -72
  17. compute_api_client/api/results_api.py +76 -83
  18. compute_api_client/api/teams_api.py +30 -42
  19. compute_api_client/api/transactions_api.py +31 -44
  20. compute_api_client/api/users_api.py +62 -67
  21. compute_api_client/api_client.py +135 -75
  22. compute_api_client/api_response.py +3 -3
  23. compute_api_client/configuration.py +176 -36
  24. compute_api_client/docs/Algorithm.md +8 -7
  25. compute_api_client/docs/AlgorithmIn.md +7 -6
  26. compute_api_client/docs/AlgorithmType.md +5 -3
  27. compute_api_client/docs/AlgorithmsApi.md +15 -10
  28. compute_api_client/docs/AuthConfig.md +3 -2
  29. compute_api_client/docs/AuthConfigApi.md +3 -2
  30. compute_api_client/docs/Backend.md +9 -8
  31. compute_api_client/docs/BackendApi.md +15 -10
  32. compute_api_client/docs/BackendIn.md +8 -7
  33. compute_api_client/docs/BackendPatch.md +5 -4
  34. compute_api_client/docs/BackendStatus.md +9 -3
  35. compute_api_client/docs/BackendType.md +20 -19
  36. compute_api_client/docs/BackendTypePatch.md +3 -2
  37. compute_api_client/docs/BackendTypesApi.md +15 -8
  38. compute_api_client/docs/BackendWithAuthentication.md +10 -9
  39. compute_api_client/docs/BatchJob.md +10 -9
  40. compute_api_client/docs/BatchJobIn.md +4 -3
  41. compute_api_client/docs/BatchJobStatus.md +11 -3
  42. compute_api_client/docs/BatchJobsApi.md +23 -16
  43. compute_api_client/docs/Commit.md +8 -7
  44. compute_api_client/docs/CommitIn.md +5 -4
  45. compute_api_client/docs/CommitsApi.md +15 -10
  46. compute_api_client/docs/CompilePayload.md +4 -3
  47. compute_api_client/docs/CompileStage.md +11 -3
  48. compute_api_client/docs/Domain.md +7 -3
  49. compute_api_client/docs/File.md +10 -9
  50. compute_api_client/docs/FileIn.md +9 -8
  51. compute_api_client/docs/FilesApi.md +12 -8
  52. compute_api_client/docs/FinalResult.md +7 -6
  53. compute_api_client/docs/FinalResultIn.md +5 -4
  54. compute_api_client/docs/FinalResultsApi.md +9 -6
  55. compute_api_client/docs/HTTPBadRequestError.md +3 -2
  56. compute_api_client/docs/HTTPNotFoundError.md +3 -2
  57. compute_api_client/docs/HTTPValidationError.md +3 -2
  58. compute_api_client/docs/HealthApi.md +3 -2
  59. compute_api_client/docs/Job.md +13 -12
  60. compute_api_client/docs/JobIn.md +6 -5
  61. compute_api_client/docs/JobPatch.md +8 -7
  62. compute_api_client/docs/JobStatus.md +11 -3
  63. compute_api_client/docs/JobsApi.md +15 -10
  64. compute_api_client/docs/Language.md +6 -5
  65. compute_api_client/docs/LanguagesApi.md +6 -4
  66. compute_api_client/docs/Member.md +8 -7
  67. compute_api_client/docs/MemberId.md +28 -0
  68. compute_api_client/docs/MemberIn.md +7 -6
  69. compute_api_client/docs/MembersApi.md +12 -8
  70. compute_api_client/docs/PageAlgorithm.md +3 -2
  71. compute_api_client/docs/PageBackend.md +3 -2
  72. compute_api_client/docs/PageBackendType.md +3 -2
  73. compute_api_client/docs/PageBatchJob.md +3 -2
  74. compute_api_client/docs/PageCommit.md +3 -2
  75. compute_api_client/docs/PageFile.md +3 -2
  76. compute_api_client/docs/PageJob.md +3 -2
  77. compute_api_client/docs/PageLanguage.md +3 -2
  78. compute_api_client/docs/PageMember.md +3 -2
  79. compute_api_client/docs/PagePermission.md +3 -2
  80. compute_api_client/docs/PagePermissionGroup.md +3 -2
  81. compute_api_client/docs/PageProject.md +3 -2
  82. compute_api_client/docs/PageReservation.md +3 -2
  83. compute_api_client/docs/PageResult.md +3 -2
  84. compute_api_client/docs/PageTeam.md +3 -2
  85. compute_api_client/docs/PageTransaction.md +3 -2
  86. compute_api_client/docs/PageUser.md +3 -2
  87. compute_api_client/docs/Permission.md +6 -5
  88. compute_api_client/docs/PermissionGroup.md +5 -4
  89. compute_api_client/docs/PermissionsApi.md +12 -8
  90. compute_api_client/docs/Project.md +9 -8
  91. compute_api_client/docs/ProjectIn.md +7 -6
  92. compute_api_client/docs/ProjectPatch.md +3 -2
  93. compute_api_client/docs/ProjectsApi.md +23 -13
  94. compute_api_client/docs/Reservation.md +9 -8
  95. compute_api_client/docs/ReservationIn.md +7 -6
  96. compute_api_client/docs/ReservationsApi.md +12 -8
  97. compute_api_client/docs/Result.md +7 -6
  98. compute_api_client/docs/ResultIn.md +5 -4
  99. compute_api_client/docs/ResultsApi.md +15 -10
  100. compute_api_client/docs/Role.md +5 -3
  101. compute_api_client/docs/ShareType.md +7 -3
  102. compute_api_client/docs/Team.md +7 -6
  103. compute_api_client/docs/TeamsApi.md +6 -4
  104. compute_api_client/docs/Transaction.md +6 -5
  105. compute_api_client/docs/TransactionDomain.md +28 -0
  106. compute_api_client/docs/TransactionsApi.md +6 -4
  107. compute_api_client/docs/User.md +11 -10
  108. compute_api_client/docs/UserIn.md +10 -9
  109. compute_api_client/docs/UsersApi.md +12 -8
  110. compute_api_client/docs/ValidationError.md +4 -3
  111. compute_api_client/docs/ValidationErrorLocInner.md +28 -0
  112. compute_api_client/exceptions.py +74 -24
  113. compute_api_client/models/__init__.py +1 -1
  114. compute_api_client/models/algorithm.py +19 -20
  115. compute_api_client/models/algorithm_in.py +18 -19
  116. compute_api_client/models/algorithm_type.py +1 -9
  117. compute_api_client/models/auth_config.py +14 -14
  118. compute_api_client/models/backend.py +20 -20
  119. compute_api_client/models/backend_in.py +19 -19
  120. compute_api_client/models/backend_patch.py +16 -15
  121. compute_api_client/models/backend_status.py +1 -9
  122. compute_api_client/models/backend_type.py +31 -32
  123. compute_api_client/models/backend_type_patch.py +14 -15
  124. compute_api_client/models/backend_with_authentication.py +21 -21
  125. compute_api_client/models/batch_job.py +21 -20
  126. compute_api_client/models/batch_job_in.py +15 -15
  127. compute_api_client/models/batch_job_status.py +1 -9
  128. compute_api_client/models/commit.py +19 -19
  129. compute_api_client/models/commit_in.py +16 -16
  130. compute_api_client/models/compile_payload.py +15 -15
  131. compute_api_client/models/compile_stage.py +1 -9
  132. compute_api_client/models/domain.py +1 -9
  133. compute_api_client/models/file.py +21 -22
  134. compute_api_client/models/file_in.py +20 -21
  135. compute_api_client/models/final_result.py +18 -17
  136. compute_api_client/models/final_result_in.py +16 -16
  137. compute_api_client/models/http_bad_request_error.py +14 -14
  138. compute_api_client/models/http_not_found_error.py +14 -14
  139. compute_api_client/models/http_validation_error.py +18 -18
  140. compute_api_client/models/job.py +24 -24
  141. compute_api_client/models/job_in.py +17 -17
  142. compute_api_client/models/job_patch.py +19 -20
  143. compute_api_client/models/job_status.py +1 -9
  144. compute_api_client/models/language.py +17 -18
  145. compute_api_client/models/member.py +19 -19
  146. compute_api_client/models/member_id.py +144 -0
  147. compute_api_client/models/member_in.py +18 -18
  148. compute_api_client/models/page_algorithm.py +18 -19
  149. compute_api_client/models/page_backend.py +18 -19
  150. compute_api_client/models/page_backend_type.py +18 -19
  151. compute_api_client/models/page_batch_job.py +18 -19
  152. compute_api_client/models/page_commit.py +18 -19
  153. compute_api_client/models/page_file.py +18 -19
  154. compute_api_client/models/page_job.py +18 -19
  155. compute_api_client/models/page_language.py +18 -19
  156. compute_api_client/models/page_member.py +18 -19
  157. compute_api_client/models/page_permission.py +18 -19
  158. compute_api_client/models/page_permission_group.py +18 -19
  159. compute_api_client/models/page_project.py +18 -19
  160. compute_api_client/models/page_reservation.py +18 -19
  161. compute_api_client/models/page_result.py +18 -19
  162. compute_api_client/models/page_team.py +18 -19
  163. compute_api_client/models/page_transaction.py +18 -19
  164. compute_api_client/models/page_user.py +18 -19
  165. compute_api_client/models/permission.py +17 -18
  166. compute_api_client/models/permission_group.py +16 -17
  167. compute_api_client/models/project.py +20 -20
  168. compute_api_client/models/project_in.py +18 -19
  169. compute_api_client/models/project_patch.py +14 -15
  170. compute_api_client/models/reservation.py +20 -19
  171. compute_api_client/models/reservation_in.py +18 -17
  172. compute_api_client/models/result.py +18 -17
  173. compute_api_client/models/result_in.py +16 -16
  174. compute_api_client/models/role.py +1 -9
  175. compute_api_client/models/share_type.py +1 -9
  176. compute_api_client/models/team.py +18 -19
  177. compute_api_client/models/transaction.py +17 -17
  178. compute_api_client/models/transaction_domain.py +142 -0
  179. compute_api_client/models/user.py +22 -23
  180. compute_api_client/models/user_in.py +21 -22
  181. compute_api_client/models/validation_error.py +20 -20
  182. compute_api_client/models/validation_error_loc_inner.py +138 -0
  183. compute_api_client/rest.py +51 -26
  184. {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.1.dist-info}/METADATA +12 -9
  185. qi_compute_api_client-0.54.1.dist-info/RECORD +203 -0
  186. qi_compute_api_client-0.53.0.dist-info/RECORD +0 -197
  187. {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.1.dist-info}/WHEEL +0 -0
  188. {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.1.dist-info}/licenses/LICENSE.md +0 -0
@@ -2,14 +2,15 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **id** | **int** | |
8
- **created_on** | **datetime** | |
9
- **owner_id** | **int** | |
10
- **name** | **str** | |
11
- **description** | **str** | |
12
- **starred** | **bool** | |
8
+ **id** | **int** | The ID of the project |
9
+ **created_on** | **datetime** | Time of creation of the project |
10
+ **owner_id** | **int** | The ID of the project owner |
11
+ **name** | **str** | The name of the project |
12
+ **description** | **str** | The description of the project |
13
+ **starred** | **bool** | If the project is starred |
13
14
 
14
15
  ## Example
15
16
 
@@ -21,12 +22,12 @@ json = "{}"
21
22
  # create an instance of Project from a JSON string
22
23
  project_instance = Project.from_json(json)
23
24
  # print the JSON string representation of the object
24
- print Project.to_json()
25
+ print(Project.to_json())
25
26
 
26
27
  # convert the object into a dict
27
28
  project_dict = project_instance.to_dict()
28
29
  # create an instance of Project from a dict
29
- project_form_dict = project.from_dict(project_dict)
30
+ project_from_dict = Project.from_dict(project_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
 
@@ -2,12 +2,13 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **owner_id** | **int** | |
8
- **name** | **str** | |
9
- **description** | **str** | |
10
- **starred** | **bool** | | [optional] [default to False]
8
+ **owner_id** | **int** | The ID of the project |
9
+ **name** | **str** | The name of the project |
10
+ **description** | **str** | The description of the project |
11
+ **starred** | **bool** | If the project is starred | [optional] [default to False]
11
12
 
12
13
  ## Example
13
14
 
@@ -19,12 +20,12 @@ json = "{}"
19
20
  # create an instance of ProjectIn from a JSON string
20
21
  project_in_instance = ProjectIn.from_json(json)
21
22
  # print the JSON string representation of the object
22
- print ProjectIn.to_json()
23
+ print(ProjectIn.to_json())
23
24
 
24
25
  # convert the object into a dict
25
26
  project_in_dict = project_in_instance.to_dict()
26
27
  # create an instance of ProjectIn from a dict
27
- project_in_form_dict = project_in.from_dict(project_in_dict)
28
+ project_in_from_dict = ProjectIn.from_dict(project_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,6 +2,7 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
8
  **owner_id** | **int** | | [optional]
@@ -19,12 +20,12 @@ json = "{}"
19
20
  # create an instance of ProjectPatch from a JSON string
20
21
  project_patch_instance = ProjectPatch.from_json(json)
21
22
  # print the JSON string representation of the object
22
- print ProjectPatch.to_json()
23
+ print(ProjectPatch.to_json())
23
24
 
24
25
  # convert the object into a dict
25
26
  project_patch_dict = project_patch_instance.to_dict()
26
27
  # create an instance of ProjectPatch from a dict
27
- project_patch_form_dict = project_patch.from_dict(project_patch_dict)
28
+ project_patch_from_dict = ProjectPatch.from_dict(project_patch_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
 
@@ -22,9 +22,8 @@ Create new project.
22
22
  ### Example
23
23
 
24
24
  * OAuth Authentication (user_bearer):
25
+
25
26
  ```python
26
- import time
27
- import os
28
27
  import compute_api_client
29
28
  from compute_api_client.models.project import Project
30
29
  from compute_api_client.models.project_in import ProjectIn
@@ -63,6 +62,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
63
62
 
64
63
  ### Parameters
65
64
 
65
+
66
66
  Name | Type | Description | Notes
67
67
  ------------- | ------------- | ------------- | -------------
68
68
  **project_in** | [**ProjectIn**](ProjectIn.md)| |
@@ -81,6 +81,7 @@ Name | Type | Description | Notes
81
81
  - **Accept**: application/json
82
82
 
83
83
  ### HTTP response details
84
+
84
85
  | Status code | Description | Response headers |
85
86
  |-------------|-------------|------------------|
86
87
  **201** | Successful Response | - |
@@ -98,9 +99,8 @@ Delete a project.
98
99
  ### Example
99
100
 
100
101
  * OAuth Authentication (user_bearer):
102
+
101
103
  ```python
102
- import time
103
- import os
104
104
  import compute_api_client
105
105
  from compute_api_client.rest import ApiException
106
106
  from pprint import pprint
@@ -135,6 +135,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
135
135
 
136
136
  ### Parameters
137
137
 
138
+
138
139
  Name | Type | Description | Notes
139
140
  ------------- | ------------- | ------------- | -------------
140
141
  **id** | **int**| |
@@ -153,6 +154,7 @@ void (empty response body)
153
154
  - **Accept**: application/json
154
155
 
155
156
  ### HTTP response details
157
+
156
158
  | Status code | Description | Response headers |
157
159
  |-------------|-------------|------------------|
158
160
  **204** | Successful Response | - |
@@ -171,9 +173,8 @@ Partially update a project.
171
173
  ### Example
172
174
 
173
175
  * OAuth Authentication (user_bearer):
176
+
174
177
  ```python
175
- import time
176
- import os
177
178
  import compute_api_client
178
179
  from compute_api_client.models.project import Project
179
180
  from compute_api_client.models.project_patch import ProjectPatch
@@ -213,6 +214,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
213
214
 
214
215
  ### Parameters
215
216
 
217
+
216
218
  Name | Type | Description | Notes
217
219
  ------------- | ------------- | ------------- | -------------
218
220
  **id** | **int**| |
@@ -232,6 +234,7 @@ Name | Type | Description | Notes
232
234
  - **Accept**: application/json
233
235
 
234
236
  ### HTTP response details
237
+
235
238
  | Status code | Description | Response headers |
236
239
  |-------------|-------------|------------------|
237
240
  **200** | Successful Response | - |
@@ -250,9 +253,8 @@ Get project by ID.
250
253
  ### Example
251
254
 
252
255
  * OAuth Authentication (user_bearer):
256
+
253
257
  ```python
254
- import time
255
- import os
256
258
  import compute_api_client
257
259
  from compute_api_client.models.project import Project
258
260
  from compute_api_client.rest import ApiException
@@ -290,6 +292,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
290
292
 
291
293
  ### Parameters
292
294
 
295
+
293
296
  Name | Type | Description | Notes
294
297
  ------------- | ------------- | ------------- | -------------
295
298
  **id** | **int**| |
@@ -308,6 +311,7 @@ Name | Type | Description | Notes
308
311
  - **Accept**: application/json
309
312
 
310
313
  ### HTTP response details
314
+
311
315
  | Status code | Description | Response headers |
312
316
  |-------------|-------------|------------------|
313
317
  **200** | Successful Response | - |
@@ -321,14 +325,17 @@ Name | Type | Description | Notes
321
325
 
322
326
  List projects
323
327
 
324
- List projects. If the search parameter is provided, the list is filtered based on the condition that either the project name OR description contains the specified substring. The filter considers exact matches for other parameters provided. The final result is the logical AND of the substring match condition and any other provided exact match conditions.
328
+ List projects.
329
+
330
+ If the search parameter is provided, the list is filtered based on the condition that either the project name OR
331
+ description contains the specified substring. The filter considers exact matches for other parameters provided. The
332
+ final result is the logical AND of the substring match condition and any other provided exact match conditions.
325
333
 
326
334
  ### Example
327
335
 
328
336
  * OAuth Authentication (user_bearer):
337
+
329
338
  ```python
330
- import time
331
- import os
332
339
  import compute_api_client
333
340
  from compute_api_client.models.page_project import PageProject
334
341
  from compute_api_client.rest import ApiException
@@ -376,6 +383,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
376
383
 
377
384
  ### Parameters
378
385
 
386
+
379
387
  Name | Type | Description | Notes
380
388
  ------------- | ------------- | ------------- | -------------
381
389
  **search** | **str**| Substring search for project names or description | [optional]
@@ -404,6 +412,7 @@ Name | Type | Description | Notes
404
412
  - **Accept**: application/json
405
413
 
406
414
  ### HTTP response details
415
+
407
416
  | Status code | Description | Response headers |
408
417
  |-------------|-------------|------------------|
409
418
  **200** | Successful Response | - |
@@ -421,9 +430,8 @@ Update a project.
421
430
  ### Example
422
431
 
423
432
  * OAuth Authentication (user_bearer):
433
+
424
434
  ```python
425
- import time
426
- import os
427
435
  import compute_api_client
428
436
  from compute_api_client.models.project import Project
429
437
  from compute_api_client.models.project_in import ProjectIn
@@ -463,6 +471,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
463
471
 
464
472
  ### Parameters
465
473
 
474
+
466
475
  Name | Type | Description | Notes
467
476
  ------------- | ------------- | ------------- | -------------
468
477
  **id** | **int**| |
@@ -482,6 +491,7 @@ Name | Type | Description | Notes
482
491
  - **Accept**: application/json
483
492
 
484
493
  ### HTTP response details
494
+
485
495
  | Status code | Description | Response headers |
486
496
  |-------------|-------------|------------------|
487
497
  **200** | Successful Response | - |
@@ -2,15 +2,16 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **id** | **int** | |
8
- **member_id** | **int** | |
9
- **start_time** | **datetime** | |
10
- **end_time** | **datetime** | |
11
- **backend_type_id** | **int** | |
8
+ **id** | **int** | The id of the reservation |
9
+ **member_id** | **int** | The id of the member who made the reservation |
10
+ **start_time** | **datetime** | Starting time of lthe reservation |
11
+ **end_time** | **datetime** | End time of the reservation |
12
+ **backend_type_id** | **int** | The id of the backend_type |
12
13
  **backend_id** | **int** | |
13
- **is_terminated** | **bool** | |
14
+ **is_terminated** | **bool** | If the reservation has been terminated |
14
15
 
15
16
  ## Example
16
17
 
@@ -22,12 +23,12 @@ json = "{}"
22
23
  # create an instance of Reservation from a JSON string
23
24
  reservation_instance = Reservation.from_json(json)
24
25
  # print the JSON string representation of the object
25
- print Reservation.to_json()
26
+ print(Reservation.to_json())
26
27
 
27
28
  # convert the object into a dict
28
29
  reservation_dict = reservation_instance.to_dict()
29
30
  # create an instance of Reservation from a dict
30
- reservation_form_dict = reservation.from_dict(reservation_dict)
31
+ reservation_from_dict = Reservation.from_dict(reservation_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
 
@@ -2,12 +2,13 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **member_id** | **int** | |
8
- **start_time** | **datetime** | |
9
- **end_time** | **datetime** | |
10
- **backend_type_id** | **int** | |
8
+ **member_id** | **int** | The id of the member who made the reservation |
9
+ **start_time** | **datetime** | Starting time of lthe reservation |
10
+ **end_time** | **datetime** | End time of the reservation |
11
+ **backend_type_id** | **int** | The id of the backend_type |
11
12
 
12
13
  ## Example
13
14
 
@@ -19,12 +20,12 @@ json = "{}"
19
20
  # create an instance of ReservationIn from a JSON string
20
21
  reservation_in_instance = ReservationIn.from_json(json)
21
22
  # print the JSON string representation of the object
22
- print ReservationIn.to_json()
23
+ print(ReservationIn.to_json())
23
24
 
24
25
  # convert the object into a dict
25
26
  reservation_in_dict = reservation_in_instance.to_dict()
26
27
  # create an instance of ReservationIn from a dict
27
- reservation_in_form_dict = reservation_in.from_dict(reservation_in_dict)
28
+ reservation_in_from_dict = ReservationIn.from_dict(reservation_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
 
@@ -20,9 +20,8 @@ Create new reservation.
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.reservation import Reservation
28
27
  from compute_api_client.models.reservation_in import ReservationIn
@@ -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
  **reservation_in** | [**ReservationIn**](ReservationIn.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 @@ Get reservation by ID.
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.models.reservation import Reservation
104
104
  from compute_api_client.rest import ApiException
@@ -136,6 +136,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
136
136
 
137
137
  ### Parameters
138
138
 
139
+
139
140
  Name | Type | Description | Notes
140
141
  ------------- | ------------- | ------------- | -------------
141
142
  **id** | **int**| |
@@ -154,6 +155,7 @@ Name | Type | Description | Notes
154
155
  - **Accept**: application/json
155
156
 
156
157
  ### HTTP response details
158
+
157
159
  | Status code | Description | Response headers |
158
160
  |-------------|-------------|------------------|
159
161
  **200** | Successful Response | - |
@@ -172,9 +174,8 @@ Read reservations.
172
174
  ### Example
173
175
 
174
176
  * OAuth Authentication (user_bearer):
177
+
175
178
  ```python
176
- import time
177
- import os
178
179
  import compute_api_client
179
180
  from compute_api_client.models.page_reservation import PageReservation
180
181
  from compute_api_client.rest import ApiException
@@ -223,6 +224,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
223
224
 
224
225
  ### Parameters
225
226
 
227
+
226
228
  Name | Type | Description | Notes
227
229
  ------------- | ------------- | ------------- | -------------
228
230
  **id** | **int**| | [optional]
@@ -252,6 +254,7 @@ Name | Type | Description | Notes
252
254
  - **Accept**: application/json
253
255
 
254
256
  ### HTTP response details
257
+
255
258
  | Status code | Description | Response headers |
256
259
  |-------------|-------------|------------------|
257
260
  **200** | Successful Response | - |
@@ -269,9 +272,8 @@ Terminate reservation by ID.
269
272
  ### Example
270
273
 
271
274
  * OAuth Authentication (user_bearer):
275
+
272
276
  ```python
273
- import time
274
- import os
275
277
  import compute_api_client
276
278
  from compute_api_client.models.reservation import Reservation
277
279
  from compute_api_client.rest import ApiException
@@ -309,6 +311,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
309
311
 
310
312
  ### Parameters
311
313
 
314
+
312
315
  Name | Type | Description | Notes
313
316
  ------------- | ------------- | ------------- | -------------
314
317
  **id** | **int**| |
@@ -327,6 +330,7 @@ Name | Type | Description | Notes
327
330
  - **Accept**: application/json
328
331
 
329
332
  ### HTTP response details
333
+
330
334
  | Status code | Description | Response headers |
331
335
  |-------------|-------------|------------------|
332
336
  **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
- **execution_time_in_seconds** | **float** | |
8
+ **id** | **int** | The ID of the result |
9
+ **created_on** | **datetime** | Time of creation of the result |
10
+ **job_id** | **int** | The ID of the job |
11
+ **execution_time_in_seconds** | **float** | Time it took to compute the result |
11
12
  **shots_requested** | **int** | |
12
13
  **shots_done** | **int** | |
13
14
  **results** | **Dict[str, object]** | |
@@ -23,12 +24,12 @@ json = "{}"
23
24
  # create an instance of Result from a JSON string
24
25
  result_instance = Result.from_json(json)
25
26
  # print the JSON string representation of the object
26
- print Result.to_json()
27
+ print(Result.to_json())
27
28
 
28
29
  # convert the object into a dict
29
30
  result_dict = result_instance.to_dict()
30
31
  # create an instance of Result from a dict
31
- result_form_dict = result.from_dict(result_dict)
32
+ result_from_dict = Result.from_dict(result_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,10 +2,11 @@
2
2
 
3
3
 
4
4
  ## Properties
5
+
5
6
  Name | Type | Description | Notes
6
7
  ------------ | ------------- | ------------- | -------------
7
- **job_id** | **int** | |
8
- **execution_time_in_seconds** | **float** | |
8
+ **job_id** | **int** | The ID of the result |
9
+ **execution_time_in_seconds** | **float** | Time it took to compute the result |
9
10
  **shots_requested** | **int** | | [optional]
10
11
  **shots_done** | **int** | | [optional]
11
12
  **results** | **Dict[str, object]** | | [optional]
@@ -21,12 +22,12 @@ json = "{}"
21
22
  # create an instance of ResultIn from a JSON string
22
23
  result_in_instance = ResultIn.from_json(json)
23
24
  # print the JSON string representation of the object
24
- print ResultIn.to_json()
25
+ print(ResultIn.to_json())
25
26
 
26
27
  # convert the object into a dict
27
28
  result_in_dict = result_in_instance.to_dict()
28
29
  # create an instance of ResultIn from a dict
29
- result_in_form_dict = result_in.from_dict(result_in_dict)
30
+ result_in_from_dict = ResultIn.from_dict(result_in_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
 
@@ -21,9 +21,8 @@ Create new result.
21
21
  ### Example
22
22
 
23
23
  * Api Key Authentication (backend):
24
+
24
25
  ```python
25
- import time
26
- import os
27
26
  import compute_api_client
28
27
  from compute_api_client.models.result import Result
29
28
  from compute_api_client.models.result_in import ResultIn
@@ -66,6 +65,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
66
65
 
67
66
  ### Parameters
68
67
 
68
+
69
69
  Name | Type | Description | Notes
70
70
  ------------- | ------------- | ------------- | -------------
71
71
  **result_in** | [**ResultIn**](ResultIn.md)| |
@@ -84,6 +84,7 @@ Name | Type | Description | Notes
84
84
  - **Accept**: application/json
85
85
 
86
86
  ### HTTP response details
87
+
87
88
  | Status code | Description | Response headers |
88
89
  |-------------|-------------|------------------|
89
90
  **201** | Successful Response | - |
@@ -101,9 +102,8 @@ Delete results by job ID.
101
102
  ### Example
102
103
 
103
104
  * Api Key Authentication (backend):
105
+
104
106
  ```python
105
- import time
106
- import os
107
107
  import compute_api_client
108
108
  from compute_api_client.rest import ApiException
109
109
  from pprint import pprint
@@ -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 @@ void (empty response body)
160
161
  - **Accept**: application/json
161
162
 
162
163
  ### HTTP response details
164
+
163
165
  | Status code | Description | Response headers |
164
166
  |-------------|-------------|------------------|
165
167
  **204** | Successful Response | - |
@@ -178,9 +180,8 @@ Get result by ID.
178
180
  ### Example
179
181
 
180
182
  * OAuth Authentication (user_bearer):
183
+
181
184
  ```python
182
- import time
183
- import os
184
185
  import compute_api_client
185
186
  from compute_api_client.models.result import Result
186
187
  from compute_api_client.rest import ApiException
@@ -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 @@ Name | Type | Description | Notes
236
238
  - **Accept**: application/json
237
239
 
238
240
  ### HTTP response details
241
+
239
242
  | Status code | Description | Response headers |
240
243
  |-------------|-------------|------------------|
241
244
  **200** | Successful Response | - |
@@ -254,9 +257,8 @@ Get results by algorithm ID.
254
257
  ### Example
255
258
 
256
259
  * OAuth Authentication (user_bearer):
260
+
257
261
  ```python
258
- import time
259
- import os
260
262
  import compute_api_client
261
263
  from compute_api_client.models.page_result import PageResult
262
264
  from compute_api_client.rest import ApiException
@@ -308,6 +310,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
308
310
 
309
311
  ### Parameters
310
312
 
313
+
311
314
  Name | Type | Description | Notes
312
315
  ------------- | ------------- | ------------- | -------------
313
316
  **algorithm_id** | **int**| |
@@ -340,6 +343,7 @@ Name | Type | Description | Notes
340
343
  - **Accept**: application/json
341
344
 
342
345
  ### HTTP response details
346
+
343
347
  | Status code | Description | Response headers |
344
348
  |-------------|-------------|------------------|
345
349
  **200** | Successful Response | - |
@@ -358,9 +362,8 @@ Get results by job ID.
358
362
  ### Example
359
363
 
360
364
  * OAuth Authentication (user_bearer):
365
+
361
366
  ```python
362
- import time
363
- import os
364
367
  import compute_api_client
365
368
  from compute_api_client.models.page_result import PageResult
366
369
  from compute_api_client.rest import ApiException
@@ -402,6 +405,7 @@ async with compute_api_client.ApiClient(configuration) as api_client:
402
405
 
403
406
  ### Parameters
404
407
 
408
+
405
409
  Name | Type | Description | Notes
406
410
  ------------- | ------------- | ------------- | -------------
407
411
  **job_id** | **int**| |
@@ -424,6 +428,7 @@ Name | Type | Description | Notes
424
428
  - **Accept**: application/json
425
429
 
426
430
  ### HTTP response details
431
+
427
432
  | Status code | Description | Response headers |
428
433
  |-------------|-------------|------------------|
429
434
  **200** | Successful Response | - |
@@ -1,9 +1,11 @@
1
1
  # Role
2
2
 
3
3
 
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
4
+ ## Enum
5
+
6
+ * `MEMBER` (value: `'member'`)
7
+
8
+ * `ADMIN` (value: `'admin'`)
7
9
 
8
10
  [[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
11
 
@@ -1,9 +1,13 @@
1
1
  # ShareType
2
2
 
3
3
 
4
- ## Properties
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
4
+ ## Enum
5
+
6
+ * `PRIVATE` (value: `'private'`)
7
+
8
+ * `LINK_ONLY` (value: `'link_only'`)
9
+
10
+ * `TEAM` (value: `'team'`)
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