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,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.page_project import PageProject
|
|
35
24
|
from compute_api_client.models.project import Project
|
|
36
25
|
from compute_api_client.models.project_in import ProjectIn
|
|
37
26
|
from compute_api_client.models.project_patch import ProjectPatch
|
|
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
|
|
|
@@ -109,8 +98,7 @@ class ProjectsApi:
|
|
|
109
98
|
|
|
110
99
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
111
100
|
'201': "Project",
|
|
112
|
-
'422': "HTTPValidationError"
|
|
113
|
-
|
|
101
|
+
'422': "HTTPValidationError",
|
|
114
102
|
}
|
|
115
103
|
response_data = await self.api_client.call_api(
|
|
116
104
|
*_param,
|
|
@@ -178,8 +166,7 @@ class ProjectsApi:
|
|
|
178
166
|
|
|
179
167
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
180
168
|
'201': "Project",
|
|
181
|
-
'422': "HTTPValidationError"
|
|
182
|
-
|
|
169
|
+
'422': "HTTPValidationError",
|
|
183
170
|
}
|
|
184
171
|
response_data = await self.api_client.call_api(
|
|
185
172
|
*_param,
|
|
@@ -247,8 +234,7 @@ class ProjectsApi:
|
|
|
247
234
|
|
|
248
235
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
249
236
|
'201': "Project",
|
|
250
|
-
'422': "HTTPValidationError"
|
|
251
|
-
|
|
237
|
+
'422': "HTTPValidationError",
|
|
252
238
|
}
|
|
253
239
|
response_data = await self.api_client.call_api(
|
|
254
240
|
*_param,
|
|
@@ -264,19 +250,20 @@ class ProjectsApi:
|
|
|
264
250
|
_content_type,
|
|
265
251
|
_headers,
|
|
266
252
|
_host_index,
|
|
267
|
-
) ->
|
|
253
|
+
) -> RequestSerialized:
|
|
268
254
|
|
|
269
255
|
_host = None
|
|
270
256
|
|
|
271
257
|
_collection_formats: Dict[str, str] = {
|
|
272
|
-
|
|
273
258
|
}
|
|
274
259
|
|
|
275
260
|
_path_params: Dict[str, str] = {}
|
|
276
261
|
_query_params: List[Tuple[str, str]] = []
|
|
277
262
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
278
263
|
_form_params: List[Tuple[str, str]] = []
|
|
279
|
-
_files: Dict[
|
|
264
|
+
_files: Dict[
|
|
265
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
266
|
+
] = {}
|
|
280
267
|
_body_params: Optional[bytes] = None
|
|
281
268
|
|
|
282
269
|
# process the path parameters
|
|
@@ -289,11 +276,12 @@ class ProjectsApi:
|
|
|
289
276
|
|
|
290
277
|
|
|
291
278
|
# set the HTTP header `Accept`
|
|
292
|
-
|
|
293
|
-
[
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
279
|
+
if 'Accept' not in _header_params:
|
|
280
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
281
|
+
[
|
|
282
|
+
'application/json'
|
|
283
|
+
]
|
|
284
|
+
)
|
|
297
285
|
|
|
298
286
|
# set the HTTP header `Content-Type`
|
|
299
287
|
if _content_type:
|
|
@@ -386,7 +374,9 @@ class ProjectsApi:
|
|
|
386
374
|
)
|
|
387
375
|
|
|
388
376
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
389
|
-
|
|
377
|
+
'204': None,
|
|
378
|
+
'404': "HTTPNotFoundError",
|
|
379
|
+
'422': "HTTPValidationError",
|
|
390
380
|
}
|
|
391
381
|
response_data = await self.api_client.call_api(
|
|
392
382
|
*_param,
|
|
@@ -453,7 +443,9 @@ class ProjectsApi:
|
|
|
453
443
|
)
|
|
454
444
|
|
|
455
445
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
456
|
-
|
|
446
|
+
'204': None,
|
|
447
|
+
'404': "HTTPNotFoundError",
|
|
448
|
+
'422': "HTTPValidationError",
|
|
457
449
|
}
|
|
458
450
|
response_data = await self.api_client.call_api(
|
|
459
451
|
*_param,
|
|
@@ -520,7 +512,9 @@ class ProjectsApi:
|
|
|
520
512
|
)
|
|
521
513
|
|
|
522
514
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
523
|
-
|
|
515
|
+
'204': None,
|
|
516
|
+
'404': "HTTPNotFoundError",
|
|
517
|
+
'422': "HTTPValidationError",
|
|
524
518
|
}
|
|
525
519
|
response_data = await self.api_client.call_api(
|
|
526
520
|
*_param,
|
|
@@ -536,19 +530,20 @@ class ProjectsApi:
|
|
|
536
530
|
_content_type,
|
|
537
531
|
_headers,
|
|
538
532
|
_host_index,
|
|
539
|
-
) ->
|
|
533
|
+
) -> RequestSerialized:
|
|
540
534
|
|
|
541
535
|
_host = None
|
|
542
536
|
|
|
543
537
|
_collection_formats: Dict[str, str] = {
|
|
544
|
-
|
|
545
538
|
}
|
|
546
539
|
|
|
547
540
|
_path_params: Dict[str, str] = {}
|
|
548
541
|
_query_params: List[Tuple[str, str]] = []
|
|
549
542
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
550
543
|
_form_params: List[Tuple[str, str]] = []
|
|
551
|
-
_files: Dict[
|
|
544
|
+
_files: Dict[
|
|
545
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
546
|
+
] = {}
|
|
552
547
|
_body_params: Optional[bytes] = None
|
|
553
548
|
|
|
554
549
|
# process the path parameters
|
|
@@ -561,11 +556,12 @@ class ProjectsApi:
|
|
|
561
556
|
|
|
562
557
|
|
|
563
558
|
# set the HTTP header `Accept`
|
|
564
|
-
|
|
565
|
-
[
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
559
|
+
if 'Accept' not in _header_params:
|
|
560
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
561
|
+
[
|
|
562
|
+
'application/json'
|
|
563
|
+
]
|
|
564
|
+
)
|
|
569
565
|
|
|
570
566
|
|
|
571
567
|
# authentication setting
|
|
@@ -651,8 +647,7 @@ class ProjectsApi:
|
|
|
651
647
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
652
648
|
'200': "Project",
|
|
653
649
|
'404': "HTTPNotFoundError",
|
|
654
|
-
'422': "HTTPValidationError"
|
|
655
|
-
|
|
650
|
+
'422': "HTTPValidationError",
|
|
656
651
|
}
|
|
657
652
|
response_data = await self.api_client.call_api(
|
|
658
653
|
*_param,
|
|
@@ -725,8 +720,7 @@ class ProjectsApi:
|
|
|
725
720
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
726
721
|
'200': "Project",
|
|
727
722
|
'404': "HTTPNotFoundError",
|
|
728
|
-
'422': "HTTPValidationError"
|
|
729
|
-
|
|
723
|
+
'422': "HTTPValidationError",
|
|
730
724
|
}
|
|
731
725
|
response_data = await self.api_client.call_api(
|
|
732
726
|
*_param,
|
|
@@ -799,8 +793,7 @@ class ProjectsApi:
|
|
|
799
793
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
800
794
|
'200': "Project",
|
|
801
795
|
'404': "HTTPNotFoundError",
|
|
802
|
-
'422': "HTTPValidationError"
|
|
803
|
-
|
|
796
|
+
'422': "HTTPValidationError",
|
|
804
797
|
}
|
|
805
798
|
response_data = await self.api_client.call_api(
|
|
806
799
|
*_param,
|
|
@@ -817,19 +810,20 @@ class ProjectsApi:
|
|
|
817
810
|
_content_type,
|
|
818
811
|
_headers,
|
|
819
812
|
_host_index,
|
|
820
|
-
) ->
|
|
813
|
+
) -> RequestSerialized:
|
|
821
814
|
|
|
822
815
|
_host = None
|
|
823
816
|
|
|
824
817
|
_collection_formats: Dict[str, str] = {
|
|
825
|
-
|
|
826
818
|
}
|
|
827
819
|
|
|
828
820
|
_path_params: Dict[str, str] = {}
|
|
829
821
|
_query_params: List[Tuple[str, str]] = []
|
|
830
822
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
831
823
|
_form_params: List[Tuple[str, str]] = []
|
|
832
|
-
_files: Dict[
|
|
824
|
+
_files: Dict[
|
|
825
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
826
|
+
] = {}
|
|
833
827
|
_body_params: Optional[bytes] = None
|
|
834
828
|
|
|
835
829
|
# process the path parameters
|
|
@@ -844,11 +838,12 @@ class ProjectsApi:
|
|
|
844
838
|
|
|
845
839
|
|
|
846
840
|
# set the HTTP header `Accept`
|
|
847
|
-
|
|
848
|
-
[
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
841
|
+
if 'Accept' not in _header_params:
|
|
842
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
843
|
+
[
|
|
844
|
+
'application/json'
|
|
845
|
+
]
|
|
846
|
+
)
|
|
852
847
|
|
|
853
848
|
# set the HTTP header `Content-Type`
|
|
854
849
|
if _content_type:
|
|
@@ -943,8 +938,7 @@ class ProjectsApi:
|
|
|
943
938
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
944
939
|
'200': "Project",
|
|
945
940
|
'404': "HTTPNotFoundError",
|
|
946
|
-
'422': "HTTPValidationError"
|
|
947
|
-
|
|
941
|
+
'422': "HTTPValidationError",
|
|
948
942
|
}
|
|
949
943
|
response_data = await self.api_client.call_api(
|
|
950
944
|
*_param,
|
|
@@ -1013,8 +1007,7 @@ class ProjectsApi:
|
|
|
1013
1007
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1014
1008
|
'200': "Project",
|
|
1015
1009
|
'404': "HTTPNotFoundError",
|
|
1016
|
-
'422': "HTTPValidationError"
|
|
1017
|
-
|
|
1010
|
+
'422': "HTTPValidationError",
|
|
1018
1011
|
}
|
|
1019
1012
|
response_data = await self.api_client.call_api(
|
|
1020
1013
|
*_param,
|
|
@@ -1083,8 +1076,7 @@ class ProjectsApi:
|
|
|
1083
1076
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1084
1077
|
'200': "Project",
|
|
1085
1078
|
'404': "HTTPNotFoundError",
|
|
1086
|
-
'422': "HTTPValidationError"
|
|
1087
|
-
|
|
1079
|
+
'422': "HTTPValidationError",
|
|
1088
1080
|
}
|
|
1089
1081
|
response_data = await self.api_client.call_api(
|
|
1090
1082
|
*_param,
|
|
@@ -1100,19 +1092,20 @@ class ProjectsApi:
|
|
|
1100
1092
|
_content_type,
|
|
1101
1093
|
_headers,
|
|
1102
1094
|
_host_index,
|
|
1103
|
-
) ->
|
|
1095
|
+
) -> RequestSerialized:
|
|
1104
1096
|
|
|
1105
1097
|
_host = None
|
|
1106
1098
|
|
|
1107
1099
|
_collection_formats: Dict[str, str] = {
|
|
1108
|
-
|
|
1109
1100
|
}
|
|
1110
1101
|
|
|
1111
1102
|
_path_params: Dict[str, str] = {}
|
|
1112
1103
|
_query_params: List[Tuple[str, str]] = []
|
|
1113
1104
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1114
1105
|
_form_params: List[Tuple[str, str]] = []
|
|
1115
|
-
_files: Dict[
|
|
1106
|
+
_files: Dict[
|
|
1107
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1108
|
+
] = {}
|
|
1116
1109
|
_body_params: Optional[bytes] = None
|
|
1117
1110
|
|
|
1118
1111
|
# process the path parameters
|
|
@@ -1125,11 +1118,12 @@ class ProjectsApi:
|
|
|
1125
1118
|
|
|
1126
1119
|
|
|
1127
1120
|
# set the HTTP header `Accept`
|
|
1128
|
-
|
|
1129
|
-
[
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1121
|
+
if 'Accept' not in _header_params:
|
|
1122
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1123
|
+
[
|
|
1124
|
+
'application/json'
|
|
1125
|
+
]
|
|
1126
|
+
)
|
|
1133
1127
|
|
|
1134
1128
|
|
|
1135
1129
|
# authentication setting
|
|
@@ -1250,8 +1244,7 @@ class ProjectsApi:
|
|
|
1250
1244
|
|
|
1251
1245
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1252
1246
|
'200': "PageProject",
|
|
1253
|
-
'422': "HTTPValidationError"
|
|
1254
|
-
|
|
1247
|
+
'422': "HTTPValidationError",
|
|
1255
1248
|
}
|
|
1256
1249
|
response_data = await self.api_client.call_api(
|
|
1257
1250
|
*_param,
|
|
@@ -1359,8 +1352,7 @@ class ProjectsApi:
|
|
|
1359
1352
|
|
|
1360
1353
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1361
1354
|
'200': "PageProject",
|
|
1362
|
-
'422': "HTTPValidationError"
|
|
1363
|
-
|
|
1355
|
+
'422': "HTTPValidationError",
|
|
1364
1356
|
}
|
|
1365
1357
|
response_data = await self.api_client.call_api(
|
|
1366
1358
|
*_param,
|
|
@@ -1468,8 +1460,7 @@ class ProjectsApi:
|
|
|
1468
1460
|
|
|
1469
1461
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1470
1462
|
'200': "PageProject",
|
|
1471
|
-
'422': "HTTPValidationError"
|
|
1472
|
-
|
|
1463
|
+
'422': "HTTPValidationError",
|
|
1473
1464
|
}
|
|
1474
1465
|
response_data = await self.api_client.call_api(
|
|
1475
1466
|
*_param,
|
|
@@ -1495,19 +1486,20 @@ class ProjectsApi:
|
|
|
1495
1486
|
_content_type,
|
|
1496
1487
|
_headers,
|
|
1497
1488
|
_host_index,
|
|
1498
|
-
) ->
|
|
1489
|
+
) -> RequestSerialized:
|
|
1499
1490
|
|
|
1500
1491
|
_host = None
|
|
1501
1492
|
|
|
1502
1493
|
_collection_formats: Dict[str, str] = {
|
|
1503
|
-
|
|
1504
1494
|
}
|
|
1505
1495
|
|
|
1506
1496
|
_path_params: Dict[str, str] = {}
|
|
1507
1497
|
_query_params: List[Tuple[str, str]] = []
|
|
1508
1498
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1509
1499
|
_form_params: List[Tuple[str, str]] = []
|
|
1510
|
-
_files: Dict[
|
|
1500
|
+
_files: Dict[
|
|
1501
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1502
|
+
] = {}
|
|
1511
1503
|
_body_params: Optional[bytes] = None
|
|
1512
1504
|
|
|
1513
1505
|
# process the path parameters
|
|
@@ -1571,11 +1563,12 @@ class ProjectsApi:
|
|
|
1571
1563
|
|
|
1572
1564
|
|
|
1573
1565
|
# set the HTTP header `Accept`
|
|
1574
|
-
|
|
1575
|
-
[
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1566
|
+
if 'Accept' not in _header_params:
|
|
1567
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1568
|
+
[
|
|
1569
|
+
'application/json'
|
|
1570
|
+
]
|
|
1571
|
+
)
|
|
1579
1572
|
|
|
1580
1573
|
|
|
1581
1574
|
# authentication setting
|
|
@@ -1661,8 +1654,7 @@ class ProjectsApi:
|
|
|
1661
1654
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1662
1655
|
'200': "Project",
|
|
1663
1656
|
'404': "HTTPNotFoundError",
|
|
1664
|
-
'422': "HTTPValidationError"
|
|
1665
|
-
|
|
1657
|
+
'422': "HTTPValidationError",
|
|
1666
1658
|
}
|
|
1667
1659
|
response_data = await self.api_client.call_api(
|
|
1668
1660
|
*_param,
|
|
@@ -1735,8 +1727,7 @@ class ProjectsApi:
|
|
|
1735
1727
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1736
1728
|
'200': "Project",
|
|
1737
1729
|
'404': "HTTPNotFoundError",
|
|
1738
|
-
'422': "HTTPValidationError"
|
|
1739
|
-
|
|
1730
|
+
'422': "HTTPValidationError",
|
|
1740
1731
|
}
|
|
1741
1732
|
response_data = await self.api_client.call_api(
|
|
1742
1733
|
*_param,
|
|
@@ -1809,8 +1800,7 @@ class ProjectsApi:
|
|
|
1809
1800
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1810
1801
|
'200': "Project",
|
|
1811
1802
|
'404': "HTTPNotFoundError",
|
|
1812
|
-
'422': "HTTPValidationError"
|
|
1813
|
-
|
|
1803
|
+
'422': "HTTPValidationError",
|
|
1814
1804
|
}
|
|
1815
1805
|
response_data = await self.api_client.call_api(
|
|
1816
1806
|
*_param,
|
|
@@ -1827,19 +1817,20 @@ class ProjectsApi:
|
|
|
1827
1817
|
_content_type,
|
|
1828
1818
|
_headers,
|
|
1829
1819
|
_host_index,
|
|
1830
|
-
) ->
|
|
1820
|
+
) -> RequestSerialized:
|
|
1831
1821
|
|
|
1832
1822
|
_host = None
|
|
1833
1823
|
|
|
1834
1824
|
_collection_formats: Dict[str, str] = {
|
|
1835
|
-
|
|
1836
1825
|
}
|
|
1837
1826
|
|
|
1838
1827
|
_path_params: Dict[str, str] = {}
|
|
1839
1828
|
_query_params: List[Tuple[str, str]] = []
|
|
1840
1829
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1841
1830
|
_form_params: List[Tuple[str, str]] = []
|
|
1842
|
-
_files: Dict[
|
|
1831
|
+
_files: Dict[
|
|
1832
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1833
|
+
] = {}
|
|
1843
1834
|
_body_params: Optional[bytes] = None
|
|
1844
1835
|
|
|
1845
1836
|
# process the path parameters
|
|
@@ -1854,11 +1845,12 @@ class ProjectsApi:
|
|
|
1854
1845
|
|
|
1855
1846
|
|
|
1856
1847
|
# set the HTTP header `Accept`
|
|
1857
|
-
|
|
1858
|
-
[
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1848
|
+
if 'Accept' not in _header_params:
|
|
1849
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1850
|
+
[
|
|
1851
|
+
'application/json'
|
|
1852
|
+
]
|
|
1853
|
+
)
|
|
1862
1854
|
|
|
1863
1855
|
# set the HTTP header `Content-Type`
|
|
1864
1856
|
if _content_type:
|