qi-compute-api-client 0.56.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.
Files changed (205) hide show
  1. compute_api_client/__init__.py +219 -0
  2. compute_api_client/api/__init__.py +23 -0
  3. compute_api_client/api/algorithms_api.py +1603 -0
  4. compute_api_client/api/auth_config_api.py +278 -0
  5. compute_api_client/api/backend_api.py +1540 -0
  6. compute_api_client/api/backend_types_api.py +1178 -0
  7. compute_api_client/api/batch_jobs_api.py +2224 -0
  8. compute_api_client/api/commits_api.py +1565 -0
  9. compute_api_client/api/files_api.py +1307 -0
  10. compute_api_client/api/final_results_api.py +847 -0
  11. compute_api_client/api/health_api.py +281 -0
  12. compute_api_client/api/jobs_api.py +1787 -0
  13. compute_api_client/api/languages_api.py +692 -0
  14. compute_api_client/api/members_api.py +1238 -0
  15. compute_api_client/api/metadata_api.py +930 -0
  16. compute_api_client/api/permissions_api.py +1295 -0
  17. compute_api_client/api/projects_api.py +1889 -0
  18. compute_api_client/api/reservations_api.py +1324 -0
  19. compute_api_client/api/results_api.py +1702 -0
  20. compute_api_client/api/teams_api.py +692 -0
  21. compute_api_client/api/transactions_api.py +805 -0
  22. compute_api_client/api/users_api.py +1305 -0
  23. compute_api_client/api_client.py +804 -0
  24. compute_api_client/api_response.py +21 -0
  25. compute_api_client/configuration.py +606 -0
  26. compute_api_client/docs/Algorithm.md +34 -0
  27. compute_api_client/docs/AlgorithmIn.md +33 -0
  28. compute_api_client/docs/AlgorithmType.md +12 -0
  29. compute_api_client/docs/AlgorithmsApi.md +428 -0
  30. compute_api_client/docs/AuthConfig.md +31 -0
  31. compute_api_client/docs/AuthConfigApi.md +71 -0
  32. compute_api_client/docs/Backend.md +35 -0
  33. compute_api_client/docs/BackendApi.md +418 -0
  34. compute_api_client/docs/BackendIn.md +34 -0
  35. compute_api_client/docs/BackendMessage.md +29 -0
  36. compute_api_client/docs/BackendPatch.md +31 -0
  37. compute_api_client/docs/BackendStatus.md +16 -0
  38. compute_api_client/docs/BackendType.md +48 -0
  39. compute_api_client/docs/BackendTypePatch.md +45 -0
  40. compute_api_client/docs/BackendTypesApi.md +289 -0
  41. compute_api_client/docs/BackendWithAuthentication.md +36 -0
  42. compute_api_client/docs/BatchJob.md +39 -0
  43. compute_api_client/docs/BatchJobIn.md +29 -0
  44. compute_api_client/docs/BatchJobStatus.md +18 -0
  45. compute_api_client/docs/BatchJobsApi.md +600 -0
  46. compute_api_client/docs/Commit.md +33 -0
  47. compute_api_client/docs/CommitIn.md +30 -0
  48. compute_api_client/docs/CommitsApi.md +425 -0
  49. compute_api_client/docs/CompilePayload.md +30 -0
  50. compute_api_client/docs/CompileStage.md +18 -0
  51. compute_api_client/docs/Domain.md +14 -0
  52. compute_api_client/docs/File.md +36 -0
  53. compute_api_client/docs/FileIn.md +35 -0
  54. compute_api_client/docs/FilesApi.md +346 -0
  55. compute_api_client/docs/FinalResult.md +32 -0
  56. compute_api_client/docs/FinalResultIn.md +30 -0
  57. compute_api_client/docs/FinalResultsApi.md +248 -0
  58. compute_api_client/docs/HTTPBadRequestError.md +29 -0
  59. compute_api_client/docs/HTTPNotFoundError.md +29 -0
  60. compute_api_client/docs/HTTPValidationError.md +29 -0
  61. compute_api_client/docs/HealthApi.md +72 -0
  62. compute_api_client/docs/Job.md +42 -0
  63. compute_api_client/docs/JobIn.md +32 -0
  64. compute_api_client/docs/JobPatch.md +34 -0
  65. compute_api_client/docs/JobStatus.md +18 -0
  66. compute_api_client/docs/JobsApi.md +460 -0
  67. compute_api_client/docs/Language.md +31 -0
  68. compute_api_client/docs/LanguagesApi.md +177 -0
  69. compute_api_client/docs/LocationInner.md +27 -0
  70. compute_api_client/docs/Member.md +33 -0
  71. compute_api_client/docs/MemberId.md +28 -0
  72. compute_api_client/docs/MemberIn.md +32 -0
  73. compute_api_client/docs/MembersApi.md +331 -0
  74. compute_api_client/docs/PageAlgorithm.md +33 -0
  75. compute_api_client/docs/PageBackend.md +33 -0
  76. compute_api_client/docs/PageBackendType.md +33 -0
  77. compute_api_client/docs/PageBatchJob.md +33 -0
  78. compute_api_client/docs/PageCommit.md +33 -0
  79. compute_api_client/docs/PageFile.md +33 -0
  80. compute_api_client/docs/PageJob.md +33 -0
  81. compute_api_client/docs/PageLanguage.md +33 -0
  82. compute_api_client/docs/PageMember.md +33 -0
  83. compute_api_client/docs/PageMetadata.md +32 -0
  84. compute_api_client/docs/PagePermission.md +33 -0
  85. compute_api_client/docs/PagePermissionGroup.md +33 -0
  86. compute_api_client/docs/PageProject.md +33 -0
  87. compute_api_client/docs/PageReservation.md +33 -0
  88. compute_api_client/docs/PageResult.md +33 -0
  89. compute_api_client/docs/PageTeam.md +33 -0
  90. compute_api_client/docs/PageTransaction.md +33 -0
  91. compute_api_client/docs/PageUser.md +33 -0
  92. compute_api_client/docs/Permission.md +31 -0
  93. compute_api_client/docs/PermissionGroup.md +30 -0
  94. compute_api_client/docs/PermissionsApi.md +340 -0
  95. compute_api_client/docs/Project.md +34 -0
  96. compute_api_client/docs/ProjectIn.md +32 -0
  97. compute_api_client/docs/ProjectPatch.md +32 -0
  98. compute_api_client/docs/ProjectsApi.md +502 -0
  99. compute_api_client/docs/Reservation.md +35 -0
  100. compute_api_client/docs/ReservationIn.md +32 -0
  101. compute_api_client/docs/ReservationsApi.md +341 -0
  102. compute_api_client/docs/Result.md +36 -0
  103. compute_api_client/docs/ResultIn.md +34 -0
  104. compute_api_client/docs/ResultsApi.md +439 -0
  105. compute_api_client/docs/Role.md +12 -0
  106. compute_api_client/docs/ShareType.md +14 -0
  107. compute_api_client/docs/Team.md +32 -0
  108. compute_api_client/docs/TeamsApi.md +177 -0
  109. compute_api_client/docs/Transaction.md +35 -0
  110. compute_api_client/docs/TransactionDomain.md +28 -0
  111. compute_api_client/docs/TransactionsApi.md +190 -0
  112. compute_api_client/docs/User.md +36 -0
  113. compute_api_client/docs/UserIn.md +35 -0
  114. compute_api_client/docs/UsersApi.md +338 -0
  115. compute_api_client/docs/ValidationError.md +31 -0
  116. compute_api_client/docs/ValidationErrorLocInner.md +28 -0
  117. compute_api_client/exceptions.py +216 -0
  118. compute_api_client/models/__init__.py +84 -0
  119. compute_api_client/models/algorithm.py +105 -0
  120. compute_api_client/models/algorithm_in.py +103 -0
  121. compute_api_client/models/algorithm_type.py +37 -0
  122. compute_api_client/models/auth_config.py +91 -0
  123. compute_api_client/models/backend.py +106 -0
  124. compute_api_client/models/backend_in.py +104 -0
  125. compute_api_client/models/backend_message.py +87 -0
  126. compute_api_client/models/backend_patch.py +112 -0
  127. compute_api_client/models/backend_status.py +39 -0
  128. compute_api_client/models/backend_type.py +145 -0
  129. compute_api_client/models/backend_type_patch.py +205 -0
  130. compute_api_client/models/backend_with_authentication.py +108 -0
  131. compute_api_client/models/batch_job.py +130 -0
  132. compute_api_client/models/batch_job_in.py +87 -0
  133. compute_api_client/models/batch_job_status.py +40 -0
  134. compute_api_client/models/commit.py +97 -0
  135. compute_api_client/models/commit_in.py +89 -0
  136. compute_api_client/models/compile_payload.py +95 -0
  137. compute_api_client/models/compile_stage.py +40 -0
  138. compute_api_client/models/domain.py +38 -0
  139. compute_api_client/models/file.py +108 -0
  140. compute_api_client/models/file_in.py +106 -0
  141. compute_api_client/models/final_result.py +94 -0
  142. compute_api_client/models/final_result_in.py +89 -0
  143. compute_api_client/models/http_bad_request_error.py +87 -0
  144. compute_api_client/models/http_not_found_error.py +87 -0
  145. compute_api_client/models/http_validation_error.py +95 -0
  146. compute_api_client/models/job.py +131 -0
  147. compute_api_client/models/job_in.py +98 -0
  148. compute_api_client/models/job_patch.py +99 -0
  149. compute_api_client/models/job_status.py +40 -0
  150. compute_api_client/models/language.py +92 -0
  151. compute_api_client/models/location_inner.py +144 -0
  152. compute_api_client/models/member.py +96 -0
  153. compute_api_client/models/member_id.py +144 -0
  154. compute_api_client/models/member_in.py +94 -0
  155. compute_api_client/models/metadata.py +93 -0
  156. compute_api_client/models/metadata_in.py +94 -0
  157. compute_api_client/models/page_algorithm.py +104 -0
  158. compute_api_client/models/page_backend.py +104 -0
  159. compute_api_client/models/page_backend_type.py +104 -0
  160. compute_api_client/models/page_batch_job.py +104 -0
  161. compute_api_client/models/page_commit.py +104 -0
  162. compute_api_client/models/page_file.py +104 -0
  163. compute_api_client/models/page_job.py +104 -0
  164. compute_api_client/models/page_language.py +104 -0
  165. compute_api_client/models/page_member.py +104 -0
  166. compute_api_client/models/page_metadata.py +125 -0
  167. compute_api_client/models/page_permission.py +104 -0
  168. compute_api_client/models/page_permission_group.py +104 -0
  169. compute_api_client/models/page_project.py +104 -0
  170. compute_api_client/models/page_reservation.py +104 -0
  171. compute_api_client/models/page_result.py +104 -0
  172. compute_api_client/models/page_team.py +104 -0
  173. compute_api_client/models/page_transaction.py +104 -0
  174. compute_api_client/models/page_user.py +104 -0
  175. compute_api_client/models/permission.py +92 -0
  176. compute_api_client/models/permission_group.py +90 -0
  177. compute_api_client/models/project.py +99 -0
  178. compute_api_client/models/project_in.py +94 -0
  179. compute_api_client/models/project_patch.py +114 -0
  180. compute_api_client/models/reservation.py +105 -0
  181. compute_api_client/models/reservation_in.py +94 -0
  182. compute_api_client/models/result.py +122 -0
  183. compute_api_client/models/result_in.py +117 -0
  184. compute_api_client/models/role.py +37 -0
  185. compute_api_client/models/share_type.py +38 -0
  186. compute_api_client/models/team.py +94 -0
  187. compute_api_client/models/transaction.py +117 -0
  188. compute_api_client/models/transaction_domain.py +142 -0
  189. compute_api_client/models/user.py +102 -0
  190. compute_api_client/models/user_in.py +100 -0
  191. compute_api_client/models/validation_error.py +99 -0
  192. compute_api_client/models/validation_error_loc_inner.py +138 -0
  193. compute_api_client/rest.py +213 -0
  194. qi2_shared/__init__.py +0 -0
  195. qi2_shared/authentication.py +66 -0
  196. qi2_shared/client.py +52 -0
  197. qi2_shared/hybrid/__init__.py +0 -0
  198. qi2_shared/hybrid/quantum_interface.py +45 -0
  199. qi2_shared/pagination.py +44 -0
  200. qi2_shared/settings.py +68 -0
  201. qi2_shared/utils.py +13 -0
  202. qi_compute_api_client-0.56.0.dist-info/METADATA +266 -0
  203. qi_compute_api_client-0.56.0.dist-info/RECORD +205 -0
  204. qi_compute_api_client-0.56.0.dist-info/WHEEL +4 -0
  205. qi_compute_api_client-0.56.0.dist-info/licenses/LICENSE.md +142 -0
@@ -0,0 +1,346 @@
1
+ # compute_api_client.FilesApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_file_files_post**](FilesApi.md#create_file_files_post) | **POST** /files | Create file
8
+ [**delete_file_files_id_delete**](FilesApi.md#delete_file_files_id_delete) | **DELETE** /files/{id} | Destroy file
9
+ [**read_file_files_id_get**](FilesApi.md#read_file_files_id_get) | **GET** /files/{id} | Retrieve file
10
+ [**read_files_files_get**](FilesApi.md#read_files_files_get) | **GET** /files | List files
11
+
12
+
13
+ # **create_file_files_post**
14
+ > File create_file_files_post(file_in)
15
+
16
+ Create file
17
+
18
+ Create new file.
19
+
20
+ ### Example
21
+
22
+ * OAuth Authentication (user_bearer):
23
+
24
+ ```python
25
+ import compute_api_client
26
+ from compute_api_client.models.file import File
27
+ from compute_api_client.models.file_in import FileIn
28
+ from compute_api_client.rest import ApiException
29
+ from pprint import pprint
30
+
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
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
43
+
44
+ # Enter a context with an instance of the API client
45
+ async with compute_api_client.ApiClient(configuration) as api_client:
46
+ # Create an instance of the API class
47
+ api_instance = compute_api_client.FilesApi(api_client)
48
+ file_in = compute_api_client.FileIn() # FileIn |
49
+
50
+ try:
51
+ # Create file
52
+ api_response = await api_instance.create_file_files_post(file_in)
53
+ print("The response of FilesApi->create_file_files_post:\n")
54
+ pprint(api_response)
55
+ except Exception as e:
56
+ print("Exception when calling FilesApi->create_file_files_post: %s\n" % e)
57
+ ```
58
+
59
+
60
+
61
+ ### Parameters
62
+
63
+
64
+ Name | Type | Description | Notes
65
+ ------------- | ------------- | ------------- | -------------
66
+ **file_in** | [**FileIn**](FileIn.md)| |
67
+
68
+ ### Return type
69
+
70
+ [**File**](File.md)
71
+
72
+ ### Authorization
73
+
74
+ [user_bearer](../README.md#user_bearer)
75
+
76
+ ### HTTP request headers
77
+
78
+ - **Content-Type**: application/json
79
+ - **Accept**: application/json
80
+
81
+ ### HTTP response details
82
+
83
+ | Status code | Description | Response headers |
84
+ |-------------|-------------|------------------|
85
+ **201** | Successful Response | - |
86
+ **422** | Validation Error | - |
87
+
88
+ [[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)
89
+
90
+ # **delete_file_files_id_delete**
91
+ > delete_file_files_id_delete(id)
92
+
93
+ Destroy file
94
+
95
+ Delete a file.
96
+
97
+ ### Example
98
+
99
+ * OAuth Authentication (user_bearer):
100
+
101
+ ```python
102
+ import compute_api_client
103
+ from compute_api_client.rest import ApiException
104
+ from pprint import pprint
105
+
106
+ # Defining the host is optional and defaults to http://localhost
107
+ # See configuration.py for a list of all supported configuration parameters.
108
+ configuration = compute_api_client.Configuration(
109
+ host = "http://localhost"
110
+ )
111
+
112
+ # The client must configure the authentication and authorization parameters
113
+ # in accordance with the API server security policy.
114
+ # Examples for each auth method are provided below, use the example that
115
+ # satisfies your auth use case.
116
+
117
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
118
+
119
+ # Enter a context with an instance of the API client
120
+ async with compute_api_client.ApiClient(configuration) as api_client:
121
+ # Create an instance of the API class
122
+ api_instance = compute_api_client.FilesApi(api_client)
123
+ id = 56 # int |
124
+
125
+ try:
126
+ # Destroy file
127
+ await api_instance.delete_file_files_id_delete(id)
128
+ except Exception as e:
129
+ print("Exception when calling FilesApi->delete_file_files_id_delete: %s\n" % e)
130
+ ```
131
+
132
+
133
+
134
+ ### Parameters
135
+
136
+
137
+ Name | Type | Description | Notes
138
+ ------------- | ------------- | ------------- | -------------
139
+ **id** | **int**| |
140
+
141
+ ### Return type
142
+
143
+ void (empty response body)
144
+
145
+ ### Authorization
146
+
147
+ [user_bearer](../README.md#user_bearer)
148
+
149
+ ### HTTP request headers
150
+
151
+ - **Content-Type**: Not defined
152
+ - **Accept**: application/json
153
+
154
+ ### HTTP response details
155
+
156
+ | Status code | Description | Response headers |
157
+ |-------------|-------------|------------------|
158
+ **204** | 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
+ # **read_file_files_id_get**
165
+ > File read_file_files_id_get(id)
166
+
167
+ Retrieve file
168
+
169
+ Get file by ID.
170
+
171
+ ### Example
172
+
173
+ * OAuth Authentication (user_bearer):
174
+ * Api Key Authentication (backend):
175
+
176
+ ```python
177
+ import compute_api_client
178
+ from compute_api_client.models.file import File
179
+ from compute_api_client.rest import ApiException
180
+ from pprint import pprint
181
+
182
+ # Defining the host is optional and defaults to http://localhost
183
+ # See configuration.py for a list of all supported configuration parameters.
184
+ configuration = compute_api_client.Configuration(
185
+ host = "http://localhost"
186
+ )
187
+
188
+ # The client must configure the authentication and authorization parameters
189
+ # in accordance with the API server security policy.
190
+ # Examples for each auth method are provided below, use the example that
191
+ # satisfies your auth use case.
192
+
193
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
194
+
195
+ # Configure API key authorization: backend
196
+ configuration.api_key['backend'] = os.environ["API_KEY"]
197
+
198
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
199
+ # configuration.api_key_prefix['backend'] = 'Bearer'
200
+
201
+ # Enter a context with an instance of the API client
202
+ async with compute_api_client.ApiClient(configuration) as api_client:
203
+ # Create an instance of the API class
204
+ api_instance = compute_api_client.FilesApi(api_client)
205
+ id = 56 # int |
206
+
207
+ try:
208
+ # Retrieve file
209
+ api_response = await api_instance.read_file_files_id_get(id)
210
+ print("The response of FilesApi->read_file_files_id_get:\n")
211
+ pprint(api_response)
212
+ except Exception as e:
213
+ print("Exception when calling FilesApi->read_file_files_id_get: %s\n" % e)
214
+ ```
215
+
216
+
217
+
218
+ ### Parameters
219
+
220
+
221
+ Name | Type | Description | Notes
222
+ ------------- | ------------- | ------------- | -------------
223
+ **id** | **int**| |
224
+
225
+ ### Return type
226
+
227
+ [**File**](File.md)
228
+
229
+ ### Authorization
230
+
231
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
232
+
233
+ ### HTTP request headers
234
+
235
+ - **Content-Type**: Not defined
236
+ - **Accept**: application/json
237
+
238
+ ### HTTP response details
239
+
240
+ | Status code | Description | Response headers |
241
+ |-------------|-------------|------------------|
242
+ **200** | Successful Response | - |
243
+ **404** | Not Found | - |
244
+ **422** | Validation Error | - |
245
+
246
+ [[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)
247
+
248
+ # **read_files_files_get**
249
+ > PageFile read_files_files_get(id=id, commit_id=commit_id, content=content, language_id=language_id, compile_stage=compile_stage, generated=generated, name__isnull=name__isnull, name=name, sort_by=sort_by, latest=latest, page=page, size=size)
250
+
251
+ List files
252
+
253
+ List files.
254
+
255
+ ### Example
256
+
257
+ * OAuth Authentication (user_bearer):
258
+
259
+ ```python
260
+ import compute_api_client
261
+ from compute_api_client.models.compile_stage import CompileStage
262
+ from compute_api_client.models.page_file import PageFile
263
+ from compute_api_client.rest import ApiException
264
+ from pprint import pprint
265
+
266
+ # Defining the host is optional and defaults to http://localhost
267
+ # See configuration.py for a list of all supported configuration parameters.
268
+ configuration = compute_api_client.Configuration(
269
+ host = "http://localhost"
270
+ )
271
+
272
+ # The client must configure the authentication and authorization parameters
273
+ # in accordance with the API server security policy.
274
+ # Examples for each auth method are provided below, use the example that
275
+ # satisfies your auth use case.
276
+
277
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
278
+
279
+ # Enter a context with an instance of the API client
280
+ async with compute_api_client.ApiClient(configuration) as api_client:
281
+ # Create an instance of the API class
282
+ api_instance = compute_api_client.FilesApi(api_client)
283
+ id = 56 # int | (optional)
284
+ commit_id = 56 # int | (optional)
285
+ content = 'content_example' # str | (optional)
286
+ language_id = 56 # int | (optional)
287
+ compile_stage = compute_api_client.CompileStage() # CompileStage | (optional)
288
+ generated = True # bool | (optional)
289
+ name__isnull = True # bool | (optional)
290
+ name = 'name_example' # str | (optional)
291
+ sort_by = 'sort_by_example' # str | The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. (optional)
292
+ latest = True # bool | If True gets the most recently created object. (optional)
293
+ page = 1 # int | Page number (optional) (default to 1)
294
+ size = 50 # int | Page size (optional) (default to 50)
295
+
296
+ try:
297
+ # List files
298
+ api_response = await api_instance.read_files_files_get(id=id, commit_id=commit_id, content=content, language_id=language_id, compile_stage=compile_stage, generated=generated, name__isnull=name__isnull, name=name, sort_by=sort_by, latest=latest, page=page, size=size)
299
+ print("The response of FilesApi->read_files_files_get:\n")
300
+ pprint(api_response)
301
+ except Exception as e:
302
+ print("Exception when calling FilesApi->read_files_files_get: %s\n" % e)
303
+ ```
304
+
305
+
306
+
307
+ ### Parameters
308
+
309
+
310
+ Name | Type | Description | Notes
311
+ ------------- | ------------- | ------------- | -------------
312
+ **id** | **int**| | [optional]
313
+ **commit_id** | **int**| | [optional]
314
+ **content** | **str**| | [optional]
315
+ **language_id** | **int**| | [optional]
316
+ **compile_stage** | [**CompileStage**](.md)| | [optional]
317
+ **generated** | **bool**| | [optional]
318
+ **name__isnull** | **bool**| | [optional]
319
+ **name** | **str**| | [optional]
320
+ **sort_by** | **str**| The field name to sort on. Prefix with '-' for descending order. E.g., '-created_on'. | [optional]
321
+ **latest** | **bool**| If True gets the most recently created object. | [optional]
322
+ **page** | **int**| Page number | [optional] [default to 1]
323
+ **size** | **int**| Page size | [optional] [default to 50]
324
+
325
+ ### Return type
326
+
327
+ [**PageFile**](PageFile.md)
328
+
329
+ ### Authorization
330
+
331
+ [user_bearer](../README.md#user_bearer)
332
+
333
+ ### HTTP request headers
334
+
335
+ - **Content-Type**: Not defined
336
+ - **Accept**: application/json
337
+
338
+ ### HTTP response details
339
+
340
+ | Status code | Description | Response headers |
341
+ |-------------|-------------|------------------|
342
+ **200** | Successful Response | - |
343
+ **422** | Validation Error | - |
344
+
345
+ [[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)
346
+
@@ -0,0 +1,32 @@
1
+ # FinalResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
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 |
12
+
13
+ ## Example
14
+
15
+ ```python
16
+ from compute_api_client.models.final_result import FinalResult
17
+
18
+ # TODO update the JSON string below
19
+ json = "{}"
20
+ # create an instance of FinalResult from a JSON string
21
+ final_result_instance = FinalResult.from_json(json)
22
+ # print the JSON string representation of the object
23
+ print(FinalResult.to_json())
24
+
25
+ # convert the object into a dict
26
+ final_result_dict = final_result_instance.to_dict()
27
+ # create an instance of FinalResult from a dict
28
+ final_result_from_dict = FinalResult.from_dict(final_result_dict)
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)
31
+
32
+
@@ -0,0 +1,30 @@
1
+ # FinalResultIn
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **job_id** | **int** | ID of the job |
9
+ **final_result** | **Dict[str, object]** | The final results of the job |
10
+
11
+ ## Example
12
+
13
+ ```python
14
+ from compute_api_client.models.final_result_in import FinalResultIn
15
+
16
+ # TODO update the JSON string below
17
+ json = "{}"
18
+ # create an instance of FinalResultIn from a JSON string
19
+ final_result_in_instance = FinalResultIn.from_json(json)
20
+ # print the JSON string representation of the object
21
+ print(FinalResultIn.to_json())
22
+
23
+ # convert the object into a dict
24
+ final_result_in_dict = final_result_in_instance.to_dict()
25
+ # create an instance of FinalResultIn from a dict
26
+ final_result_in_from_dict = FinalResultIn.from_dict(final_result_in_dict)
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)
29
+
30
+
@@ -0,0 +1,248 @@
1
+ # compute_api_client.FinalResultsApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_final_result_final_results_post**](FinalResultsApi.md#create_final_result_final_results_post) | **POST** /final_results | Create final result
8
+ [**read_final_result_by_job_id_final_results_job_job_id_get**](FinalResultsApi.md#read_final_result_by_job_id_final_results_job_job_id_get) | **GET** /final_results/job/{job_id} | Retrieve final result by job ID
9
+ [**read_final_result_final_results_id_get**](FinalResultsApi.md#read_final_result_final_results_id_get) | **GET** /final_results/{id} | Retrieve final result
10
+
11
+
12
+ # **create_final_result_final_results_post**
13
+ > FinalResult create_final_result_final_results_post(final_result_in)
14
+
15
+ Create final result
16
+
17
+ Create new final result.
18
+
19
+ ### Example
20
+
21
+ * OAuth Authentication (user_bearer):
22
+ * Api Key Authentication (backend):
23
+
24
+ ```python
25
+ import compute_api_client
26
+ from compute_api_client.models.final_result import FinalResult
27
+ from compute_api_client.models.final_result_in import FinalResultIn
28
+ from compute_api_client.rest import ApiException
29
+ from pprint import pprint
30
+
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
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
43
+
44
+ # Configure API key authorization: backend
45
+ configuration.api_key['backend'] = os.environ["API_KEY"]
46
+
47
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
48
+ # configuration.api_key_prefix['backend'] = 'Bearer'
49
+
50
+ # Enter a context with an instance of the API client
51
+ async with compute_api_client.ApiClient(configuration) as api_client:
52
+ # Create an instance of the API class
53
+ api_instance = compute_api_client.FinalResultsApi(api_client)
54
+ final_result_in = compute_api_client.FinalResultIn() # FinalResultIn |
55
+
56
+ try:
57
+ # Create final result
58
+ api_response = await api_instance.create_final_result_final_results_post(final_result_in)
59
+ print("The response of FinalResultsApi->create_final_result_final_results_post:\n")
60
+ pprint(api_response)
61
+ except Exception as e:
62
+ print("Exception when calling FinalResultsApi->create_final_result_final_results_post: %s\n" % e)
63
+ ```
64
+
65
+
66
+
67
+ ### Parameters
68
+
69
+
70
+ Name | Type | Description | Notes
71
+ ------------- | ------------- | ------------- | -------------
72
+ **final_result_in** | [**FinalResultIn**](FinalResultIn.md)| |
73
+
74
+ ### Return type
75
+
76
+ [**FinalResult**](FinalResult.md)
77
+
78
+ ### Authorization
79
+
80
+ [user_bearer](../README.md#user_bearer), [backend](../README.md#backend)
81
+
82
+ ### HTTP request headers
83
+
84
+ - **Content-Type**: application/json
85
+ - **Accept**: application/json
86
+
87
+ ### HTTP response details
88
+
89
+ | Status code | Description | Response headers |
90
+ |-------------|-------------|------------------|
91
+ **201** | Successful Response | - |
92
+ **422** | Validation Error | - |
93
+
94
+ [[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)
95
+
96
+ # **read_final_result_by_job_id_final_results_job_job_id_get**
97
+ > FinalResult read_final_result_by_job_id_final_results_job_job_id_get(job_id)
98
+
99
+ Retrieve final result by job ID
100
+
101
+ Get final result by job ID.
102
+
103
+ ### Example
104
+
105
+ * OAuth Authentication (user_bearer):
106
+
107
+ ```python
108
+ import compute_api_client
109
+ from compute_api_client.models.final_result import FinalResult
110
+ from compute_api_client.rest import ApiException
111
+ from pprint import pprint
112
+
113
+ # Defining the host is optional and defaults to http://localhost
114
+ # See configuration.py for a list of all supported configuration parameters.
115
+ configuration = compute_api_client.Configuration(
116
+ host = "http://localhost"
117
+ )
118
+
119
+ # The client must configure the authentication and authorization parameters
120
+ # in accordance with the API server security policy.
121
+ # Examples for each auth method are provided below, use the example that
122
+ # satisfies your auth use case.
123
+
124
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
125
+
126
+ # Enter a context with an instance of the API client
127
+ async with compute_api_client.ApiClient(configuration) as api_client:
128
+ # Create an instance of the API class
129
+ api_instance = compute_api_client.FinalResultsApi(api_client)
130
+ job_id = 56 # int |
131
+
132
+ try:
133
+ # Retrieve final result by job ID
134
+ api_response = await api_instance.read_final_result_by_job_id_final_results_job_job_id_get(job_id)
135
+ print("The response of FinalResultsApi->read_final_result_by_job_id_final_results_job_job_id_get:\n")
136
+ pprint(api_response)
137
+ except Exception as e:
138
+ print("Exception when calling FinalResultsApi->read_final_result_by_job_id_final_results_job_job_id_get: %s\n" % e)
139
+ ```
140
+
141
+
142
+
143
+ ### Parameters
144
+
145
+
146
+ Name | Type | Description | Notes
147
+ ------------- | ------------- | ------------- | -------------
148
+ **job_id** | **int**| |
149
+
150
+ ### Return type
151
+
152
+ [**FinalResult**](FinalResult.md)
153
+
154
+ ### Authorization
155
+
156
+ [user_bearer](../README.md#user_bearer)
157
+
158
+ ### HTTP request headers
159
+
160
+ - **Content-Type**: Not defined
161
+ - **Accept**: application/json
162
+
163
+ ### HTTP response details
164
+
165
+ | Status code | Description | Response headers |
166
+ |-------------|-------------|------------------|
167
+ **200** | Successful Response | - |
168
+ **422** | Validation Error | - |
169
+
170
+ [[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)
171
+
172
+ # **read_final_result_final_results_id_get**
173
+ > FinalResult read_final_result_final_results_id_get(id)
174
+
175
+ Retrieve final result
176
+
177
+ Get final result by ID.
178
+
179
+ ### Example
180
+
181
+ * OAuth Authentication (user_bearer):
182
+
183
+ ```python
184
+ import compute_api_client
185
+ from compute_api_client.models.final_result import FinalResult
186
+ from compute_api_client.rest import ApiException
187
+ from pprint import pprint
188
+
189
+ # Defining the host is optional and defaults to http://localhost
190
+ # See configuration.py for a list of all supported configuration parameters.
191
+ configuration = compute_api_client.Configuration(
192
+ host = "http://localhost"
193
+ )
194
+
195
+ # The client must configure the authentication and authorization parameters
196
+ # in accordance with the API server security policy.
197
+ # Examples for each auth method are provided below, use the example that
198
+ # satisfies your auth use case.
199
+
200
+ configuration.access_token = os.environ["ACCESS_TOKEN"]
201
+
202
+ # Enter a context with an instance of the API client
203
+ async with compute_api_client.ApiClient(configuration) as api_client:
204
+ # Create an instance of the API class
205
+ api_instance = compute_api_client.FinalResultsApi(api_client)
206
+ id = 56 # int |
207
+
208
+ try:
209
+ # Retrieve final result
210
+ api_response = await api_instance.read_final_result_final_results_id_get(id)
211
+ print("The response of FinalResultsApi->read_final_result_final_results_id_get:\n")
212
+ pprint(api_response)
213
+ except Exception as e:
214
+ print("Exception when calling FinalResultsApi->read_final_result_final_results_id_get: %s\n" % e)
215
+ ```
216
+
217
+
218
+
219
+ ### Parameters
220
+
221
+
222
+ Name | Type | Description | Notes
223
+ ------------- | ------------- | ------------- | -------------
224
+ **id** | **int**| |
225
+
226
+ ### Return type
227
+
228
+ [**FinalResult**](FinalResult.md)
229
+
230
+ ### Authorization
231
+
232
+ [user_bearer](../README.md#user_bearer)
233
+
234
+ ### HTTP request headers
235
+
236
+ - **Content-Type**: Not defined
237
+ - **Accept**: application/json
238
+
239
+ ### HTTP response details
240
+
241
+ | Status code | Description | Response headers |
242
+ |-------------|-------------|------------------|
243
+ **200** | Successful Response | - |
244
+ **404** | Not Found | - |
245
+ **422** | Validation Error | - |
246
+
247
+ [[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)
248
+
@@ -0,0 +1,29 @@
1
+ # HTTPBadRequestError
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **detail** | **str** | |
9
+
10
+ ## Example
11
+
12
+ ```python
13
+ from compute_api_client.models.http_bad_request_error import HTTPBadRequestError
14
+
15
+ # TODO update the JSON string below
16
+ json = "{}"
17
+ # create an instance of HTTPBadRequestError from a JSON string
18
+ http_bad_request_error_instance = HTTPBadRequestError.from_json(json)
19
+ # print the JSON string representation of the object
20
+ print(HTTPBadRequestError.to_json())
21
+
22
+ # convert the object into a dict
23
+ http_bad_request_error_dict = http_bad_request_error_instance.to_dict()
24
+ # create an instance of HTTPBadRequestError from a dict
25
+ http_bad_request_error_from_dict = HTTPBadRequestError.from_dict(http_bad_request_error_dict)
26
+ ```
27
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28
+
29
+