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,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.domain import Domain
|
|
35
24
|
from compute_api_client.models.page_transaction import PageTransaction
|
|
36
25
|
from compute_api_client.models.transaction import Transaction
|
|
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
|
|
|
@@ -109,8 +98,7 @@ class TransactionsApi:
|
|
|
109
98
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
99
|
'200': "Transaction",
|
|
111
100
|
'404': "HTTPNotFoundError",
|
|
112
|
-
'422': "HTTPValidationError"
|
|
113
|
-
|
|
101
|
+
'422': "HTTPValidationError",
|
|
114
102
|
}
|
|
115
103
|
response_data = await self.api_client.call_api(
|
|
116
104
|
*_param,
|
|
@@ -179,8 +167,7 @@ class TransactionsApi:
|
|
|
179
167
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
180
168
|
'200': "Transaction",
|
|
181
169
|
'404': "HTTPNotFoundError",
|
|
182
|
-
'422': "HTTPValidationError"
|
|
183
|
-
|
|
170
|
+
'422': "HTTPValidationError",
|
|
184
171
|
}
|
|
185
172
|
response_data = await self.api_client.call_api(
|
|
186
173
|
*_param,
|
|
@@ -249,8 +236,7 @@ class TransactionsApi:
|
|
|
249
236
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
250
237
|
'200': "Transaction",
|
|
251
238
|
'404': "HTTPNotFoundError",
|
|
252
|
-
'422': "HTTPValidationError"
|
|
253
|
-
|
|
239
|
+
'422': "HTTPValidationError",
|
|
254
240
|
}
|
|
255
241
|
response_data = await self.api_client.call_api(
|
|
256
242
|
*_param,
|
|
@@ -266,19 +252,20 @@ class TransactionsApi:
|
|
|
266
252
|
_content_type,
|
|
267
253
|
_headers,
|
|
268
254
|
_host_index,
|
|
269
|
-
) ->
|
|
255
|
+
) -> RequestSerialized:
|
|
270
256
|
|
|
271
257
|
_host = None
|
|
272
258
|
|
|
273
259
|
_collection_formats: Dict[str, str] = {
|
|
274
|
-
|
|
275
260
|
}
|
|
276
261
|
|
|
277
262
|
_path_params: Dict[str, str] = {}
|
|
278
263
|
_query_params: List[Tuple[str, str]] = []
|
|
279
264
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
280
265
|
_form_params: List[Tuple[str, str]] = []
|
|
281
|
-
_files: Dict[
|
|
266
|
+
_files: Dict[
|
|
267
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
268
|
+
] = {}
|
|
282
269
|
_body_params: Optional[bytes] = None
|
|
283
270
|
|
|
284
271
|
# process the path parameters
|
|
@@ -291,11 +278,12 @@ class TransactionsApi:
|
|
|
291
278
|
|
|
292
279
|
|
|
293
280
|
# set the HTTP header `Accept`
|
|
294
|
-
|
|
295
|
-
[
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
281
|
+
if 'Accept' not in _header_params:
|
|
282
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
283
|
+
[
|
|
284
|
+
'application/json'
|
|
285
|
+
]
|
|
286
|
+
)
|
|
299
287
|
|
|
300
288
|
|
|
301
289
|
# authentication setting
|
|
@@ -428,8 +416,7 @@ class TransactionsApi:
|
|
|
428
416
|
|
|
429
417
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
430
418
|
'200': "PageTransaction",
|
|
431
|
-
'422': "HTTPValidationError"
|
|
432
|
-
|
|
419
|
+
'422': "HTTPValidationError",
|
|
433
420
|
}
|
|
434
421
|
response_data = await self.api_client.call_api(
|
|
435
422
|
*_param,
|
|
@@ -549,8 +536,7 @@ class TransactionsApi:
|
|
|
549
536
|
|
|
550
537
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
551
538
|
'200': "PageTransaction",
|
|
552
|
-
'422': "HTTPValidationError"
|
|
553
|
-
|
|
539
|
+
'422': "HTTPValidationError",
|
|
554
540
|
}
|
|
555
541
|
response_data = await self.api_client.call_api(
|
|
556
542
|
*_param,
|
|
@@ -670,8 +656,7 @@ class TransactionsApi:
|
|
|
670
656
|
|
|
671
657
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
672
658
|
'200': "PageTransaction",
|
|
673
|
-
'422': "HTTPValidationError"
|
|
674
|
-
|
|
659
|
+
'422': "HTTPValidationError",
|
|
675
660
|
}
|
|
676
661
|
response_data = await self.api_client.call_api(
|
|
677
662
|
*_param,
|
|
@@ -700,19 +685,20 @@ class TransactionsApi:
|
|
|
700
685
|
_content_type,
|
|
701
686
|
_headers,
|
|
702
687
|
_host_index,
|
|
703
|
-
) ->
|
|
688
|
+
) -> RequestSerialized:
|
|
704
689
|
|
|
705
690
|
_host = None
|
|
706
691
|
|
|
707
692
|
_collection_formats: Dict[str, str] = {
|
|
708
|
-
|
|
709
693
|
}
|
|
710
694
|
|
|
711
695
|
_path_params: Dict[str, str] = {}
|
|
712
696
|
_query_params: List[Tuple[str, str]] = []
|
|
713
697
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
714
698
|
_form_params: List[Tuple[str, str]] = []
|
|
715
|
-
_files: Dict[
|
|
699
|
+
_files: Dict[
|
|
700
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
701
|
+
] = {}
|
|
716
702
|
_body_params: Optional[bytes] = None
|
|
717
703
|
|
|
718
704
|
# process the path parameters
|
|
@@ -788,11 +774,12 @@ class TransactionsApi:
|
|
|
788
774
|
|
|
789
775
|
|
|
790
776
|
# set the HTTP header `Accept`
|
|
791
|
-
|
|
792
|
-
[
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
777
|
+
if 'Accept' not in _header_params:
|
|
778
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
779
|
+
[
|
|
780
|
+
'application/json'
|
|
781
|
+
]
|
|
782
|
+
)
|
|
796
783
|
|
|
797
784
|
|
|
798
785
|
# authentication setting
|
|
@@ -11,29 +11,19 @@
|
|
|
11
11
|
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
import io
|
|
16
14
|
import warnings
|
|
17
|
-
|
|
18
15
|
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
19
|
-
from typing import Dict, List, Optional, Tuple, Union
|
|
20
|
-
|
|
21
|
-
try:
|
|
22
|
-
from typing import Annotated
|
|
23
|
-
except ImportError:
|
|
24
|
-
from typing_extensions import Annotated
|
|
25
|
-
|
|
26
|
-
from pydantic import Field
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
27
17
|
from typing_extensions import Annotated
|
|
28
|
-
from pydantic import StrictBool, StrictInt, StrictStr
|
|
29
18
|
|
|
19
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
30
20
|
from typing import Optional
|
|
31
|
-
|
|
21
|
+
from typing_extensions import Annotated
|
|
32
22
|
from compute_api_client.models.page_user import PageUser
|
|
33
23
|
from compute_api_client.models.user import User
|
|
34
24
|
from compute_api_client.models.user_in import UserIn
|
|
35
25
|
|
|
36
|
-
from compute_api_client.api_client import ApiClient
|
|
26
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
37
27
|
from compute_api_client.api_response import ApiResponse
|
|
38
28
|
from compute_api_client.rest import RESTResponseType
|
|
39
29
|
|
|
@@ -106,8 +96,7 @@ class UsersApi:
|
|
|
106
96
|
|
|
107
97
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
108
98
|
'201': "User",
|
|
109
|
-
'422': "HTTPValidationError"
|
|
110
|
-
|
|
99
|
+
'422': "HTTPValidationError",
|
|
111
100
|
}
|
|
112
101
|
response_data = await self.api_client.call_api(
|
|
113
102
|
*_param,
|
|
@@ -175,8 +164,7 @@ class UsersApi:
|
|
|
175
164
|
|
|
176
165
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
177
166
|
'201': "User",
|
|
178
|
-
'422': "HTTPValidationError"
|
|
179
|
-
|
|
167
|
+
'422': "HTTPValidationError",
|
|
180
168
|
}
|
|
181
169
|
response_data = await self.api_client.call_api(
|
|
182
170
|
*_param,
|
|
@@ -244,8 +232,7 @@ class UsersApi:
|
|
|
244
232
|
|
|
245
233
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
246
234
|
'201': "User",
|
|
247
|
-
'422': "HTTPValidationError"
|
|
248
|
-
|
|
235
|
+
'422': "HTTPValidationError",
|
|
249
236
|
}
|
|
250
237
|
response_data = await self.api_client.call_api(
|
|
251
238
|
*_param,
|
|
@@ -261,19 +248,20 @@ class UsersApi:
|
|
|
261
248
|
_content_type,
|
|
262
249
|
_headers,
|
|
263
250
|
_host_index,
|
|
264
|
-
) ->
|
|
251
|
+
) -> RequestSerialized:
|
|
265
252
|
|
|
266
253
|
_host = None
|
|
267
254
|
|
|
268
255
|
_collection_formats: Dict[str, str] = {
|
|
269
|
-
|
|
270
256
|
}
|
|
271
257
|
|
|
272
258
|
_path_params: Dict[str, str] = {}
|
|
273
259
|
_query_params: List[Tuple[str, str]] = []
|
|
274
260
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
275
261
|
_form_params: List[Tuple[str, str]] = []
|
|
276
|
-
_files: Dict[
|
|
262
|
+
_files: Dict[
|
|
263
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
264
|
+
] = {}
|
|
277
265
|
_body_params: Optional[bytes] = None
|
|
278
266
|
|
|
279
267
|
# process the path parameters
|
|
@@ -286,11 +274,12 @@ class UsersApi:
|
|
|
286
274
|
|
|
287
275
|
|
|
288
276
|
# set the HTTP header `Accept`
|
|
289
|
-
|
|
290
|
-
[
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
277
|
+
if 'Accept' not in _header_params:
|
|
278
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
279
|
+
[
|
|
280
|
+
'application/json'
|
|
281
|
+
]
|
|
282
|
+
)
|
|
294
283
|
|
|
295
284
|
# set the HTTP header `Content-Type`
|
|
296
285
|
if _content_type:
|
|
@@ -383,7 +372,9 @@ class UsersApi:
|
|
|
383
372
|
)
|
|
384
373
|
|
|
385
374
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
386
|
-
|
|
375
|
+
'204': None,
|
|
376
|
+
'404': "HTTPNotFoundError",
|
|
377
|
+
'422': "HTTPValidationError",
|
|
387
378
|
}
|
|
388
379
|
response_data = await self.api_client.call_api(
|
|
389
380
|
*_param,
|
|
@@ -450,7 +441,9 @@ class UsersApi:
|
|
|
450
441
|
)
|
|
451
442
|
|
|
452
443
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
453
|
-
|
|
444
|
+
'204': None,
|
|
445
|
+
'404': "HTTPNotFoundError",
|
|
446
|
+
'422': "HTTPValidationError",
|
|
454
447
|
}
|
|
455
448
|
response_data = await self.api_client.call_api(
|
|
456
449
|
*_param,
|
|
@@ -517,7 +510,9 @@ class UsersApi:
|
|
|
517
510
|
)
|
|
518
511
|
|
|
519
512
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
520
|
-
|
|
513
|
+
'204': None,
|
|
514
|
+
'404': "HTTPNotFoundError",
|
|
515
|
+
'422': "HTTPValidationError",
|
|
521
516
|
}
|
|
522
517
|
response_data = await self.api_client.call_api(
|
|
523
518
|
*_param,
|
|
@@ -533,19 +528,20 @@ class UsersApi:
|
|
|
533
528
|
_content_type,
|
|
534
529
|
_headers,
|
|
535
530
|
_host_index,
|
|
536
|
-
) ->
|
|
531
|
+
) -> RequestSerialized:
|
|
537
532
|
|
|
538
533
|
_host = None
|
|
539
534
|
|
|
540
535
|
_collection_formats: Dict[str, str] = {
|
|
541
|
-
|
|
542
536
|
}
|
|
543
537
|
|
|
544
538
|
_path_params: Dict[str, str] = {}
|
|
545
539
|
_query_params: List[Tuple[str, str]] = []
|
|
546
540
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
547
541
|
_form_params: List[Tuple[str, str]] = []
|
|
548
|
-
_files: Dict[
|
|
542
|
+
_files: Dict[
|
|
543
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
544
|
+
] = {}
|
|
549
545
|
_body_params: Optional[bytes] = None
|
|
550
546
|
|
|
551
547
|
# process the path parameters
|
|
@@ -558,11 +554,12 @@ class UsersApi:
|
|
|
558
554
|
|
|
559
555
|
|
|
560
556
|
# set the HTTP header `Accept`
|
|
561
|
-
|
|
562
|
-
[
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
557
|
+
if 'Accept' not in _header_params:
|
|
558
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
559
|
+
[
|
|
560
|
+
'application/json'
|
|
561
|
+
]
|
|
562
|
+
)
|
|
566
563
|
|
|
567
564
|
|
|
568
565
|
# authentication setting
|
|
@@ -644,8 +641,7 @@ class UsersApi:
|
|
|
644
641
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
645
642
|
'200': "User",
|
|
646
643
|
'404': "HTTPNotFoundError",
|
|
647
|
-
'422': "HTTPValidationError"
|
|
648
|
-
|
|
644
|
+
'422': "HTTPValidationError",
|
|
649
645
|
}
|
|
650
646
|
response_data = await self.api_client.call_api(
|
|
651
647
|
*_param,
|
|
@@ -714,8 +710,7 @@ class UsersApi:
|
|
|
714
710
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
715
711
|
'200': "User",
|
|
716
712
|
'404': "HTTPNotFoundError",
|
|
717
|
-
'422': "HTTPValidationError"
|
|
718
|
-
|
|
713
|
+
'422': "HTTPValidationError",
|
|
719
714
|
}
|
|
720
715
|
response_data = await self.api_client.call_api(
|
|
721
716
|
*_param,
|
|
@@ -784,8 +779,7 @@ class UsersApi:
|
|
|
784
779
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
785
780
|
'200': "User",
|
|
786
781
|
'404': "HTTPNotFoundError",
|
|
787
|
-
'422': "HTTPValidationError"
|
|
788
|
-
|
|
782
|
+
'422': "HTTPValidationError",
|
|
789
783
|
}
|
|
790
784
|
response_data = await self.api_client.call_api(
|
|
791
785
|
*_param,
|
|
@@ -801,19 +795,20 @@ class UsersApi:
|
|
|
801
795
|
_content_type,
|
|
802
796
|
_headers,
|
|
803
797
|
_host_index,
|
|
804
|
-
) ->
|
|
798
|
+
) -> RequestSerialized:
|
|
805
799
|
|
|
806
800
|
_host = None
|
|
807
801
|
|
|
808
802
|
_collection_formats: Dict[str, str] = {
|
|
809
|
-
|
|
810
803
|
}
|
|
811
804
|
|
|
812
805
|
_path_params: Dict[str, str] = {}
|
|
813
806
|
_query_params: List[Tuple[str, str]] = []
|
|
814
807
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
815
808
|
_form_params: List[Tuple[str, str]] = []
|
|
816
|
-
_files: Dict[
|
|
809
|
+
_files: Dict[
|
|
810
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
811
|
+
] = {}
|
|
817
812
|
_body_params: Optional[bytes] = None
|
|
818
813
|
|
|
819
814
|
# process the path parameters
|
|
@@ -826,11 +821,12 @@ class UsersApi:
|
|
|
826
821
|
|
|
827
822
|
|
|
828
823
|
# set the HTTP header `Accept`
|
|
829
|
-
|
|
830
|
-
[
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
824
|
+
if 'Accept' not in _header_params:
|
|
825
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
826
|
+
[
|
|
827
|
+
'application/json'
|
|
828
|
+
]
|
|
829
|
+
)
|
|
834
830
|
|
|
835
831
|
|
|
836
832
|
# authentication setting
|
|
@@ -955,8 +951,7 @@ class UsersApi:
|
|
|
955
951
|
|
|
956
952
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
957
953
|
'200': "PageUser",
|
|
958
|
-
'422': "HTTPValidationError"
|
|
959
|
-
|
|
954
|
+
'422': "HTTPValidationError",
|
|
960
955
|
}
|
|
961
956
|
response_data = await self.api_client.call_api(
|
|
962
957
|
*_param,
|
|
@@ -1068,8 +1063,7 @@ class UsersApi:
|
|
|
1068
1063
|
|
|
1069
1064
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1070
1065
|
'200': "PageUser",
|
|
1071
|
-
'422': "HTTPValidationError"
|
|
1072
|
-
|
|
1066
|
+
'422': "HTTPValidationError",
|
|
1073
1067
|
}
|
|
1074
1068
|
response_data = await self.api_client.call_api(
|
|
1075
1069
|
*_param,
|
|
@@ -1181,8 +1175,7 @@ class UsersApi:
|
|
|
1181
1175
|
|
|
1182
1176
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1183
1177
|
'200': "PageUser",
|
|
1184
|
-
'422': "HTTPValidationError"
|
|
1185
|
-
|
|
1178
|
+
'422': "HTTPValidationError",
|
|
1186
1179
|
}
|
|
1187
1180
|
response_data = await self.api_client.call_api(
|
|
1188
1181
|
*_param,
|
|
@@ -1209,19 +1202,20 @@ class UsersApi:
|
|
|
1209
1202
|
_content_type,
|
|
1210
1203
|
_headers,
|
|
1211
1204
|
_host_index,
|
|
1212
|
-
) ->
|
|
1205
|
+
) -> RequestSerialized:
|
|
1213
1206
|
|
|
1214
1207
|
_host = None
|
|
1215
1208
|
|
|
1216
1209
|
_collection_formats: Dict[str, str] = {
|
|
1217
|
-
|
|
1218
1210
|
}
|
|
1219
1211
|
|
|
1220
1212
|
_path_params: Dict[str, str] = {}
|
|
1221
1213
|
_query_params: List[Tuple[str, str]] = []
|
|
1222
1214
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1223
1215
|
_form_params: List[Tuple[str, str]] = []
|
|
1224
|
-
_files: Dict[
|
|
1216
|
+
_files: Dict[
|
|
1217
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1218
|
+
] = {}
|
|
1225
1219
|
_body_params: Optional[bytes] = None
|
|
1226
1220
|
|
|
1227
1221
|
# process the path parameters
|
|
@@ -1280,11 +1274,12 @@ class UsersApi:
|
|
|
1280
1274
|
|
|
1281
1275
|
|
|
1282
1276
|
# set the HTTP header `Accept`
|
|
1283
|
-
|
|
1284
|
-
[
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1277
|
+
if 'Accept' not in _header_params:
|
|
1278
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1279
|
+
[
|
|
1280
|
+
'application/json'
|
|
1281
|
+
]
|
|
1282
|
+
)
|
|
1288
1283
|
|
|
1289
1284
|
|
|
1290
1285
|
# authentication setting
|