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
|
@@ -11,30 +11,20 @@
|
|
|
11
11
|
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
import io
|
|
16
14
|
import warnings
|
|
17
|
-
|
|
18
15
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
19
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
20
|
-
|
|
21
|
-
try:
|
|
22
|
-
from typing import Annotated
|
|
23
|
-
except ImportError:
|
|
24
|
-
from typing_extensions import Annotated
|
|
25
|
-
|
|
26
|
-
from pydantic import Field
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
27
17
|
from typing_extensions import Annotated
|
|
28
|
-
from pydantic import StrictBool, StrictInt, StrictStr
|
|
29
18
|
|
|
19
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
30
20
|
from typing import Optional
|
|
31
|
-
|
|
21
|
+
from typing_extensions import Annotated
|
|
32
22
|
from compute_api_client.models.compile_stage import CompileStage
|
|
33
23
|
from compute_api_client.models.file import File
|
|
34
24
|
from compute_api_client.models.file_in import FileIn
|
|
35
25
|
from compute_api_client.models.page_file import PageFile
|
|
36
26
|
|
|
37
|
-
from compute_api_client.api_client import ApiClient
|
|
27
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
38
28
|
from compute_api_client.api_response import ApiResponse
|
|
39
29
|
from compute_api_client.rest import RESTResponseType
|
|
40
30
|
|
|
@@ -107,8 +97,7 @@ class FilesApi:
|
|
|
107
97
|
|
|
108
98
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
109
99
|
'201': "File",
|
|
110
|
-
'422': "HTTPValidationError"
|
|
111
|
-
|
|
100
|
+
'422': "HTTPValidationError",
|
|
112
101
|
}
|
|
113
102
|
response_data = await self.api_client.call_api(
|
|
114
103
|
*_param,
|
|
@@ -176,8 +165,7 @@ class FilesApi:
|
|
|
176
165
|
|
|
177
166
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
178
167
|
'201': "File",
|
|
179
|
-
'422': "HTTPValidationError"
|
|
180
|
-
|
|
168
|
+
'422': "HTTPValidationError",
|
|
181
169
|
}
|
|
182
170
|
response_data = await self.api_client.call_api(
|
|
183
171
|
*_param,
|
|
@@ -245,8 +233,7 @@ class FilesApi:
|
|
|
245
233
|
|
|
246
234
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
247
235
|
'201': "File",
|
|
248
|
-
'422': "HTTPValidationError"
|
|
249
|
-
|
|
236
|
+
'422': "HTTPValidationError",
|
|
250
237
|
}
|
|
251
238
|
response_data = await self.api_client.call_api(
|
|
252
239
|
*_param,
|
|
@@ -262,19 +249,20 @@ class FilesApi:
|
|
|
262
249
|
_content_type,
|
|
263
250
|
_headers,
|
|
264
251
|
_host_index,
|
|
265
|
-
) ->
|
|
252
|
+
) -> RequestSerialized:
|
|
266
253
|
|
|
267
254
|
_host = None
|
|
268
255
|
|
|
269
256
|
_collection_formats: Dict[str, str] = {
|
|
270
|
-
|
|
271
257
|
}
|
|
272
258
|
|
|
273
259
|
_path_params: Dict[str, str] = {}
|
|
274
260
|
_query_params: List[Tuple[str, str]] = []
|
|
275
261
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
276
262
|
_form_params: List[Tuple[str, str]] = []
|
|
277
|
-
_files: Dict[
|
|
263
|
+
_files: Dict[
|
|
264
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
265
|
+
] = {}
|
|
278
266
|
_body_params: Optional[bytes] = None
|
|
279
267
|
|
|
280
268
|
# process the path parameters
|
|
@@ -287,11 +275,12 @@ class FilesApi:
|
|
|
287
275
|
|
|
288
276
|
|
|
289
277
|
# set the HTTP header `Accept`
|
|
290
|
-
|
|
291
|
-
[
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
278
|
+
if 'Accept' not in _header_params:
|
|
279
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
280
|
+
[
|
|
281
|
+
'application/json'
|
|
282
|
+
]
|
|
283
|
+
)
|
|
295
284
|
|
|
296
285
|
# set the HTTP header `Content-Type`
|
|
297
286
|
if _content_type:
|
|
@@ -384,7 +373,9 @@ class FilesApi:
|
|
|
384
373
|
)
|
|
385
374
|
|
|
386
375
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
387
|
-
|
|
376
|
+
'204': None,
|
|
377
|
+
'404': "HTTPNotFoundError",
|
|
378
|
+
'422': "HTTPValidationError",
|
|
388
379
|
}
|
|
389
380
|
response_data = await self.api_client.call_api(
|
|
390
381
|
*_param,
|
|
@@ -451,7 +442,9 @@ class FilesApi:
|
|
|
451
442
|
)
|
|
452
443
|
|
|
453
444
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
454
|
-
|
|
445
|
+
'204': None,
|
|
446
|
+
'404': "HTTPNotFoundError",
|
|
447
|
+
'422': "HTTPValidationError",
|
|
455
448
|
}
|
|
456
449
|
response_data = await self.api_client.call_api(
|
|
457
450
|
*_param,
|
|
@@ -518,7 +511,9 @@ class FilesApi:
|
|
|
518
511
|
)
|
|
519
512
|
|
|
520
513
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
521
|
-
|
|
514
|
+
'204': None,
|
|
515
|
+
'404': "HTTPNotFoundError",
|
|
516
|
+
'422': "HTTPValidationError",
|
|
522
517
|
}
|
|
523
518
|
response_data = await self.api_client.call_api(
|
|
524
519
|
*_param,
|
|
@@ -534,19 +529,20 @@ class FilesApi:
|
|
|
534
529
|
_content_type,
|
|
535
530
|
_headers,
|
|
536
531
|
_host_index,
|
|
537
|
-
) ->
|
|
532
|
+
) -> RequestSerialized:
|
|
538
533
|
|
|
539
534
|
_host = None
|
|
540
535
|
|
|
541
536
|
_collection_formats: Dict[str, str] = {
|
|
542
|
-
|
|
543
537
|
}
|
|
544
538
|
|
|
545
539
|
_path_params: Dict[str, str] = {}
|
|
546
540
|
_query_params: List[Tuple[str, str]] = []
|
|
547
541
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
548
542
|
_form_params: List[Tuple[str, str]] = []
|
|
549
|
-
_files: Dict[
|
|
543
|
+
_files: Dict[
|
|
544
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
545
|
+
] = {}
|
|
550
546
|
_body_params: Optional[bytes] = None
|
|
551
547
|
|
|
552
548
|
# process the path parameters
|
|
@@ -559,11 +555,12 @@ class FilesApi:
|
|
|
559
555
|
|
|
560
556
|
|
|
561
557
|
# set the HTTP header `Accept`
|
|
562
|
-
|
|
563
|
-
[
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
558
|
+
if 'Accept' not in _header_params:
|
|
559
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
560
|
+
[
|
|
561
|
+
'application/json'
|
|
562
|
+
]
|
|
563
|
+
)
|
|
567
564
|
|
|
568
565
|
|
|
569
566
|
# authentication setting
|
|
@@ -645,8 +642,7 @@ class FilesApi:
|
|
|
645
642
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
646
643
|
'200': "File",
|
|
647
644
|
'404': "HTTPNotFoundError",
|
|
648
|
-
'422': "HTTPValidationError"
|
|
649
|
-
|
|
645
|
+
'422': "HTTPValidationError",
|
|
650
646
|
}
|
|
651
647
|
response_data = await self.api_client.call_api(
|
|
652
648
|
*_param,
|
|
@@ -715,8 +711,7 @@ class FilesApi:
|
|
|
715
711
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
716
712
|
'200': "File",
|
|
717
713
|
'404': "HTTPNotFoundError",
|
|
718
|
-
'422': "HTTPValidationError"
|
|
719
|
-
|
|
714
|
+
'422': "HTTPValidationError",
|
|
720
715
|
}
|
|
721
716
|
response_data = await self.api_client.call_api(
|
|
722
717
|
*_param,
|
|
@@ -785,8 +780,7 @@ class FilesApi:
|
|
|
785
780
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
786
781
|
'200': "File",
|
|
787
782
|
'404': "HTTPNotFoundError",
|
|
788
|
-
'422': "HTTPValidationError"
|
|
789
|
-
|
|
783
|
+
'422': "HTTPValidationError",
|
|
790
784
|
}
|
|
791
785
|
response_data = await self.api_client.call_api(
|
|
792
786
|
*_param,
|
|
@@ -802,19 +796,20 @@ class FilesApi:
|
|
|
802
796
|
_content_type,
|
|
803
797
|
_headers,
|
|
804
798
|
_host_index,
|
|
805
|
-
) ->
|
|
799
|
+
) -> RequestSerialized:
|
|
806
800
|
|
|
807
801
|
_host = None
|
|
808
802
|
|
|
809
803
|
_collection_formats: Dict[str, str] = {
|
|
810
|
-
|
|
811
804
|
}
|
|
812
805
|
|
|
813
806
|
_path_params: Dict[str, str] = {}
|
|
814
807
|
_query_params: List[Tuple[str, str]] = []
|
|
815
808
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
816
809
|
_form_params: List[Tuple[str, str]] = []
|
|
817
|
-
_files: Dict[
|
|
810
|
+
_files: Dict[
|
|
811
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
812
|
+
] = {}
|
|
818
813
|
_body_params: Optional[bytes] = None
|
|
819
814
|
|
|
820
815
|
# process the path parameters
|
|
@@ -827,11 +822,12 @@ class FilesApi:
|
|
|
827
822
|
|
|
828
823
|
|
|
829
824
|
# set the HTTP header `Accept`
|
|
830
|
-
|
|
831
|
-
[
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
825
|
+
if 'Accept' not in _header_params:
|
|
826
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
827
|
+
[
|
|
828
|
+
'application/json'
|
|
829
|
+
]
|
|
830
|
+
)
|
|
835
831
|
|
|
836
832
|
|
|
837
833
|
# authentication setting
|
|
@@ -957,8 +953,7 @@ class FilesApi:
|
|
|
957
953
|
|
|
958
954
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
959
955
|
'200': "PageFile",
|
|
960
|
-
'422': "HTTPValidationError"
|
|
961
|
-
|
|
956
|
+
'422': "HTTPValidationError",
|
|
962
957
|
}
|
|
963
958
|
response_data = await self.api_client.call_api(
|
|
964
959
|
*_param,
|
|
@@ -1070,8 +1065,7 @@ class FilesApi:
|
|
|
1070
1065
|
|
|
1071
1066
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1072
1067
|
'200': "PageFile",
|
|
1073
|
-
'422': "HTTPValidationError"
|
|
1074
|
-
|
|
1068
|
+
'422': "HTTPValidationError",
|
|
1075
1069
|
}
|
|
1076
1070
|
response_data = await self.api_client.call_api(
|
|
1077
1071
|
*_param,
|
|
@@ -1183,8 +1177,7 @@ class FilesApi:
|
|
|
1183
1177
|
|
|
1184
1178
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1185
1179
|
'200': "PageFile",
|
|
1186
|
-
'422': "HTTPValidationError"
|
|
1187
|
-
|
|
1180
|
+
'422': "HTTPValidationError",
|
|
1188
1181
|
}
|
|
1189
1182
|
response_data = await self.api_client.call_api(
|
|
1190
1183
|
*_param,
|
|
@@ -1211,19 +1204,20 @@ class FilesApi:
|
|
|
1211
1204
|
_content_type,
|
|
1212
1205
|
_headers,
|
|
1213
1206
|
_host_index,
|
|
1214
|
-
) ->
|
|
1207
|
+
) -> RequestSerialized:
|
|
1215
1208
|
|
|
1216
1209
|
_host = None
|
|
1217
1210
|
|
|
1218
1211
|
_collection_formats: Dict[str, str] = {
|
|
1219
|
-
|
|
1220
1212
|
}
|
|
1221
1213
|
|
|
1222
1214
|
_path_params: Dict[str, str] = {}
|
|
1223
1215
|
_query_params: List[Tuple[str, str]] = []
|
|
1224
1216
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1225
1217
|
_form_params: List[Tuple[str, str]] = []
|
|
1226
|
-
_files: Dict[
|
|
1218
|
+
_files: Dict[
|
|
1219
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1220
|
+
] = {}
|
|
1227
1221
|
_body_params: Optional[bytes] = None
|
|
1228
1222
|
|
|
1229
1223
|
# process the path parameters
|
|
@@ -1282,11 +1276,12 @@ class FilesApi:
|
|
|
1282
1276
|
|
|
1283
1277
|
|
|
1284
1278
|
# set the HTTP header `Accept`
|
|
1285
|
-
|
|
1286
|
-
[
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1279
|
+
if 'Accept' not in _header_params:
|
|
1280
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1281
|
+
[
|
|
1282
|
+
'application/json'
|
|
1283
|
+
]
|
|
1284
|
+
)
|
|
1290
1285
|
|
|
1291
1286
|
|
|
1292
1287
|
# authentication setting
|
|
@@ -11,24 +11,16 @@
|
|
|
11
11
|
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
import io
|
|
16
14
|
import warnings
|
|
17
|
-
|
|
18
15
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
19
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
20
|
-
|
|
21
|
-
try:
|
|
22
|
-
from typing import Annotated
|
|
23
|
-
except ImportError:
|
|
24
|
-
from typing_extensions import Annotated
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
25
18
|
|
|
26
19
|
from pydantic import StrictInt
|
|
27
|
-
|
|
28
20
|
from compute_api_client.models.final_result import FinalResult
|
|
29
21
|
from compute_api_client.models.final_result_in import FinalResultIn
|
|
30
22
|
|
|
31
|
-
from compute_api_client.api_client import ApiClient
|
|
23
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
32
24
|
from compute_api_client.api_response import ApiResponse
|
|
33
25
|
from compute_api_client.rest import RESTResponseType
|
|
34
26
|
|
|
@@ -101,8 +93,7 @@ class FinalResultsApi:
|
|
|
101
93
|
|
|
102
94
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
103
95
|
'201': "FinalResult",
|
|
104
|
-
'422': "HTTPValidationError"
|
|
105
|
-
|
|
96
|
+
'422': "HTTPValidationError",
|
|
106
97
|
}
|
|
107
98
|
response_data = await self.api_client.call_api(
|
|
108
99
|
*_param,
|
|
@@ -170,8 +161,7 @@ class FinalResultsApi:
|
|
|
170
161
|
|
|
171
162
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
172
163
|
'201': "FinalResult",
|
|
173
|
-
'422': "HTTPValidationError"
|
|
174
|
-
|
|
164
|
+
'422': "HTTPValidationError",
|
|
175
165
|
}
|
|
176
166
|
response_data = await self.api_client.call_api(
|
|
177
167
|
*_param,
|
|
@@ -239,8 +229,7 @@ class FinalResultsApi:
|
|
|
239
229
|
|
|
240
230
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
241
231
|
'201': "FinalResult",
|
|
242
|
-
'422': "HTTPValidationError"
|
|
243
|
-
|
|
232
|
+
'422': "HTTPValidationError",
|
|
244
233
|
}
|
|
245
234
|
response_data = await self.api_client.call_api(
|
|
246
235
|
*_param,
|
|
@@ -256,19 +245,20 @@ class FinalResultsApi:
|
|
|
256
245
|
_content_type,
|
|
257
246
|
_headers,
|
|
258
247
|
_host_index,
|
|
259
|
-
) ->
|
|
248
|
+
) -> RequestSerialized:
|
|
260
249
|
|
|
261
250
|
_host = None
|
|
262
251
|
|
|
263
252
|
_collection_formats: Dict[str, str] = {
|
|
264
|
-
|
|
265
253
|
}
|
|
266
254
|
|
|
267
255
|
_path_params: Dict[str, str] = {}
|
|
268
256
|
_query_params: List[Tuple[str, str]] = []
|
|
269
257
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
270
258
|
_form_params: List[Tuple[str, str]] = []
|
|
271
|
-
_files: Dict[
|
|
259
|
+
_files: Dict[
|
|
260
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
261
|
+
] = {}
|
|
272
262
|
_body_params: Optional[bytes] = None
|
|
273
263
|
|
|
274
264
|
# process the path parameters
|
|
@@ -281,11 +271,12 @@ class FinalResultsApi:
|
|
|
281
271
|
|
|
282
272
|
|
|
283
273
|
# set the HTTP header `Accept`
|
|
284
|
-
|
|
285
|
-
[
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
274
|
+
if 'Accept' not in _header_params:
|
|
275
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
276
|
+
[
|
|
277
|
+
'application/json'
|
|
278
|
+
]
|
|
279
|
+
)
|
|
289
280
|
|
|
290
281
|
# set the HTTP header `Content-Type`
|
|
291
282
|
if _content_type:
|
|
@@ -380,8 +371,7 @@ class FinalResultsApi:
|
|
|
380
371
|
|
|
381
372
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
382
373
|
'200': "FinalResult",
|
|
383
|
-
'422': "HTTPValidationError"
|
|
384
|
-
|
|
374
|
+
'422': "HTTPValidationError",
|
|
385
375
|
}
|
|
386
376
|
response_data = await self.api_client.call_api(
|
|
387
377
|
*_param,
|
|
@@ -449,8 +439,7 @@ class FinalResultsApi:
|
|
|
449
439
|
|
|
450
440
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
451
441
|
'200': "FinalResult",
|
|
452
|
-
'422': "HTTPValidationError"
|
|
453
|
-
|
|
442
|
+
'422': "HTTPValidationError",
|
|
454
443
|
}
|
|
455
444
|
response_data = await self.api_client.call_api(
|
|
456
445
|
*_param,
|
|
@@ -518,8 +507,7 @@ class FinalResultsApi:
|
|
|
518
507
|
|
|
519
508
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
520
509
|
'200': "FinalResult",
|
|
521
|
-
'422': "HTTPValidationError"
|
|
522
|
-
|
|
510
|
+
'422': "HTTPValidationError",
|
|
523
511
|
}
|
|
524
512
|
response_data = await self.api_client.call_api(
|
|
525
513
|
*_param,
|
|
@@ -535,19 +523,20 @@ class FinalResultsApi:
|
|
|
535
523
|
_content_type,
|
|
536
524
|
_headers,
|
|
537
525
|
_host_index,
|
|
538
|
-
) ->
|
|
526
|
+
) -> RequestSerialized:
|
|
539
527
|
|
|
540
528
|
_host = None
|
|
541
529
|
|
|
542
530
|
_collection_formats: Dict[str, str] = {
|
|
543
|
-
|
|
544
531
|
}
|
|
545
532
|
|
|
546
533
|
_path_params: Dict[str, str] = {}
|
|
547
534
|
_query_params: List[Tuple[str, str]] = []
|
|
548
535
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
549
536
|
_form_params: List[Tuple[str, str]] = []
|
|
550
|
-
_files: Dict[
|
|
537
|
+
_files: Dict[
|
|
538
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
539
|
+
] = {}
|
|
551
540
|
_body_params: Optional[bytes] = None
|
|
552
541
|
|
|
553
542
|
# process the path parameters
|
|
@@ -560,11 +549,12 @@ class FinalResultsApi:
|
|
|
560
549
|
|
|
561
550
|
|
|
562
551
|
# set the HTTP header `Accept`
|
|
563
|
-
|
|
564
|
-
[
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
552
|
+
if 'Accept' not in _header_params:
|
|
553
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
554
|
+
[
|
|
555
|
+
'application/json'
|
|
556
|
+
]
|
|
557
|
+
)
|
|
568
558
|
|
|
569
559
|
|
|
570
560
|
# authentication setting
|
|
@@ -646,8 +636,7 @@ class FinalResultsApi:
|
|
|
646
636
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
647
637
|
'200': "FinalResult",
|
|
648
638
|
'404': "HTTPNotFoundError",
|
|
649
|
-
'422': "HTTPValidationError"
|
|
650
|
-
|
|
639
|
+
'422': "HTTPValidationError",
|
|
651
640
|
}
|
|
652
641
|
response_data = await self.api_client.call_api(
|
|
653
642
|
*_param,
|
|
@@ -716,8 +705,7 @@ class FinalResultsApi:
|
|
|
716
705
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
717
706
|
'200': "FinalResult",
|
|
718
707
|
'404': "HTTPNotFoundError",
|
|
719
|
-
'422': "HTTPValidationError"
|
|
720
|
-
|
|
708
|
+
'422': "HTTPValidationError",
|
|
721
709
|
}
|
|
722
710
|
response_data = await self.api_client.call_api(
|
|
723
711
|
*_param,
|
|
@@ -786,8 +774,7 @@ class FinalResultsApi:
|
|
|
786
774
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
787
775
|
'200': "FinalResult",
|
|
788
776
|
'404': "HTTPNotFoundError",
|
|
789
|
-
'422': "HTTPValidationError"
|
|
790
|
-
|
|
777
|
+
'422': "HTTPValidationError",
|
|
791
778
|
}
|
|
792
779
|
response_data = await self.api_client.call_api(
|
|
793
780
|
*_param,
|
|
@@ -803,19 +790,20 @@ class FinalResultsApi:
|
|
|
803
790
|
_content_type,
|
|
804
791
|
_headers,
|
|
805
792
|
_host_index,
|
|
806
|
-
) ->
|
|
793
|
+
) -> RequestSerialized:
|
|
807
794
|
|
|
808
795
|
_host = None
|
|
809
796
|
|
|
810
797
|
_collection_formats: Dict[str, str] = {
|
|
811
|
-
|
|
812
798
|
}
|
|
813
799
|
|
|
814
800
|
_path_params: Dict[str, str] = {}
|
|
815
801
|
_query_params: List[Tuple[str, str]] = []
|
|
816
802
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
817
803
|
_form_params: List[Tuple[str, str]] = []
|
|
818
|
-
_files: Dict[
|
|
804
|
+
_files: Dict[
|
|
805
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
806
|
+
] = {}
|
|
819
807
|
_body_params: Optional[bytes] = None
|
|
820
808
|
|
|
821
809
|
# process the path parameters
|
|
@@ -828,11 +816,12 @@ class FinalResultsApi:
|
|
|
828
816
|
|
|
829
817
|
|
|
830
818
|
# set the HTTP header `Accept`
|
|
831
|
-
|
|
832
|
-
[
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
819
|
+
if 'Accept' not in _header_params:
|
|
820
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
821
|
+
[
|
|
822
|
+
'application/json'
|
|
823
|
+
]
|
|
824
|
+
)
|
|
836
825
|
|
|
837
826
|
|
|
838
827
|
# authentication setting
|
|
@@ -11,22 +11,14 @@
|
|
|
11
11
|
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
import io
|
|
16
14
|
import warnings
|
|
17
|
-
|
|
18
15
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
19
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
20
|
-
|
|
21
|
-
try:
|
|
22
|
-
from typing import Annotated
|
|
23
|
-
except ImportError:
|
|
24
|
-
from typing_extensions import Annotated
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
25
18
|
|
|
26
19
|
from typing import Any
|
|
27
20
|
|
|
28
|
-
|
|
29
|
-
from compute_api_client.api_client import ApiClient
|
|
21
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
30
22
|
from compute_api_client.api_response import ApiResponse
|
|
31
23
|
from compute_api_client.rest import RESTResponseType
|
|
32
24
|
|
|
@@ -94,8 +86,7 @@ class HealthApi:
|
|
|
94
86
|
)
|
|
95
87
|
|
|
96
88
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
97
|
-
'200': "object"
|
|
98
|
-
|
|
89
|
+
'200': "object",
|
|
99
90
|
}
|
|
100
91
|
response_data = await self.api_client.call_api(
|
|
101
92
|
*_param,
|
|
@@ -158,8 +149,7 @@ class HealthApi:
|
|
|
158
149
|
)
|
|
159
150
|
|
|
160
151
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
161
|
-
'200': "object"
|
|
162
|
-
|
|
152
|
+
'200': "object",
|
|
163
153
|
}
|
|
164
154
|
response_data = await self.api_client.call_api(
|
|
165
155
|
*_param,
|
|
@@ -222,8 +212,7 @@ class HealthApi:
|
|
|
222
212
|
)
|
|
223
213
|
|
|
224
214
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
225
|
-
'200': "object"
|
|
226
|
-
|
|
215
|
+
'200': "object",
|
|
227
216
|
}
|
|
228
217
|
response_data = await self.api_client.call_api(
|
|
229
218
|
*_param,
|
|
@@ -238,19 +227,20 @@ class HealthApi:
|
|
|
238
227
|
_content_type,
|
|
239
228
|
_headers,
|
|
240
229
|
_host_index,
|
|
241
|
-
) ->
|
|
230
|
+
) -> RequestSerialized:
|
|
242
231
|
|
|
243
232
|
_host = None
|
|
244
233
|
|
|
245
234
|
_collection_formats: Dict[str, str] = {
|
|
246
|
-
|
|
247
235
|
}
|
|
248
236
|
|
|
249
237
|
_path_params: Dict[str, str] = {}
|
|
250
238
|
_query_params: List[Tuple[str, str]] = []
|
|
251
239
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
252
240
|
_form_params: List[Tuple[str, str]] = []
|
|
253
|
-
_files: Dict[
|
|
241
|
+
_files: Dict[
|
|
242
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
243
|
+
] = {}
|
|
254
244
|
_body_params: Optional[bytes] = None
|
|
255
245
|
|
|
256
246
|
# process the path parameters
|
|
@@ -261,11 +251,12 @@ class HealthApi:
|
|
|
261
251
|
|
|
262
252
|
|
|
263
253
|
# set the HTTP header `Accept`
|
|
264
|
-
|
|
265
|
-
[
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
254
|
+
if 'Accept' not in _header_params:
|
|
255
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
256
|
+
[
|
|
257
|
+
'application/json'
|
|
258
|
+
]
|
|
259
|
+
)
|
|
269
260
|
|
|
270
261
|
|
|
271
262
|
# authentication setting
|