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
@@ -11,33 +11,22 @@
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, Any
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 List, Optional
33
-
22
+ from typing_extensions import Annotated
34
23
  from compute_api_client.models.algorithm_type import AlgorithmType
35
24
  from compute_api_client.models.batch_job import BatchJob
36
25
  from compute_api_client.models.batch_job_in import BatchJobIn
37
26
  from compute_api_client.models.batch_job_status import BatchJobStatus
38
27
  from compute_api_client.models.page_batch_job import PageBatchJob
39
28
 
40
- from compute_api_client.api_client import ApiClient
29
+ from compute_api_client.api_client import ApiClient, RequestSerialized
41
30
  from compute_api_client.api_response import ApiResponse
42
31
  from compute_api_client.rest import RESTResponseType
43
32
 
@@ -110,8 +99,7 @@ class BatchJobsApi:
110
99
 
111
100
  _response_types_map: Dict[str, Optional[str]] = {
112
101
  '201': "BatchJob",
113
- '422': "HTTPValidationError"
114
-
102
+ '422': "HTTPValidationError",
115
103
  }
116
104
  response_data = await self.api_client.call_api(
117
105
  *_param,
@@ -179,8 +167,7 @@ class BatchJobsApi:
179
167
 
180
168
  _response_types_map: Dict[str, Optional[str]] = {
181
169
  '201': "BatchJob",
182
- '422': "HTTPValidationError"
183
-
170
+ '422': "HTTPValidationError",
184
171
  }
185
172
  response_data = await self.api_client.call_api(
186
173
  *_param,
@@ -248,8 +235,7 @@ class BatchJobsApi:
248
235
 
249
236
  _response_types_map: Dict[str, Optional[str]] = {
250
237
  '201': "BatchJob",
251
- '422': "HTTPValidationError"
252
-
238
+ '422': "HTTPValidationError",
253
239
  }
254
240
  response_data = await self.api_client.call_api(
255
241
  *_param,
@@ -265,19 +251,20 @@ class BatchJobsApi:
265
251
  _content_type,
266
252
  _headers,
267
253
  _host_index,
268
- ) -> Tuple:
254
+ ) -> RequestSerialized:
269
255
 
270
256
  _host = None
271
257
 
272
258
  _collection_formats: Dict[str, str] = {
273
-
274
259
  }
275
260
 
276
261
  _path_params: Dict[str, str] = {}
277
262
  _query_params: List[Tuple[str, str]] = []
278
263
  _header_params: Dict[str, Optional[str]] = _headers or {}
279
264
  _form_params: List[Tuple[str, str]] = []
280
- _files: Dict[str, str] = {}
265
+ _files: Dict[
266
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
267
+ ] = {}
281
268
  _body_params: Optional[bytes] = None
282
269
 
283
270
  # process the path parameters
@@ -290,11 +277,12 @@ class BatchJobsApi:
290
277
 
291
278
 
292
279
  # set the HTTP header `Accept`
293
- _header_params['Accept'] = self.api_client.select_header_accept(
294
- [
295
- 'application/json'
296
- ]
297
- )
280
+ if 'Accept' not in _header_params:
281
+ _header_params['Accept'] = self.api_client.select_header_accept(
282
+ [
283
+ 'application/json'
284
+ ]
285
+ )
298
286
 
299
287
  # set the HTTP header `Content-Type`
300
288
  if _content_type:
@@ -389,8 +377,7 @@ class BatchJobsApi:
389
377
  _response_types_map: Dict[str, Optional[str]] = {
390
378
  '200': "BatchJob",
391
379
  '404': "HTTPNotFoundError",
392
- '422': "HTTPValidationError"
393
-
380
+ '422': "HTTPValidationError",
394
381
  }
395
382
  response_data = await self.api_client.call_api(
396
383
  *_param,
@@ -459,8 +446,7 @@ class BatchJobsApi:
459
446
  _response_types_map: Dict[str, Optional[str]] = {
460
447
  '200': "BatchJob",
461
448
  '404': "HTTPNotFoundError",
462
- '422': "HTTPValidationError"
463
-
449
+ '422': "HTTPValidationError",
464
450
  }
465
451
  response_data = await self.api_client.call_api(
466
452
  *_param,
@@ -529,8 +515,7 @@ class BatchJobsApi:
529
515
  _response_types_map: Dict[str, Optional[str]] = {
530
516
  '200': "BatchJob",
531
517
  '404': "HTTPNotFoundError",
532
- '422': "HTTPValidationError"
533
-
518
+ '422': "HTTPValidationError",
534
519
  }
535
520
  response_data = await self.api_client.call_api(
536
521
  *_param,
@@ -546,19 +531,20 @@ class BatchJobsApi:
546
531
  _content_type,
547
532
  _headers,
548
533
  _host_index,
549
- ) -> Tuple:
534
+ ) -> RequestSerialized:
550
535
 
551
536
  _host = None
552
537
 
553
538
  _collection_formats: Dict[str, str] = {
554
-
555
539
  }
556
540
 
557
541
  _path_params: Dict[str, str] = {}
558
542
  _query_params: List[Tuple[str, str]] = []
559
543
  _header_params: Dict[str, Optional[str]] = _headers or {}
560
544
  _form_params: List[Tuple[str, str]] = []
561
- _files: Dict[str, str] = {}
545
+ _files: Dict[
546
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
547
+ ] = {}
562
548
  _body_params: Optional[bytes] = None
563
549
 
564
550
  # process the path parameters
@@ -571,11 +557,12 @@ class BatchJobsApi:
571
557
 
572
558
 
573
559
  # set the HTTP header `Accept`
574
- _header_params['Accept'] = self.api_client.select_header_accept(
575
- [
576
- 'application/json'
577
- ]
578
- )
560
+ if 'Accept' not in _header_params:
561
+ _header_params['Accept'] = self.api_client.select_header_accept(
562
+ [
563
+ 'application/json'
564
+ ]
565
+ )
579
566
 
580
567
 
581
568
  # authentication setting
@@ -657,8 +644,7 @@ class BatchJobsApi:
657
644
  _response_types_map: Dict[str, Optional[str]] = {
658
645
  '200': "BatchJob",
659
646
  '404': "HTTPNotFoundError",
660
- '422': "HTTPValidationError"
661
-
647
+ '422': "HTTPValidationError",
662
648
  }
663
649
  response_data = await self.api_client.call_api(
664
650
  *_param,
@@ -727,8 +713,7 @@ class BatchJobsApi:
727
713
  _response_types_map: Dict[str, Optional[str]] = {
728
714
  '200': "BatchJob",
729
715
  '404': "HTTPNotFoundError",
730
- '422': "HTTPValidationError"
731
-
716
+ '422': "HTTPValidationError",
732
717
  }
733
718
  response_data = await self.api_client.call_api(
734
719
  *_param,
@@ -797,8 +782,7 @@ class BatchJobsApi:
797
782
  _response_types_map: Dict[str, Optional[str]] = {
798
783
  '200': "BatchJob",
799
784
  '404': "HTTPNotFoundError",
800
- '422': "HTTPValidationError"
801
-
785
+ '422': "HTTPValidationError",
802
786
  }
803
787
  response_data = await self.api_client.call_api(
804
788
  *_param,
@@ -814,19 +798,20 @@ class BatchJobsApi:
814
798
  _content_type,
815
799
  _headers,
816
800
  _host_index,
817
- ) -> Tuple:
801
+ ) -> RequestSerialized:
818
802
 
819
803
  _host = None
820
804
 
821
805
  _collection_formats: Dict[str, str] = {
822
-
823
806
  }
824
807
 
825
808
  _path_params: Dict[str, str] = {}
826
809
  _query_params: List[Tuple[str, str]] = []
827
810
  _header_params: Dict[str, Optional[str]] = _headers or {}
828
811
  _form_params: List[Tuple[str, str]] = []
829
- _files: Dict[str, str] = {}
812
+ _files: Dict[
813
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
814
+ ] = {}
830
815
  _body_params: Optional[bytes] = None
831
816
 
832
817
  # process the path parameters
@@ -839,11 +824,12 @@ class BatchJobsApi:
839
824
 
840
825
 
841
826
  # set the HTTP header `Accept`
842
- _header_params['Accept'] = self.api_client.select_header_accept(
843
- [
844
- 'application/json'
845
- ]
846
- )
827
+ if 'Accept' not in _header_params:
828
+ _header_params['Accept'] = self.api_client.select_header_accept(
829
+ [
830
+ 'application/json'
831
+ ]
832
+ )
847
833
 
848
834
 
849
835
  # authentication setting
@@ -873,7 +859,7 @@ class BatchJobsApi:
873
859
  @validate_call
874
860
  async def peek_batch_job_batch_jobs_peek_patch(
875
861
  self,
876
- request_body: List[StrictInt],
862
+ request_body: List[Optional[StrictInt]],
877
863
  _request_timeout: Union[
878
864
  None,
879
865
  Annotated[StrictFloat, Field(gt=0)],
@@ -892,7 +878,7 @@ class BatchJobsApi:
892
878
  Get batch job that can be taken up, excluding list of IDs.
893
879
 
894
880
  :param request_body: (required)
895
- :type request_body: List[int]
881
+ :type request_body: List[Optional[int]]
896
882
  :param _request_timeout: timeout setting for this request. If one
897
883
  number provided, it will be total request
898
884
  timeout. It can also be a pair (tuple) of
@@ -925,8 +911,7 @@ class BatchJobsApi:
925
911
 
926
912
  _response_types_map: Dict[str, Optional[str]] = {
927
913
  '200': "BatchJob",
928
- '422': "HTTPValidationError"
929
-
914
+ '422': "HTTPValidationError",
930
915
  }
931
916
  response_data = await self.api_client.call_api(
932
917
  *_param,
@@ -942,7 +927,7 @@ class BatchJobsApi:
942
927
  @validate_call
943
928
  async def peek_batch_job_batch_jobs_peek_patch_with_http_info(
944
929
  self,
945
- request_body: List[StrictInt],
930
+ request_body: List[Optional[StrictInt]],
946
931
  _request_timeout: Union[
947
932
  None,
948
933
  Annotated[StrictFloat, Field(gt=0)],
@@ -961,7 +946,7 @@ class BatchJobsApi:
961
946
  Get batch job that can be taken up, excluding list of IDs.
962
947
 
963
948
  :param request_body: (required)
964
- :type request_body: List[int]
949
+ :type request_body: List[Optional[int]]
965
950
  :param _request_timeout: timeout setting for this request. If one
966
951
  number provided, it will be total request
967
952
  timeout. It can also be a pair (tuple) of
@@ -994,8 +979,7 @@ class BatchJobsApi:
994
979
 
995
980
  _response_types_map: Dict[str, Optional[str]] = {
996
981
  '200': "BatchJob",
997
- '422': "HTTPValidationError"
998
-
982
+ '422': "HTTPValidationError",
999
983
  }
1000
984
  response_data = await self.api_client.call_api(
1001
985
  *_param,
@@ -1011,7 +995,7 @@ class BatchJobsApi:
1011
995
  @validate_call
1012
996
  async def peek_batch_job_batch_jobs_peek_patch_without_preload_content(
1013
997
  self,
1014
- request_body: List[StrictInt],
998
+ request_body: List[Optional[StrictInt]],
1015
999
  _request_timeout: Union[
1016
1000
  None,
1017
1001
  Annotated[StrictFloat, Field(gt=0)],
@@ -1030,7 +1014,7 @@ class BatchJobsApi:
1030
1014
  Get batch job that can be taken up, excluding list of IDs.
1031
1015
 
1032
1016
  :param request_body: (required)
1033
- :type request_body: List[int]
1017
+ :type request_body: List[Optional[int]]
1034
1018
  :param _request_timeout: timeout setting for this request. If one
1035
1019
  number provided, it will be total request
1036
1020
  timeout. It can also be a pair (tuple) of
@@ -1063,8 +1047,7 @@ class BatchJobsApi:
1063
1047
 
1064
1048
  _response_types_map: Dict[str, Optional[str]] = {
1065
1049
  '200': "BatchJob",
1066
- '422': "HTTPValidationError"
1067
-
1050
+ '422': "HTTPValidationError",
1068
1051
  }
1069
1052
  response_data = await self.api_client.call_api(
1070
1053
  *_param,
@@ -1080,12 +1063,11 @@ class BatchJobsApi:
1080
1063
  _content_type,
1081
1064
  _headers,
1082
1065
  _host_index,
1083
- ) -> Tuple:
1066
+ ) -> RequestSerialized:
1084
1067
 
1085
1068
  _host = None
1086
1069
 
1087
1070
  _collection_formats: Dict[str, str] = {
1088
-
1089
1071
  'request_body': '',
1090
1072
  }
1091
1073
 
@@ -1093,7 +1075,9 @@ class BatchJobsApi:
1093
1075
  _query_params: List[Tuple[str, str]] = []
1094
1076
  _header_params: Dict[str, Optional[str]] = _headers or {}
1095
1077
  _form_params: List[Tuple[str, str]] = []
1096
- _files: Dict[str, str] = {}
1078
+ _files: Dict[
1079
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1080
+ ] = {}
1097
1081
  _body_params: Optional[bytes] = None
1098
1082
 
1099
1083
  # process the path parameters
@@ -1106,11 +1090,12 @@ class BatchJobsApi:
1106
1090
 
1107
1091
 
1108
1092
  # set the HTTP header `Accept`
1109
- _header_params['Accept'] = self.api_client.select_header_accept(
1110
- [
1111
- 'application/json'
1112
- ]
1113
- )
1093
+ if 'Accept' not in _header_params:
1094
+ _header_params['Accept'] = self.api_client.select_header_accept(
1095
+ [
1096
+ 'application/json'
1097
+ ]
1098
+ )
1114
1099
 
1115
1100
  # set the HTTP header `Content-Type`
1116
1101
  if _content_type:
@@ -1200,8 +1185,7 @@ class BatchJobsApi:
1200
1185
 
1201
1186
  _response_types_map: Dict[str, Optional[str]] = {
1202
1187
  '200': "BatchJob",
1203
- '404': "HTTPNotFoundError"
1204
-
1188
+ '404': "HTTPNotFoundError",
1205
1189
  }
1206
1190
  response_data = await self.api_client.call_api(
1207
1191
  *_param,
@@ -1265,8 +1249,7 @@ class BatchJobsApi:
1265
1249
 
1266
1250
  _response_types_map: Dict[str, Optional[str]] = {
1267
1251
  '200': "BatchJob",
1268
- '404': "HTTPNotFoundError"
1269
-
1252
+ '404': "HTTPNotFoundError",
1270
1253
  }
1271
1254
  response_data = await self.api_client.call_api(
1272
1255
  *_param,
@@ -1330,8 +1313,7 @@ class BatchJobsApi:
1330
1313
 
1331
1314
  _response_types_map: Dict[str, Optional[str]] = {
1332
1315
  '200': "BatchJob",
1333
- '404': "HTTPNotFoundError"
1334
-
1316
+ '404': "HTTPNotFoundError",
1335
1317
  }
1336
1318
  response_data = await self.api_client.call_api(
1337
1319
  *_param,
@@ -1346,19 +1328,20 @@ class BatchJobsApi:
1346
1328
  _content_type,
1347
1329
  _headers,
1348
1330
  _host_index,
1349
- ) -> Tuple:
1331
+ ) -> RequestSerialized:
1350
1332
 
1351
1333
  _host = None
1352
1334
 
1353
1335
  _collection_formats: Dict[str, str] = {
1354
-
1355
1336
  }
1356
1337
 
1357
1338
  _path_params: Dict[str, str] = {}
1358
1339
  _query_params: List[Tuple[str, str]] = []
1359
1340
  _header_params: Dict[str, Optional[str]] = _headers or {}
1360
1341
  _form_params: List[Tuple[str, str]] = []
1361
- _files: Dict[str, str] = {}
1342
+ _files: Dict[
1343
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1344
+ ] = {}
1362
1345
  _body_params: Optional[bytes] = None
1363
1346
 
1364
1347
  # process the path parameters
@@ -1369,11 +1352,12 @@ class BatchJobsApi:
1369
1352
 
1370
1353
 
1371
1354
  # set the HTTP header `Accept`
1372
- _header_params['Accept'] = self.api_client.select_header_accept(
1373
- [
1374
- 'application/json'
1375
- ]
1376
- )
1355
+ if 'Accept' not in _header_params:
1356
+ _header_params['Accept'] = self.api_client.select_header_accept(
1357
+ [
1358
+ 'application/json'
1359
+ ]
1360
+ )
1377
1361
 
1378
1362
 
1379
1363
  # authentication setting
@@ -1518,8 +1502,7 @@ class BatchJobsApi:
1518
1502
 
1519
1503
  _response_types_map: Dict[str, Optional[str]] = {
1520
1504
  '200': "PageBatchJob",
1521
- '422': "HTTPValidationError"
1522
-
1505
+ '422': "HTTPValidationError",
1523
1506
  }
1524
1507
  response_data = await self.api_client.call_api(
1525
1508
  *_param,
@@ -1651,8 +1634,7 @@ class BatchJobsApi:
1651
1634
 
1652
1635
  _response_types_map: Dict[str, Optional[str]] = {
1653
1636
  '200': "PageBatchJob",
1654
- '422': "HTTPValidationError"
1655
-
1637
+ '422': "HTTPValidationError",
1656
1638
  }
1657
1639
  response_data = await self.api_client.call_api(
1658
1640
  *_param,
@@ -1784,8 +1766,7 @@ class BatchJobsApi:
1784
1766
 
1785
1767
  _response_types_map: Dict[str, Optional[str]] = {
1786
1768
  '200': "PageBatchJob",
1787
- '422': "HTTPValidationError"
1788
-
1769
+ '422': "HTTPValidationError",
1789
1770
  }
1790
1771
  response_data = await self.api_client.call_api(
1791
1772
  *_param,
@@ -1817,19 +1798,20 @@ class BatchJobsApi:
1817
1798
  _content_type,
1818
1799
  _headers,
1819
1800
  _host_index,
1820
- ) -> Tuple:
1801
+ ) -> RequestSerialized:
1821
1802
 
1822
1803
  _host = None
1823
1804
 
1824
1805
  _collection_formats: Dict[str, str] = {
1825
-
1826
1806
  }
1827
1807
 
1828
1808
  _path_params: Dict[str, str] = {}
1829
1809
  _query_params: List[Tuple[str, str]] = []
1830
1810
  _header_params: Dict[str, Optional[str]] = _headers or {}
1831
1811
  _form_params: List[Tuple[str, str]] = []
1832
- _files: Dict[str, str] = {}
1812
+ _files: Dict[
1813
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1814
+ ] = {}
1833
1815
  _body_params: Optional[bytes] = None
1834
1816
 
1835
1817
  # process the path parameters
@@ -1944,11 +1926,12 @@ class BatchJobsApi:
1944
1926
 
1945
1927
 
1946
1928
  # set the HTTP header `Accept`
1947
- _header_params['Accept'] = self.api_client.select_header_accept(
1948
- [
1949
- 'application/json'
1950
- ]
1951
- )
1929
+ if 'Accept' not in _header_params:
1930
+ _header_params['Accept'] = self.api_client.select_header_accept(
1931
+ [
1932
+ 'application/json'
1933
+ ]
1934
+ )
1952
1935
 
1953
1936
 
1954
1937
  # authentication setting
@@ -2030,8 +2013,7 @@ class BatchJobsApi:
2030
2013
  _response_types_map: Dict[str, Optional[str]] = {
2031
2014
  '200': "BatchJob",
2032
2015
  '404': "HTTPNotFoundError",
2033
- '422': "HTTPValidationError"
2034
-
2016
+ '422': "HTTPValidationError",
2035
2017
  }
2036
2018
  response_data = await self.api_client.call_api(
2037
2019
  *_param,
@@ -2100,8 +2082,7 @@ class BatchJobsApi:
2100
2082
  _response_types_map: Dict[str, Optional[str]] = {
2101
2083
  '200': "BatchJob",
2102
2084
  '404': "HTTPNotFoundError",
2103
- '422': "HTTPValidationError"
2104
-
2085
+ '422': "HTTPValidationError",
2105
2086
  }
2106
2087
  response_data = await self.api_client.call_api(
2107
2088
  *_param,
@@ -2170,8 +2151,7 @@ class BatchJobsApi:
2170
2151
  _response_types_map: Dict[str, Optional[str]] = {
2171
2152
  '200': "BatchJob",
2172
2153
  '404': "HTTPNotFoundError",
2173
- '422': "HTTPValidationError"
2174
-
2154
+ '422': "HTTPValidationError",
2175
2155
  }
2176
2156
  response_data = await self.api_client.call_api(
2177
2157
  *_param,
@@ -2187,19 +2167,20 @@ class BatchJobsApi:
2187
2167
  _content_type,
2188
2168
  _headers,
2189
2169
  _host_index,
2190
- ) -> Tuple:
2170
+ ) -> RequestSerialized:
2191
2171
 
2192
2172
  _host = None
2193
2173
 
2194
2174
  _collection_formats: Dict[str, str] = {
2195
-
2196
2175
  }
2197
2176
 
2198
2177
  _path_params: Dict[str, str] = {}
2199
2178
  _query_params: List[Tuple[str, str]] = []
2200
2179
  _header_params: Dict[str, Optional[str]] = _headers or {}
2201
2180
  _form_params: List[Tuple[str, str]] = []
2202
- _files: Dict[str, str] = {}
2181
+ _files: Dict[
2182
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2183
+ ] = {}
2203
2184
  _body_params: Optional[bytes] = None
2204
2185
 
2205
2186
  # process the path parameters
@@ -2212,11 +2193,12 @@ class BatchJobsApi:
2212
2193
 
2213
2194
 
2214
2195
  # set the HTTP header `Accept`
2215
- _header_params['Accept'] = self.api_client.select_header_accept(
2216
- [
2217
- 'application/json'
2218
- ]
2219
- )
2196
+ if 'Accept' not in _header_params:
2197
+ _header_params['Accept'] = self.api_client.select_header_accept(
2198
+ [
2199
+ 'application/json'
2200
+ ]
2201
+ )
2220
2202
 
2221
2203
 
2222
2204
  # authentication setting