qi-compute-api-client 0.52.0__py3-none-any.whl → 0.54.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qi-compute-api-client might be problematic. Click here for more details.
- compute_api_client/__init__.py +194 -95
- compute_api_client/api/algorithms_api.py +75 -81
- compute_api_client/api/auth_config_api.py +16 -24
- compute_api_client/api/backend_api.py +70 -86
- compute_api_client/api/backend_types_api.py +77 -56
- compute_api_client/api/batch_jobs_api.py +102 -120
- compute_api_client/api/commits_api.py +85 -80
- compute_api_client/api/files_api.py +62 -67
- compute_api_client/api/final_results_api.py +42 -53
- compute_api_client/api/health_api.py +16 -25
- compute_api_client/api/jobs_api.py +76 -83
- compute_api_client/api/languages_api.py +30 -42
- compute_api_client/api/members_api.py +62 -67
- compute_api_client/api/permissions_api.py +56 -70
- compute_api_client/api/projects_api.py +89 -97
- compute_api_client/api/reservations_api.py +57 -72
- compute_api_client/api/results_api.py +76 -83
- compute_api_client/api/teams_api.py +30 -42
- compute_api_client/api/transactions_api.py +31 -44
- compute_api_client/api/users_api.py +62 -67
- compute_api_client/api_client.py +135 -75
- compute_api_client/api_response.py +3 -3
- compute_api_client/configuration.py +176 -36
- compute_api_client/docs/Algorithm.md +8 -7
- compute_api_client/docs/AlgorithmIn.md +7 -6
- compute_api_client/docs/AlgorithmType.md +5 -3
- compute_api_client/docs/AlgorithmsApi.md +15 -10
- compute_api_client/docs/AuthConfig.md +3 -2
- compute_api_client/docs/AuthConfigApi.md +3 -2
- compute_api_client/docs/Backend.md +9 -8
- compute_api_client/docs/BackendApi.md +15 -10
- compute_api_client/docs/BackendIn.md +8 -7
- compute_api_client/docs/BackendPatch.md +5 -4
- compute_api_client/docs/BackendStatus.md +9 -3
- compute_api_client/docs/BackendType.md +21 -19
- compute_api_client/docs/BackendTypePatch.md +4 -2
- compute_api_client/docs/BackendTypesApi.md +21 -10
- compute_api_client/docs/BackendWithAuthentication.md +10 -9
- compute_api_client/docs/BatchJob.md +10 -9
- compute_api_client/docs/BatchJobIn.md +4 -3
- compute_api_client/docs/BatchJobStatus.md +11 -3
- compute_api_client/docs/BatchJobsApi.md +23 -16
- compute_api_client/docs/Commit.md +8 -7
- compute_api_client/docs/CommitIn.md +5 -4
- compute_api_client/docs/CommitsApi.md +15 -10
- compute_api_client/docs/CompilePayload.md +4 -3
- compute_api_client/docs/CompileStage.md +11 -3
- compute_api_client/docs/Domain.md +7 -3
- compute_api_client/docs/File.md +10 -9
- compute_api_client/docs/FileIn.md +9 -8
- compute_api_client/docs/FilesApi.md +12 -8
- compute_api_client/docs/FinalResult.md +7 -6
- compute_api_client/docs/FinalResultIn.md +5 -4
- compute_api_client/docs/FinalResultsApi.md +9 -6
- compute_api_client/docs/HTTPBadRequestError.md +3 -2
- compute_api_client/docs/HTTPNotFoundError.md +3 -2
- compute_api_client/docs/HTTPValidationError.md +3 -2
- compute_api_client/docs/HealthApi.md +3 -2
- compute_api_client/docs/Job.md +13 -12
- compute_api_client/docs/Job1.md +28 -0
- compute_api_client/docs/JobIn.md +6 -5
- compute_api_client/docs/JobPatch.md +8 -7
- compute_api_client/docs/JobStatus.md +11 -3
- compute_api_client/docs/JobsApi.md +15 -10
- compute_api_client/docs/Language.md +6 -5
- compute_api_client/docs/LanguagesApi.md +6 -4
- compute_api_client/docs/Member.md +8 -7
- compute_api_client/docs/MemberId.md +28 -0
- compute_api_client/docs/MemberIn.md +7 -6
- compute_api_client/docs/MembersApi.md +12 -8
- compute_api_client/docs/PageAlgorithm.md +3 -2
- compute_api_client/docs/PageBackend.md +3 -2
- compute_api_client/docs/PageBackendType.md +3 -2
- compute_api_client/docs/PageBatchJob.md +3 -2
- compute_api_client/docs/PageCommit.md +3 -2
- compute_api_client/docs/PageFile.md +3 -2
- compute_api_client/docs/PageJob.md +3 -2
- compute_api_client/docs/PageLanguage.md +3 -2
- compute_api_client/docs/PageMember.md +3 -2
- compute_api_client/docs/PagePermission.md +3 -2
- compute_api_client/docs/PagePermissionGroup.md +3 -2
- compute_api_client/docs/PageProject.md +3 -2
- compute_api_client/docs/PageReservation.md +3 -2
- compute_api_client/docs/PageResult.md +3 -2
- compute_api_client/docs/PageTeam.md +3 -2
- compute_api_client/docs/PageTransaction.md +3 -2
- compute_api_client/docs/PageUser.md +3 -2
- compute_api_client/docs/Permission.md +6 -5
- compute_api_client/docs/PermissionGroup.md +5 -4
- compute_api_client/docs/PermissionsApi.md +12 -8
- compute_api_client/docs/Project.md +9 -8
- compute_api_client/docs/ProjectIn.md +7 -6
- compute_api_client/docs/ProjectPatch.md +3 -2
- compute_api_client/docs/ProjectsApi.md +23 -13
- compute_api_client/docs/Reservation.md +9 -8
- compute_api_client/docs/ReservationIn.md +7 -6
- compute_api_client/docs/ReservationsApi.md +12 -8
- compute_api_client/docs/Result.md +7 -6
- compute_api_client/docs/ResultIn.md +5 -4
- compute_api_client/docs/ResultsApi.md +15 -10
- compute_api_client/docs/Role.md +5 -3
- compute_api_client/docs/ShareType.md +7 -3
- compute_api_client/docs/Team.md +7 -6
- compute_api_client/docs/TeamsApi.md +6 -4
- compute_api_client/docs/Transaction.md +6 -5
- compute_api_client/docs/TransactionDomain.md +28 -0
- compute_api_client/docs/TransactionsApi.md +6 -4
- compute_api_client/docs/User.md +11 -10
- compute_api_client/docs/UserIn.md +10 -9
- compute_api_client/docs/UsersApi.md +12 -8
- compute_api_client/docs/ValidationError.md +4 -3
- compute_api_client/docs/ValidationErrorLocInner.md +28 -0
- compute_api_client/exceptions.py +74 -24
- compute_api_client/models/__init__.py +1 -1
- compute_api_client/models/algorithm.py +19 -20
- compute_api_client/models/algorithm_in.py +18 -19
- compute_api_client/models/algorithm_type.py +1 -9
- compute_api_client/models/auth_config.py +14 -14
- compute_api_client/models/backend.py +20 -20
- compute_api_client/models/backend_in.py +19 -19
- compute_api_client/models/backend_patch.py +16 -15
- compute_api_client/models/backend_status.py +1 -9
- compute_api_client/models/backend_type.py +42 -36
- compute_api_client/models/backend_type_patch.py +23 -17
- compute_api_client/models/backend_with_authentication.py +21 -21
- compute_api_client/models/batch_job.py +21 -20
- compute_api_client/models/batch_job_in.py +15 -15
- compute_api_client/models/batch_job_status.py +1 -9
- compute_api_client/models/commit.py +19 -19
- compute_api_client/models/commit_in.py +16 -16
- compute_api_client/models/compile_payload.py +15 -15
- compute_api_client/models/compile_stage.py +1 -9
- compute_api_client/models/domain.py +1 -9
- compute_api_client/models/file.py +21 -22
- compute_api_client/models/file_in.py +20 -21
- compute_api_client/models/final_result.py +18 -17
- compute_api_client/models/final_result_in.py +16 -16
- compute_api_client/models/http_bad_request_error.py +14 -14
- compute_api_client/models/http_not_found_error.py +14 -14
- compute_api_client/models/http_validation_error.py +18 -18
- compute_api_client/models/job.py +24 -24
- compute_api_client/models/job1.py +144 -0
- compute_api_client/models/job_in.py +17 -17
- compute_api_client/models/job_patch.py +19 -20
- compute_api_client/models/job_status.py +1 -9
- compute_api_client/models/language.py +17 -18
- compute_api_client/models/member.py +19 -19
- compute_api_client/models/member_id.py +144 -0
- compute_api_client/models/member_in.py +18 -18
- compute_api_client/models/page_algorithm.py +18 -19
- compute_api_client/models/page_backend.py +18 -19
- compute_api_client/models/page_backend_type.py +18 -19
- compute_api_client/models/page_batch_job.py +18 -19
- compute_api_client/models/page_commit.py +18 -19
- compute_api_client/models/page_file.py +18 -19
- compute_api_client/models/page_job.py +18 -19
- compute_api_client/models/page_language.py +18 -19
- compute_api_client/models/page_member.py +18 -19
- compute_api_client/models/page_permission.py +18 -19
- compute_api_client/models/page_permission_group.py +18 -19
- compute_api_client/models/page_project.py +18 -19
- compute_api_client/models/page_reservation.py +18 -19
- compute_api_client/models/page_result.py +18 -19
- compute_api_client/models/page_team.py +18 -19
- compute_api_client/models/page_transaction.py +18 -19
- compute_api_client/models/page_user.py +18 -19
- compute_api_client/models/permission.py +17 -18
- compute_api_client/models/permission_group.py +16 -17
- compute_api_client/models/project.py +20 -20
- compute_api_client/models/project_in.py +18 -19
- compute_api_client/models/project_patch.py +14 -15
- compute_api_client/models/reservation.py +20 -19
- compute_api_client/models/reservation_in.py +18 -17
- compute_api_client/models/result.py +18 -17
- compute_api_client/models/result_in.py +16 -16
- compute_api_client/models/role.py +1 -9
- compute_api_client/models/share_type.py +1 -9
- compute_api_client/models/team.py +18 -19
- compute_api_client/models/transaction.py +17 -17
- compute_api_client/models/transaction_domain.py +142 -0
- compute_api_client/models/user.py +22 -23
- compute_api_client/models/user_in.py +21 -22
- compute_api_client/models/validation_error.py +20 -20
- compute_api_client/models/validation_error_loc_inner.py +138 -0
- compute_api_client/rest.py +51 -26
- {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/METADATA +12 -9
- qi_compute_api_client-0.54.0.dist-info/RECORD +205 -0
- qi_compute_api_client-0.52.0.dist-info/RECORD +0 -197
- {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/WHEEL +0 -0
- {qi_compute_api_client-0.52.0.dist-info → qi_compute_api_client-0.54.0.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -11,31 +11,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 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.algorithm import Algorithm
|
|
33
23
|
from compute_api_client.models.algorithm_in import AlgorithmIn
|
|
34
24
|
from compute_api_client.models.algorithm_type import AlgorithmType
|
|
35
25
|
from compute_api_client.models.page_algorithm import PageAlgorithm
|
|
36
26
|
from compute_api_client.models.share_type import ShareType
|
|
37
27
|
|
|
38
|
-
from compute_api_client.api_client import ApiClient
|
|
28
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
39
29
|
from compute_api_client.api_response import ApiResponse
|
|
40
30
|
from compute_api_client.rest import RESTResponseType
|
|
41
31
|
|
|
@@ -108,8 +98,7 @@ class AlgorithmsApi:
|
|
|
108
98
|
|
|
109
99
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
100
|
'201': "Algorithm",
|
|
111
|
-
'422': "HTTPValidationError"
|
|
112
|
-
|
|
101
|
+
'422': "HTTPValidationError",
|
|
113
102
|
}
|
|
114
103
|
response_data = await self.api_client.call_api(
|
|
115
104
|
*_param,
|
|
@@ -177,8 +166,7 @@ class AlgorithmsApi:
|
|
|
177
166
|
|
|
178
167
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
179
168
|
'201': "Algorithm",
|
|
180
|
-
'422': "HTTPValidationError"
|
|
181
|
-
|
|
169
|
+
'422': "HTTPValidationError",
|
|
182
170
|
}
|
|
183
171
|
response_data = await self.api_client.call_api(
|
|
184
172
|
*_param,
|
|
@@ -246,8 +234,7 @@ class AlgorithmsApi:
|
|
|
246
234
|
|
|
247
235
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
248
236
|
'201': "Algorithm",
|
|
249
|
-
'422': "HTTPValidationError"
|
|
250
|
-
|
|
237
|
+
'422': "HTTPValidationError",
|
|
251
238
|
}
|
|
252
239
|
response_data = await self.api_client.call_api(
|
|
253
240
|
*_param,
|
|
@@ -263,19 +250,20 @@ class AlgorithmsApi:
|
|
|
263
250
|
_content_type,
|
|
264
251
|
_headers,
|
|
265
252
|
_host_index,
|
|
266
|
-
) ->
|
|
253
|
+
) -> RequestSerialized:
|
|
267
254
|
|
|
268
255
|
_host = None
|
|
269
256
|
|
|
270
257
|
_collection_formats: Dict[str, str] = {
|
|
271
|
-
|
|
272
258
|
}
|
|
273
259
|
|
|
274
260
|
_path_params: Dict[str, str] = {}
|
|
275
261
|
_query_params: List[Tuple[str, str]] = []
|
|
276
262
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
277
263
|
_form_params: List[Tuple[str, str]] = []
|
|
278
|
-
_files: Dict[
|
|
264
|
+
_files: Dict[
|
|
265
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
266
|
+
] = {}
|
|
279
267
|
_body_params: Optional[bytes] = None
|
|
280
268
|
|
|
281
269
|
# process the path parameters
|
|
@@ -288,11 +276,12 @@ class AlgorithmsApi:
|
|
|
288
276
|
|
|
289
277
|
|
|
290
278
|
# set the HTTP header `Accept`
|
|
291
|
-
|
|
292
|
-
[
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
279
|
+
if 'Accept' not in _header_params:
|
|
280
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
281
|
+
[
|
|
282
|
+
'application/json'
|
|
283
|
+
]
|
|
284
|
+
)
|
|
296
285
|
|
|
297
286
|
# set the HTTP header `Content-Type`
|
|
298
287
|
if _content_type:
|
|
@@ -385,7 +374,9 @@ class AlgorithmsApi:
|
|
|
385
374
|
)
|
|
386
375
|
|
|
387
376
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
388
|
-
|
|
377
|
+
'204': None,
|
|
378
|
+
'404': "HTTPNotFoundError",
|
|
379
|
+
'422': "HTTPValidationError",
|
|
389
380
|
}
|
|
390
381
|
response_data = await self.api_client.call_api(
|
|
391
382
|
*_param,
|
|
@@ -452,7 +443,9 @@ class AlgorithmsApi:
|
|
|
452
443
|
)
|
|
453
444
|
|
|
454
445
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
455
|
-
|
|
446
|
+
'204': None,
|
|
447
|
+
'404': "HTTPNotFoundError",
|
|
448
|
+
'422': "HTTPValidationError",
|
|
456
449
|
}
|
|
457
450
|
response_data = await self.api_client.call_api(
|
|
458
451
|
*_param,
|
|
@@ -519,7 +512,9 @@ class AlgorithmsApi:
|
|
|
519
512
|
)
|
|
520
513
|
|
|
521
514
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
522
|
-
|
|
515
|
+
'204': None,
|
|
516
|
+
'404': "HTTPNotFoundError",
|
|
517
|
+
'422': "HTTPValidationError",
|
|
523
518
|
}
|
|
524
519
|
response_data = await self.api_client.call_api(
|
|
525
520
|
*_param,
|
|
@@ -535,19 +530,20 @@ class AlgorithmsApi:
|
|
|
535
530
|
_content_type,
|
|
536
531
|
_headers,
|
|
537
532
|
_host_index,
|
|
538
|
-
) ->
|
|
533
|
+
) -> RequestSerialized:
|
|
539
534
|
|
|
540
535
|
_host = None
|
|
541
536
|
|
|
542
537
|
_collection_formats: Dict[str, str] = {
|
|
543
|
-
|
|
544
538
|
}
|
|
545
539
|
|
|
546
540
|
_path_params: Dict[str, str] = {}
|
|
547
541
|
_query_params: List[Tuple[str, str]] = []
|
|
548
542
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
549
543
|
_form_params: List[Tuple[str, str]] = []
|
|
550
|
-
_files: Dict[
|
|
544
|
+
_files: Dict[
|
|
545
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
546
|
+
] = {}
|
|
551
547
|
_body_params: Optional[bytes] = None
|
|
552
548
|
|
|
553
549
|
# process the path parameters
|
|
@@ -560,11 +556,12 @@ class AlgorithmsApi:
|
|
|
560
556
|
|
|
561
557
|
|
|
562
558
|
# set the HTTP header `Accept`
|
|
563
|
-
|
|
564
|
-
[
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
559
|
+
if 'Accept' not in _header_params:
|
|
560
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
561
|
+
[
|
|
562
|
+
'application/json'
|
|
563
|
+
]
|
|
564
|
+
)
|
|
568
565
|
|
|
569
566
|
|
|
570
567
|
# authentication setting
|
|
@@ -646,8 +643,7 @@ class AlgorithmsApi:
|
|
|
646
643
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
647
644
|
'200': "Algorithm",
|
|
648
645
|
'404': "HTTPNotFoundError",
|
|
649
|
-
'422': "HTTPValidationError"
|
|
650
|
-
|
|
646
|
+
'422': "HTTPValidationError",
|
|
651
647
|
}
|
|
652
648
|
response_data = await self.api_client.call_api(
|
|
653
649
|
*_param,
|
|
@@ -716,8 +712,7 @@ class AlgorithmsApi:
|
|
|
716
712
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
717
713
|
'200': "Algorithm",
|
|
718
714
|
'404': "HTTPNotFoundError",
|
|
719
|
-
'422': "HTTPValidationError"
|
|
720
|
-
|
|
715
|
+
'422': "HTTPValidationError",
|
|
721
716
|
}
|
|
722
717
|
response_data = await self.api_client.call_api(
|
|
723
718
|
*_param,
|
|
@@ -786,8 +781,7 @@ class AlgorithmsApi:
|
|
|
786
781
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
787
782
|
'200': "Algorithm",
|
|
788
783
|
'404': "HTTPNotFoundError",
|
|
789
|
-
'422': "HTTPValidationError"
|
|
790
|
-
|
|
784
|
+
'422': "HTTPValidationError",
|
|
791
785
|
}
|
|
792
786
|
response_data = await self.api_client.call_api(
|
|
793
787
|
*_param,
|
|
@@ -803,19 +797,20 @@ class AlgorithmsApi:
|
|
|
803
797
|
_content_type,
|
|
804
798
|
_headers,
|
|
805
799
|
_host_index,
|
|
806
|
-
) ->
|
|
800
|
+
) -> RequestSerialized:
|
|
807
801
|
|
|
808
802
|
_host = None
|
|
809
803
|
|
|
810
804
|
_collection_formats: Dict[str, str] = {
|
|
811
|
-
|
|
812
805
|
}
|
|
813
806
|
|
|
814
807
|
_path_params: Dict[str, str] = {}
|
|
815
808
|
_query_params: List[Tuple[str, str]] = []
|
|
816
809
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
817
810
|
_form_params: List[Tuple[str, str]] = []
|
|
818
|
-
_files: Dict[
|
|
811
|
+
_files: Dict[
|
|
812
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
813
|
+
] = {}
|
|
819
814
|
_body_params: Optional[bytes] = None
|
|
820
815
|
|
|
821
816
|
# process the path parameters
|
|
@@ -828,11 +823,12 @@ class AlgorithmsApi:
|
|
|
828
823
|
|
|
829
824
|
|
|
830
825
|
# set the HTTP header `Accept`
|
|
831
|
-
|
|
832
|
-
[
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
826
|
+
if 'Accept' not in _header_params:
|
|
827
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
828
|
+
[
|
|
829
|
+
'application/json'
|
|
830
|
+
]
|
|
831
|
+
)
|
|
836
832
|
|
|
837
833
|
|
|
838
834
|
# authentication setting
|
|
@@ -958,8 +954,7 @@ class AlgorithmsApi:
|
|
|
958
954
|
|
|
959
955
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
960
956
|
'200': "PageAlgorithm",
|
|
961
|
-
'422': "HTTPValidationError"
|
|
962
|
-
|
|
957
|
+
'422': "HTTPValidationError",
|
|
963
958
|
}
|
|
964
959
|
response_data = await self.api_client.call_api(
|
|
965
960
|
*_param,
|
|
@@ -1071,8 +1066,7 @@ class AlgorithmsApi:
|
|
|
1071
1066
|
|
|
1072
1067
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1073
1068
|
'200': "PageAlgorithm",
|
|
1074
|
-
'422': "HTTPValidationError"
|
|
1075
|
-
|
|
1069
|
+
'422': "HTTPValidationError",
|
|
1076
1070
|
}
|
|
1077
1071
|
response_data = await self.api_client.call_api(
|
|
1078
1072
|
*_param,
|
|
@@ -1184,8 +1178,7 @@ class AlgorithmsApi:
|
|
|
1184
1178
|
|
|
1185
1179
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1186
1180
|
'200': "PageAlgorithm",
|
|
1187
|
-
'422': "HTTPValidationError"
|
|
1188
|
-
|
|
1181
|
+
'422': "HTTPValidationError",
|
|
1189
1182
|
}
|
|
1190
1183
|
response_data = await self.api_client.call_api(
|
|
1191
1184
|
*_param,
|
|
@@ -1212,19 +1205,20 @@ class AlgorithmsApi:
|
|
|
1212
1205
|
_content_type,
|
|
1213
1206
|
_headers,
|
|
1214
1207
|
_host_index,
|
|
1215
|
-
) ->
|
|
1208
|
+
) -> RequestSerialized:
|
|
1216
1209
|
|
|
1217
1210
|
_host = None
|
|
1218
1211
|
|
|
1219
1212
|
_collection_formats: Dict[str, str] = {
|
|
1220
|
-
|
|
1221
1213
|
}
|
|
1222
1214
|
|
|
1223
1215
|
_path_params: Dict[str, str] = {}
|
|
1224
1216
|
_query_params: List[Tuple[str, str]] = []
|
|
1225
1217
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1226
1218
|
_form_params: List[Tuple[str, str]] = []
|
|
1227
|
-
_files: Dict[
|
|
1219
|
+
_files: Dict[
|
|
1220
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1221
|
+
] = {}
|
|
1228
1222
|
_body_params: Optional[bytes] = None
|
|
1229
1223
|
|
|
1230
1224
|
# process the path parameters
|
|
@@ -1283,11 +1277,12 @@ class AlgorithmsApi:
|
|
|
1283
1277
|
|
|
1284
1278
|
|
|
1285
1279
|
# set the HTTP header `Accept`
|
|
1286
|
-
|
|
1287
|
-
[
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1280
|
+
if 'Accept' not in _header_params:
|
|
1281
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1282
|
+
[
|
|
1283
|
+
'application/json'
|
|
1284
|
+
]
|
|
1285
|
+
)
|
|
1291
1286
|
|
|
1292
1287
|
|
|
1293
1288
|
# authentication setting
|
|
@@ -1373,8 +1368,7 @@ class AlgorithmsApi:
|
|
|
1373
1368
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1374
1369
|
'200': "Algorithm",
|
|
1375
1370
|
'404': "HTTPNotFoundError",
|
|
1376
|
-
'422': "HTTPValidationError"
|
|
1377
|
-
|
|
1371
|
+
'422': "HTTPValidationError",
|
|
1378
1372
|
}
|
|
1379
1373
|
response_data = await self.api_client.call_api(
|
|
1380
1374
|
*_param,
|
|
@@ -1447,8 +1441,7 @@ class AlgorithmsApi:
|
|
|
1447
1441
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1448
1442
|
'200': "Algorithm",
|
|
1449
1443
|
'404': "HTTPNotFoundError",
|
|
1450
|
-
'422': "HTTPValidationError"
|
|
1451
|
-
|
|
1444
|
+
'422': "HTTPValidationError",
|
|
1452
1445
|
}
|
|
1453
1446
|
response_data = await self.api_client.call_api(
|
|
1454
1447
|
*_param,
|
|
@@ -1521,8 +1514,7 @@ class AlgorithmsApi:
|
|
|
1521
1514
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1522
1515
|
'200': "Algorithm",
|
|
1523
1516
|
'404': "HTTPNotFoundError",
|
|
1524
|
-
'422': "HTTPValidationError"
|
|
1525
|
-
|
|
1517
|
+
'422': "HTTPValidationError",
|
|
1526
1518
|
}
|
|
1527
1519
|
response_data = await self.api_client.call_api(
|
|
1528
1520
|
*_param,
|
|
@@ -1539,19 +1531,20 @@ class AlgorithmsApi:
|
|
|
1539
1531
|
_content_type,
|
|
1540
1532
|
_headers,
|
|
1541
1533
|
_host_index,
|
|
1542
|
-
) ->
|
|
1534
|
+
) -> RequestSerialized:
|
|
1543
1535
|
|
|
1544
1536
|
_host = None
|
|
1545
1537
|
|
|
1546
1538
|
_collection_formats: Dict[str, str] = {
|
|
1547
|
-
|
|
1548
1539
|
}
|
|
1549
1540
|
|
|
1550
1541
|
_path_params: Dict[str, str] = {}
|
|
1551
1542
|
_query_params: List[Tuple[str, str]] = []
|
|
1552
1543
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1553
1544
|
_form_params: List[Tuple[str, str]] = []
|
|
1554
|
-
_files: Dict[
|
|
1545
|
+
_files: Dict[
|
|
1546
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1547
|
+
] = {}
|
|
1555
1548
|
_body_params: Optional[bytes] = None
|
|
1556
1549
|
|
|
1557
1550
|
# process the path parameters
|
|
@@ -1566,11 +1559,12 @@ class AlgorithmsApi:
|
|
|
1566
1559
|
|
|
1567
1560
|
|
|
1568
1561
|
# set the HTTP header `Accept`
|
|
1569
|
-
|
|
1570
|
-
[
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1562
|
+
if 'Accept' not in _header_params:
|
|
1563
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1564
|
+
[
|
|
1565
|
+
'application/json'
|
|
1566
|
+
]
|
|
1567
|
+
)
|
|
1574
1568
|
|
|
1575
1569
|
# set the HTTP header `Content-Type`
|
|
1576
1570
|
if _content_type:
|
|
@@ -11,21 +11,14 @@
|
|
|
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
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
25
18
|
|
|
26
19
|
from compute_api_client.models.auth_config import AuthConfig
|
|
27
20
|
|
|
28
|
-
from compute_api_client.api_client import ApiClient
|
|
21
|
+
from compute_api_client.api_client import ApiClient, RequestSerialized
|
|
29
22
|
from compute_api_client.api_response import ApiResponse
|
|
30
23
|
from compute_api_client.rest import RESTResponseType
|
|
31
24
|
|
|
@@ -92,8 +85,7 @@ class AuthConfigApi:
|
|
|
92
85
|
)
|
|
93
86
|
|
|
94
87
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
95
|
-
'200': "AuthConfig"
|
|
96
|
-
|
|
88
|
+
'200': "AuthConfig",
|
|
97
89
|
}
|
|
98
90
|
response_data = await self.api_client.call_api(
|
|
99
91
|
*_param,
|
|
@@ -155,8 +147,7 @@ class AuthConfigApi:
|
|
|
155
147
|
)
|
|
156
148
|
|
|
157
149
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
158
|
-
'200': "AuthConfig"
|
|
159
|
-
|
|
150
|
+
'200': "AuthConfig",
|
|
160
151
|
}
|
|
161
152
|
response_data = await self.api_client.call_api(
|
|
162
153
|
*_param,
|
|
@@ -218,8 +209,7 @@ class AuthConfigApi:
|
|
|
218
209
|
)
|
|
219
210
|
|
|
220
211
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
221
|
-
'200': "AuthConfig"
|
|
222
|
-
|
|
212
|
+
'200': "AuthConfig",
|
|
223
213
|
}
|
|
224
214
|
response_data = await self.api_client.call_api(
|
|
225
215
|
*_param,
|
|
@@ -234,19 +224,20 @@ class AuthConfigApi:
|
|
|
234
224
|
_content_type,
|
|
235
225
|
_headers,
|
|
236
226
|
_host_index,
|
|
237
|
-
) ->
|
|
227
|
+
) -> RequestSerialized:
|
|
238
228
|
|
|
239
229
|
_host = None
|
|
240
230
|
|
|
241
231
|
_collection_formats: Dict[str, str] = {
|
|
242
|
-
|
|
243
232
|
}
|
|
244
233
|
|
|
245
234
|
_path_params: Dict[str, str] = {}
|
|
246
235
|
_query_params: List[Tuple[str, str]] = []
|
|
247
236
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
248
237
|
_form_params: List[Tuple[str, str]] = []
|
|
249
|
-
_files: Dict[
|
|
238
|
+
_files: Dict[
|
|
239
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
240
|
+
] = {}
|
|
250
241
|
_body_params: Optional[bytes] = None
|
|
251
242
|
|
|
252
243
|
# process the path parameters
|
|
@@ -257,11 +248,12 @@ class AuthConfigApi:
|
|
|
257
248
|
|
|
258
249
|
|
|
259
250
|
# set the HTTP header `Accept`
|
|
260
|
-
|
|
261
|
-
[
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
251
|
+
if 'Accept' not in _header_params:
|
|
252
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
253
|
+
[
|
|
254
|
+
'application/json'
|
|
255
|
+
]
|
|
256
|
+
)
|
|
265
257
|
|
|
266
258
|
|
|
267
259
|
# authentication setting
|