qi-compute-api-client 0.52.0__py3-none-any.whl → 0.54.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qi-compute-api-client might be problematic. Click here for more details.
- compute_api_client/__init__.py +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 +77 -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 +21 -19
- compute_api_client/docs/BackendTypePatch.md +4 -2
- compute_api_client/docs/BackendTypesApi.md +21 -10
- 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/Job1.md +28 -0
- 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 +42 -36
- compute_api_client/models/backend_type_patch.py +23 -17
- 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/job1.py +144 -0
- 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.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/METADATA +12 -9
- qi_compute_api_client-0.54.0.dist-info/RECORD +205 -0
- qi_compute_api_client-0.52.0.dist-info/RECORD +0 -197
- {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/WHEEL +0 -0
- {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -11,31 +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 datetime import datetime
|
|
29
|
-
|
|
30
|
-
from pydantic import StrictBool, StrictInt, StrictStr
|
|
31
18
|
|
|
19
|
+
from datetime import datetime
|
|
20
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
32
21
|
from typing import Optional
|
|
33
|
-
|
|
22
|
+
from typing_extensions import Annotated
|
|
34
23
|
from compute_api_client.models.page_reservation import PageReservation
|
|
35
24
|
from compute_api_client.models.reservation import Reservation
|
|
36
25
|
from compute_api_client.models.reservation_in import ReservationIn
|
|
37
26
|
|
|
38
|
-
from compute_api_client.api_client import ApiClient
|
|
27
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
39
28
|
from compute_api_client.api_response import ApiResponse
|
|
40
29
|
from compute_api_client.rest import RESTResponseType
|
|
41
30
|
|
|
@@ -108,8 +97,7 @@ class ReservationsApi:
|
|
|
108
97
|
|
|
109
98
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
99
|
'201': "Reservation",
|
|
111
|
-
'422': "HTTPValidationError"
|
|
112
|
-
|
|
100
|
+
'422': "HTTPValidationError",
|
|
113
101
|
}
|
|
114
102
|
response_data = await self.api_client.call_api(
|
|
115
103
|
*_param,
|
|
@@ -177,8 +165,7 @@ class ReservationsApi:
|
|
|
177
165
|
|
|
178
166
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
179
167
|
'201': "Reservation",
|
|
180
|
-
'422': "HTTPValidationError"
|
|
181
|
-
|
|
168
|
+
'422': "HTTPValidationError",
|
|
182
169
|
}
|
|
183
170
|
response_data = await self.api_client.call_api(
|
|
184
171
|
*_param,
|
|
@@ -246,8 +233,7 @@ class ReservationsApi:
|
|
|
246
233
|
|
|
247
234
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
248
235
|
'201': "Reservation",
|
|
249
|
-
'422': "HTTPValidationError"
|
|
250
|
-
|
|
236
|
+
'422': "HTTPValidationError",
|
|
251
237
|
}
|
|
252
238
|
response_data = await self.api_client.call_api(
|
|
253
239
|
*_param,
|
|
@@ -263,19 +249,20 @@ class ReservationsApi:
|
|
|
263
249
|
_content_type,
|
|
264
250
|
_headers,
|
|
265
251
|
_host_index,
|
|
266
|
-
) ->
|
|
252
|
+
) -> RequestSerialized:
|
|
267
253
|
|
|
268
254
|
_host = None
|
|
269
255
|
|
|
270
256
|
_collection_formats: Dict[str, str] = {
|
|
271
|
-
|
|
272
257
|
}
|
|
273
258
|
|
|
274
259
|
_path_params: Dict[str, str] = {}
|
|
275
260
|
_query_params: List[Tuple[str, str]] = []
|
|
276
261
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
277
262
|
_form_params: List[Tuple[str, str]] = []
|
|
278
|
-
_files: Dict[
|
|
263
|
+
_files: Dict[
|
|
264
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
265
|
+
] = {}
|
|
279
266
|
_body_params: Optional[bytes] = None
|
|
280
267
|
|
|
281
268
|
# process the path parameters
|
|
@@ -288,11 +275,12 @@ class ReservationsApi:
|
|
|
288
275
|
|
|
289
276
|
|
|
290
277
|
# set the HTTP header `Accept`
|
|
291
|
-
|
|
292
|
-
[
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
278
|
+
if 'Accept' not in _header_params:
|
|
279
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
280
|
+
[
|
|
281
|
+
'application/json'
|
|
282
|
+
]
|
|
283
|
+
)
|
|
296
284
|
|
|
297
285
|
# set the HTTP header `Content-Type`
|
|
298
286
|
if _content_type:
|
|
@@ -387,8 +375,7 @@ class ReservationsApi:
|
|
|
387
375
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
388
376
|
'200': "Reservation",
|
|
389
377
|
'404': "HTTPNotFoundError",
|
|
390
|
-
'422': "HTTPValidationError"
|
|
391
|
-
|
|
378
|
+
'422': "HTTPValidationError",
|
|
392
379
|
}
|
|
393
380
|
response_data = await self.api_client.call_api(
|
|
394
381
|
*_param,
|
|
@@ -457,8 +444,7 @@ class ReservationsApi:
|
|
|
457
444
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
458
445
|
'200': "Reservation",
|
|
459
446
|
'404': "HTTPNotFoundError",
|
|
460
|
-
'422': "HTTPValidationError"
|
|
461
|
-
|
|
447
|
+
'422': "HTTPValidationError",
|
|
462
448
|
}
|
|
463
449
|
response_data = await self.api_client.call_api(
|
|
464
450
|
*_param,
|
|
@@ -527,8 +513,7 @@ class ReservationsApi:
|
|
|
527
513
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
528
514
|
'200': "Reservation",
|
|
529
515
|
'404': "HTTPNotFoundError",
|
|
530
|
-
'422': "HTTPValidationError"
|
|
531
|
-
|
|
516
|
+
'422': "HTTPValidationError",
|
|
532
517
|
}
|
|
533
518
|
response_data = await self.api_client.call_api(
|
|
534
519
|
*_param,
|
|
@@ -544,19 +529,20 @@ class ReservationsApi:
|
|
|
544
529
|
_content_type,
|
|
545
530
|
_headers,
|
|
546
531
|
_host_index,
|
|
547
|
-
) ->
|
|
532
|
+
) -> RequestSerialized:
|
|
548
533
|
|
|
549
534
|
_host = None
|
|
550
535
|
|
|
551
536
|
_collection_formats: Dict[str, str] = {
|
|
552
|
-
|
|
553
537
|
}
|
|
554
538
|
|
|
555
539
|
_path_params: Dict[str, str] = {}
|
|
556
540
|
_query_params: List[Tuple[str, str]] = []
|
|
557
541
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
558
542
|
_form_params: List[Tuple[str, str]] = []
|
|
559
|
-
_files: Dict[
|
|
543
|
+
_files: Dict[
|
|
544
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
545
|
+
] = {}
|
|
560
546
|
_body_params: Optional[bytes] = None
|
|
561
547
|
|
|
562
548
|
# process the path parameters
|
|
@@ -569,11 +555,12 @@ class ReservationsApi:
|
|
|
569
555
|
|
|
570
556
|
|
|
571
557
|
# set the HTTP header `Accept`
|
|
572
|
-
|
|
573
|
-
[
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
558
|
+
if 'Accept' not in _header_params:
|
|
559
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
560
|
+
[
|
|
561
|
+
'application/json'
|
|
562
|
+
]
|
|
563
|
+
)
|
|
577
564
|
|
|
578
565
|
|
|
579
566
|
# authentication setting
|
|
@@ -698,8 +685,7 @@ class ReservationsApi:
|
|
|
698
685
|
|
|
699
686
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
700
687
|
'200': "PageReservation",
|
|
701
|
-
'422': "HTTPValidationError"
|
|
702
|
-
|
|
688
|
+
'422': "HTTPValidationError",
|
|
703
689
|
}
|
|
704
690
|
response_data = await self.api_client.call_api(
|
|
705
691
|
*_param,
|
|
@@ -811,8 +797,7 @@ class ReservationsApi:
|
|
|
811
797
|
|
|
812
798
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
813
799
|
'200': "PageReservation",
|
|
814
|
-
'422': "HTTPValidationError"
|
|
815
|
-
|
|
800
|
+
'422': "HTTPValidationError",
|
|
816
801
|
}
|
|
817
802
|
response_data = await self.api_client.call_api(
|
|
818
803
|
*_param,
|
|
@@ -924,8 +909,7 @@ class ReservationsApi:
|
|
|
924
909
|
|
|
925
910
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
926
911
|
'200': "PageReservation",
|
|
927
|
-
'422': "HTTPValidationError"
|
|
928
|
-
|
|
912
|
+
'422': "HTTPValidationError",
|
|
929
913
|
}
|
|
930
914
|
response_data = await self.api_client.call_api(
|
|
931
915
|
*_param,
|
|
@@ -952,19 +936,20 @@ class ReservationsApi:
|
|
|
952
936
|
_content_type,
|
|
953
937
|
_headers,
|
|
954
938
|
_host_index,
|
|
955
|
-
) ->
|
|
939
|
+
) -> RequestSerialized:
|
|
956
940
|
|
|
957
941
|
_host = None
|
|
958
942
|
|
|
959
943
|
_collection_formats: Dict[str, str] = {
|
|
960
|
-
|
|
961
944
|
}
|
|
962
945
|
|
|
963
946
|
_path_params: Dict[str, str] = {}
|
|
964
947
|
_query_params: List[Tuple[str, str]] = []
|
|
965
948
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
966
949
|
_form_params: List[Tuple[str, str]] = []
|
|
967
|
-
_files: Dict[
|
|
950
|
+
_files: Dict[
|
|
951
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
952
|
+
] = {}
|
|
968
953
|
_body_params: Optional[bytes] = None
|
|
969
954
|
|
|
970
955
|
# process the path parameters
|
|
@@ -1041,11 +1026,12 @@ class ReservationsApi:
|
|
|
1041
1026
|
|
|
1042
1027
|
|
|
1043
1028
|
# set the HTTP header `Accept`
|
|
1044
|
-
|
|
1045
|
-
[
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1029
|
+
if 'Accept' not in _header_params:
|
|
1030
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1031
|
+
[
|
|
1032
|
+
'application/json'
|
|
1033
|
+
]
|
|
1034
|
+
)
|
|
1049
1035
|
|
|
1050
1036
|
|
|
1051
1037
|
# authentication setting
|
|
@@ -1127,8 +1113,7 @@ class ReservationsApi:
|
|
|
1127
1113
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1128
1114
|
'200': "Reservation",
|
|
1129
1115
|
'404': "HTTPNotFoundError",
|
|
1130
|
-
'422': "HTTPValidationError"
|
|
1131
|
-
|
|
1116
|
+
'422': "HTTPValidationError",
|
|
1132
1117
|
}
|
|
1133
1118
|
response_data = await self.api_client.call_api(
|
|
1134
1119
|
*_param,
|
|
@@ -1197,8 +1182,7 @@ class ReservationsApi:
|
|
|
1197
1182
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1198
1183
|
'200': "Reservation",
|
|
1199
1184
|
'404': "HTTPNotFoundError",
|
|
1200
|
-
'422': "HTTPValidationError"
|
|
1201
|
-
|
|
1185
|
+
'422': "HTTPValidationError",
|
|
1202
1186
|
}
|
|
1203
1187
|
response_data = await self.api_client.call_api(
|
|
1204
1188
|
*_param,
|
|
@@ -1267,8 +1251,7 @@ class ReservationsApi:
|
|
|
1267
1251
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1268
1252
|
'200': "Reservation",
|
|
1269
1253
|
'404': "HTTPNotFoundError",
|
|
1270
|
-
'422': "HTTPValidationError"
|
|
1271
|
-
|
|
1254
|
+
'422': "HTTPValidationError",
|
|
1272
1255
|
}
|
|
1273
1256
|
response_data = await self.api_client.call_api(
|
|
1274
1257
|
*_param,
|
|
@@ -1284,19 +1267,20 @@ class ReservationsApi:
|
|
|
1284
1267
|
_content_type,
|
|
1285
1268
|
_headers,
|
|
1286
1269
|
_host_index,
|
|
1287
|
-
) ->
|
|
1270
|
+
) -> RequestSerialized:
|
|
1288
1271
|
|
|
1289
1272
|
_host = None
|
|
1290
1273
|
|
|
1291
1274
|
_collection_formats: Dict[str, str] = {
|
|
1292
|
-
|
|
1293
1275
|
}
|
|
1294
1276
|
|
|
1295
1277
|
_path_params: Dict[str, str] = {}
|
|
1296
1278
|
_query_params: List[Tuple[str, str]] = []
|
|
1297
1279
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1298
1280
|
_form_params: List[Tuple[str, str]] = []
|
|
1299
|
-
_files: Dict[
|
|
1281
|
+
_files: Dict[
|
|
1282
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1283
|
+
] = {}
|
|
1300
1284
|
_body_params: Optional[bytes] = None
|
|
1301
1285
|
|
|
1302
1286
|
# process the path parameters
|
|
@@ -1309,11 +1293,12 @@ class ReservationsApi:
|
|
|
1309
1293
|
|
|
1310
1294
|
|
|
1311
1295
|
# set the HTTP header `Accept`
|
|
1312
|
-
|
|
1313
|
-
[
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1296
|
+
if 'Accept' not in _header_params:
|
|
1297
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1298
|
+
[
|
|
1299
|
+
'application/json'
|
|
1300
|
+
]
|
|
1301
|
+
)
|
|
1317
1302
|
|
|
1318
1303
|
|
|
1319
1304
|
# authentication setting
|