qi-compute-api-client 0.53.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 +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/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 +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/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.53.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.53.0.dist-info/RECORD +0 -197
- {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/WHEEL +0 -0
- {qi_compute_api_client-0.53.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -11,32 +11,21 @@
|
|
|
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.commit import Commit
|
|
35
24
|
from compute_api_client.models.commit_in import CommitIn
|
|
36
25
|
from compute_api_client.models.compile_payload import CompilePayload
|
|
37
26
|
from compute_api_client.models.page_commit import PageCommit
|
|
38
27
|
|
|
39
|
-
from compute_api_client.api_client import ApiClient
|
|
28
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
40
29
|
from compute_api_client.api_response import ApiResponse
|
|
41
30
|
from compute_api_client.rest import RESTResponseType
|
|
42
31
|
|
|
@@ -112,7 +101,10 @@ class CommitsApi:
|
|
|
112
101
|
)
|
|
113
102
|
|
|
114
103
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
115
|
-
|
|
104
|
+
'204': None,
|
|
105
|
+
'404': "HTTPNotFoundError",
|
|
106
|
+
'400': "HTTPBadRequestError",
|
|
107
|
+
'422': "HTTPValidationError",
|
|
116
108
|
}
|
|
117
109
|
response_data = await self.api_client.call_api(
|
|
118
110
|
*_param,
|
|
@@ -183,7 +175,10 @@ class CommitsApi:
|
|
|
183
175
|
)
|
|
184
176
|
|
|
185
177
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
186
|
-
|
|
178
|
+
'204': None,
|
|
179
|
+
'404': "HTTPNotFoundError",
|
|
180
|
+
'400': "HTTPBadRequestError",
|
|
181
|
+
'422': "HTTPValidationError",
|
|
187
182
|
}
|
|
188
183
|
response_data = await self.api_client.call_api(
|
|
189
184
|
*_param,
|
|
@@ -254,7 +249,10 @@ class CommitsApi:
|
|
|
254
249
|
)
|
|
255
250
|
|
|
256
251
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
257
|
-
|
|
252
|
+
'204': None,
|
|
253
|
+
'404': "HTTPNotFoundError",
|
|
254
|
+
'400': "HTTPBadRequestError",
|
|
255
|
+
'422': "HTTPValidationError",
|
|
258
256
|
}
|
|
259
257
|
response_data = await self.api_client.call_api(
|
|
260
258
|
*_param,
|
|
@@ -271,19 +269,20 @@ class CommitsApi:
|
|
|
271
269
|
_content_type,
|
|
272
270
|
_headers,
|
|
273
271
|
_host_index,
|
|
274
|
-
) ->
|
|
272
|
+
) -> RequestSerialized:
|
|
275
273
|
|
|
276
274
|
_host = None
|
|
277
275
|
|
|
278
276
|
_collection_formats: Dict[str, str] = {
|
|
279
|
-
|
|
280
277
|
}
|
|
281
278
|
|
|
282
279
|
_path_params: Dict[str, str] = {}
|
|
283
280
|
_query_params: List[Tuple[str, str]] = []
|
|
284
281
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
285
282
|
_form_params: List[Tuple[str, str]] = []
|
|
286
|
-
_files: Dict[
|
|
283
|
+
_files: Dict[
|
|
284
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
285
|
+
] = {}
|
|
287
286
|
_body_params: Optional[bytes] = None
|
|
288
287
|
|
|
289
288
|
# process the path parameters
|
|
@@ -298,11 +297,12 @@ class CommitsApi:
|
|
|
298
297
|
|
|
299
298
|
|
|
300
299
|
# set the HTTP header `Accept`
|
|
301
|
-
|
|
302
|
-
[
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
300
|
+
if 'Accept' not in _header_params:
|
|
301
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
302
|
+
[
|
|
303
|
+
'application/json'
|
|
304
|
+
]
|
|
305
|
+
)
|
|
306
306
|
|
|
307
307
|
# set the HTTP header `Content-Type`
|
|
308
308
|
if _content_type:
|
|
@@ -397,8 +397,7 @@ class CommitsApi:
|
|
|
397
397
|
|
|
398
398
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
399
399
|
'201': "Commit",
|
|
400
|
-
'422': "HTTPValidationError"
|
|
401
|
-
|
|
400
|
+
'422': "HTTPValidationError",
|
|
402
401
|
}
|
|
403
402
|
response_data = await self.api_client.call_api(
|
|
404
403
|
*_param,
|
|
@@ -466,8 +465,7 @@ class CommitsApi:
|
|
|
466
465
|
|
|
467
466
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
468
467
|
'201': "Commit",
|
|
469
|
-
'422': "HTTPValidationError"
|
|
470
|
-
|
|
468
|
+
'422': "HTTPValidationError",
|
|
471
469
|
}
|
|
472
470
|
response_data = await self.api_client.call_api(
|
|
473
471
|
*_param,
|
|
@@ -535,8 +533,7 @@ class CommitsApi:
|
|
|
535
533
|
|
|
536
534
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
537
535
|
'201': "Commit",
|
|
538
|
-
'422': "HTTPValidationError"
|
|
539
|
-
|
|
536
|
+
'422': "HTTPValidationError",
|
|
540
537
|
}
|
|
541
538
|
response_data = await self.api_client.call_api(
|
|
542
539
|
*_param,
|
|
@@ -552,19 +549,20 @@ class CommitsApi:
|
|
|
552
549
|
_content_type,
|
|
553
550
|
_headers,
|
|
554
551
|
_host_index,
|
|
555
|
-
) ->
|
|
552
|
+
) -> RequestSerialized:
|
|
556
553
|
|
|
557
554
|
_host = None
|
|
558
555
|
|
|
559
556
|
_collection_formats: Dict[str, str] = {
|
|
560
|
-
|
|
561
557
|
}
|
|
562
558
|
|
|
563
559
|
_path_params: Dict[str, str] = {}
|
|
564
560
|
_query_params: List[Tuple[str, str]] = []
|
|
565
561
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
566
562
|
_form_params: List[Tuple[str, str]] = []
|
|
567
|
-
_files: Dict[
|
|
563
|
+
_files: Dict[
|
|
564
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
565
|
+
] = {}
|
|
568
566
|
_body_params: Optional[bytes] = None
|
|
569
567
|
|
|
570
568
|
# process the path parameters
|
|
@@ -577,11 +575,12 @@ class CommitsApi:
|
|
|
577
575
|
|
|
578
576
|
|
|
579
577
|
# set the HTTP header `Accept`
|
|
580
|
-
|
|
581
|
-
[
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
578
|
+
if 'Accept' not in _header_params:
|
|
579
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
580
|
+
[
|
|
581
|
+
'application/json'
|
|
582
|
+
]
|
|
583
|
+
)
|
|
585
584
|
|
|
586
585
|
# set the HTTP header `Content-Type`
|
|
587
586
|
if _content_type:
|
|
@@ -674,7 +673,9 @@ class CommitsApi:
|
|
|
674
673
|
)
|
|
675
674
|
|
|
676
675
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
677
|
-
|
|
676
|
+
'204': None,
|
|
677
|
+
'404': "HTTPNotFoundError",
|
|
678
|
+
'422': "HTTPValidationError",
|
|
678
679
|
}
|
|
679
680
|
response_data = await self.api_client.call_api(
|
|
680
681
|
*_param,
|
|
@@ -741,7 +742,9 @@ class CommitsApi:
|
|
|
741
742
|
)
|
|
742
743
|
|
|
743
744
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
744
|
-
|
|
745
|
+
'204': None,
|
|
746
|
+
'404': "HTTPNotFoundError",
|
|
747
|
+
'422': "HTTPValidationError",
|
|
745
748
|
}
|
|
746
749
|
response_data = await self.api_client.call_api(
|
|
747
750
|
*_param,
|
|
@@ -808,7 +811,9 @@ class CommitsApi:
|
|
|
808
811
|
)
|
|
809
812
|
|
|
810
813
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
811
|
-
|
|
814
|
+
'204': None,
|
|
815
|
+
'404': "HTTPNotFoundError",
|
|
816
|
+
'422': "HTTPValidationError",
|
|
812
817
|
}
|
|
813
818
|
response_data = await self.api_client.call_api(
|
|
814
819
|
*_param,
|
|
@@ -824,19 +829,20 @@ class CommitsApi:
|
|
|
824
829
|
_content_type,
|
|
825
830
|
_headers,
|
|
826
831
|
_host_index,
|
|
827
|
-
) ->
|
|
832
|
+
) -> RequestSerialized:
|
|
828
833
|
|
|
829
834
|
_host = None
|
|
830
835
|
|
|
831
836
|
_collection_formats: Dict[str, str] = {
|
|
832
|
-
|
|
833
837
|
}
|
|
834
838
|
|
|
835
839
|
_path_params: Dict[str, str] = {}
|
|
836
840
|
_query_params: List[Tuple[str, str]] = []
|
|
837
841
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
838
842
|
_form_params: List[Tuple[str, str]] = []
|
|
839
|
-
_files: Dict[
|
|
843
|
+
_files: Dict[
|
|
844
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
845
|
+
] = {}
|
|
840
846
|
_body_params: Optional[bytes] = None
|
|
841
847
|
|
|
842
848
|
# process the path parameters
|
|
@@ -849,11 +855,12 @@ class CommitsApi:
|
|
|
849
855
|
|
|
850
856
|
|
|
851
857
|
# set the HTTP header `Accept`
|
|
852
|
-
|
|
853
|
-
[
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
858
|
+
if 'Accept' not in _header_params:
|
|
859
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
860
|
+
[
|
|
861
|
+
'application/json'
|
|
862
|
+
]
|
|
863
|
+
)
|
|
857
864
|
|
|
858
865
|
|
|
859
866
|
# authentication setting
|
|
@@ -935,8 +942,7 @@ class CommitsApi:
|
|
|
935
942
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
936
943
|
'200': "Commit",
|
|
937
944
|
'404': "HTTPNotFoundError",
|
|
938
|
-
'422': "HTTPValidationError"
|
|
939
|
-
|
|
945
|
+
'422': "HTTPValidationError",
|
|
940
946
|
}
|
|
941
947
|
response_data = await self.api_client.call_api(
|
|
942
948
|
*_param,
|
|
@@ -1005,8 +1011,7 @@ class CommitsApi:
|
|
|
1005
1011
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1006
1012
|
'200': "Commit",
|
|
1007
1013
|
'404': "HTTPNotFoundError",
|
|
1008
|
-
'422': "HTTPValidationError"
|
|
1009
|
-
|
|
1014
|
+
'422': "HTTPValidationError",
|
|
1010
1015
|
}
|
|
1011
1016
|
response_data = await self.api_client.call_api(
|
|
1012
1017
|
*_param,
|
|
@@ -1075,8 +1080,7 @@ class CommitsApi:
|
|
|
1075
1080
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1076
1081
|
'200': "Commit",
|
|
1077
1082
|
'404': "HTTPNotFoundError",
|
|
1078
|
-
'422': "HTTPValidationError"
|
|
1079
|
-
|
|
1083
|
+
'422': "HTTPValidationError",
|
|
1080
1084
|
}
|
|
1081
1085
|
response_data = await self.api_client.call_api(
|
|
1082
1086
|
*_param,
|
|
@@ -1092,19 +1096,20 @@ class CommitsApi:
|
|
|
1092
1096
|
_content_type,
|
|
1093
1097
|
_headers,
|
|
1094
1098
|
_host_index,
|
|
1095
|
-
) ->
|
|
1099
|
+
) -> RequestSerialized:
|
|
1096
1100
|
|
|
1097
1101
|
_host = None
|
|
1098
1102
|
|
|
1099
1103
|
_collection_formats: Dict[str, str] = {
|
|
1100
|
-
|
|
1101
1104
|
}
|
|
1102
1105
|
|
|
1103
1106
|
_path_params: Dict[str, str] = {}
|
|
1104
1107
|
_query_params: List[Tuple[str, str]] = []
|
|
1105
1108
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1106
1109
|
_form_params: List[Tuple[str, str]] = []
|
|
1107
|
-
_files: Dict[
|
|
1110
|
+
_files: Dict[
|
|
1111
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1112
|
+
] = {}
|
|
1108
1113
|
_body_params: Optional[bytes] = None
|
|
1109
1114
|
|
|
1110
1115
|
# process the path parameters
|
|
@@ -1117,11 +1122,12 @@ class CommitsApi:
|
|
|
1117
1122
|
|
|
1118
1123
|
|
|
1119
1124
|
# set the HTTP header `Accept`
|
|
1120
|
-
|
|
1121
|
-
[
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
+
if 'Accept' not in _header_params:
|
|
1126
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1127
|
+
[
|
|
1128
|
+
'application/json'
|
|
1129
|
+
]
|
|
1130
|
+
)
|
|
1125
1131
|
|
|
1126
1132
|
|
|
1127
1133
|
# authentication setting
|
|
@@ -1235,8 +1241,7 @@ class CommitsApi:
|
|
|
1235
1241
|
|
|
1236
1242
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1237
1243
|
'200': "PageCommit",
|
|
1238
|
-
'422': "HTTPValidationError"
|
|
1239
|
-
|
|
1244
|
+
'422': "HTTPValidationError",
|
|
1240
1245
|
}
|
|
1241
1246
|
response_data = await self.api_client.call_api(
|
|
1242
1247
|
*_param,
|
|
@@ -1336,8 +1341,7 @@ class CommitsApi:
|
|
|
1336
1341
|
|
|
1337
1342
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1338
1343
|
'200': "PageCommit",
|
|
1339
|
-
'422': "HTTPValidationError"
|
|
1340
|
-
|
|
1344
|
+
'422': "HTTPValidationError",
|
|
1341
1345
|
}
|
|
1342
1346
|
response_data = await self.api_client.call_api(
|
|
1343
1347
|
*_param,
|
|
@@ -1437,8 +1441,7 @@ class CommitsApi:
|
|
|
1437
1441
|
|
|
1438
1442
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1439
1443
|
'200': "PageCommit",
|
|
1440
|
-
'422': "HTTPValidationError"
|
|
1441
|
-
|
|
1444
|
+
'422': "HTTPValidationError",
|
|
1442
1445
|
}
|
|
1443
1446
|
response_data = await self.api_client.call_api(
|
|
1444
1447
|
*_param,
|
|
@@ -1462,19 +1465,20 @@ class CommitsApi:
|
|
|
1462
1465
|
_content_type,
|
|
1463
1466
|
_headers,
|
|
1464
1467
|
_host_index,
|
|
1465
|
-
) ->
|
|
1468
|
+
) -> RequestSerialized:
|
|
1466
1469
|
|
|
1467
1470
|
_host = None
|
|
1468
1471
|
|
|
1469
1472
|
_collection_formats: Dict[str, str] = {
|
|
1470
|
-
|
|
1471
1473
|
}
|
|
1472
1474
|
|
|
1473
1475
|
_path_params: Dict[str, str] = {}
|
|
1474
1476
|
_query_params: List[Tuple[str, str]] = []
|
|
1475
1477
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1476
1478
|
_form_params: List[Tuple[str, str]] = []
|
|
1477
|
-
_files: Dict[
|
|
1479
|
+
_files: Dict[
|
|
1480
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1481
|
+
] = {}
|
|
1478
1482
|
_body_params: Optional[bytes] = None
|
|
1479
1483
|
|
|
1480
1484
|
# process the path parameters
|
|
@@ -1530,11 +1534,12 @@ class CommitsApi:
|
|
|
1530
1534
|
|
|
1531
1535
|
|
|
1532
1536
|
# set the HTTP header `Accept`
|
|
1533
|
-
|
|
1534
|
-
[
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1537
|
+
if 'Accept' not in _header_params:
|
|
1538
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1539
|
+
[
|
|
1540
|
+
'application/json'
|
|
1541
|
+
]
|
|
1542
|
+
)
|
|
1538
1543
|
|
|
1539
1544
|
|
|
1540
1545
|
# authentication setting
|