qi-compute-api-client 0.17.0__py3-none-any.whl → 0.27.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 +2 -1
- compute_api_client/api/algorithms_api.py +110 -1
- compute_api_client/api/backend_api.py +71 -16
- compute_api_client/api/backend_types_api.py +106 -1
- compute_api_client/api/batch_jobs_api.py +310 -5
- compute_api_client/api/commits_api.py +56 -1
- compute_api_client/api/files_api.py +56 -1
- compute_api_client/api/final_results_api.py +4 -1
- compute_api_client/api/jobs_api.py +60 -2
- compute_api_client/api/languages_api.py +54 -1
- compute_api_client/api/members_api.py +57 -2
- compute_api_client/api/metadata_api.py +3 -1
- compute_api_client/api/permissions_api.py +107 -1
- compute_api_client/api/projects_api.py +80 -4
- compute_api_client/api/reservations_api.py +57 -2
- compute_api_client/api/results_api.py +268 -7
- compute_api_client/api/teams_api.py +54 -1
- compute_api_client/api/transactions_api.py +55 -2
- compute_api_client/api/users_api.py +73 -1
- compute_api_client/api_client.py +1 -1
- compute_api_client/configuration.py +8 -1
- compute_api_client/docs/Algorithm.md +1 -0
- compute_api_client/docs/AlgorithmIn.md +1 -0
- compute_api_client/docs/AlgorithmsApi.md +34 -7
- compute_api_client/docs/BackendApi.md +25 -10
- compute_api_client/docs/BackendIn.md +32 -0
- compute_api_client/docs/BackendType.md +3 -0
- compute_api_client/docs/BackendTypesApi.md +23 -4
- compute_api_client/docs/BatchJobIn.md +0 -1
- compute_api_client/docs/BatchJobsApi.md +101 -7
- compute_api_client/docs/CommitIn.md +0 -1
- compute_api_client/docs/CommitsApi.md +24 -6
- compute_api_client/docs/FilesApi.md +24 -6
- compute_api_client/docs/FinalResultsApi.md +12 -3
- compute_api_client/docs/JobIn.md +0 -1
- compute_api_client/docs/JobsApi.md +42 -7
- compute_api_client/docs/LanguagesApi.md +16 -4
- compute_api_client/docs/MembersApi.md +24 -6
- compute_api_client/docs/MetadataApi.md +8 -2
- compute_api_client/docs/PermissionsApi.md +32 -8
- compute_api_client/docs/ProjectsApi.md +35 -9
- compute_api_client/docs/ReservationsApi.md +24 -6
- compute_api_client/docs/ResultsApi.md +90 -6
- compute_api_client/docs/TeamsApi.md +16 -4
- compute_api_client/docs/TransactionsApi.md +16 -4
- compute_api_client/docs/User.md +1 -0
- compute_api_client/docs/UserIn.md +1 -0
- compute_api_client/docs/UsersApi.md +26 -6
- compute_api_client/exceptions.py +1 -1
- compute_api_client/models/__init__.py +2 -1
- compute_api_client/models/algorithm.py +10 -3
- compute_api_client/models/algorithm_in.py +10 -3
- compute_api_client/models/algorithm_type.py +1 -1
- compute_api_client/models/backend.py +1 -1
- compute_api_client/models/backend_in.py +98 -0
- compute_api_client/models/backend_patch.py +1 -1
- compute_api_client/models/backend_status.py +1 -1
- compute_api_client/models/backend_type.py +10 -3
- compute_api_client/models/backend_with_authentication.py +1 -1
- compute_api_client/models/batch_job.py +1 -1
- compute_api_client/models/batch_job_in.py +2 -4
- compute_api_client/models/batch_job_status.py +1 -1
- compute_api_client/models/commit.py +1 -1
- compute_api_client/models/commit_in.py +2 -6
- compute_api_client/models/compile_stage.py +1 -1
- compute_api_client/models/domain.py +1 -1
- compute_api_client/models/file.py +1 -1
- compute_api_client/models/file_in.py +1 -1
- compute_api_client/models/final_result.py +1 -1
- compute_api_client/models/final_result_in.py +1 -1
- compute_api_client/models/http_not_found_error.py +1 -1
- compute_api_client/models/http_validation_error.py +1 -1
- compute_api_client/models/job.py +1 -1
- compute_api_client/models/job_in.py +2 -5
- compute_api_client/models/job_patch.py +1 -1
- compute_api_client/models/job_status.py +1 -1
- compute_api_client/models/language.py +1 -1
- compute_api_client/models/location_inner.py +1 -1
- compute_api_client/models/member.py +1 -1
- compute_api_client/models/member_in.py +1 -1
- compute_api_client/models/metadata.py +1 -1
- compute_api_client/models/metadata_in.py +1 -1
- compute_api_client/models/permission.py +1 -1
- compute_api_client/models/permission_group.py +1 -1
- compute_api_client/models/project.py +1 -1
- compute_api_client/models/project_in.py +1 -1
- compute_api_client/models/project_patch.py +1 -1
- compute_api_client/models/reservation.py +1 -1
- compute_api_client/models/reservation_in.py +1 -1
- compute_api_client/models/result.py +1 -1
- compute_api_client/models/result_in.py +1 -1
- compute_api_client/models/role.py +1 -1
- compute_api_client/models/share_type.py +1 -1
- compute_api_client/models/team.py +1 -1
- compute_api_client/models/transaction.py +1 -1
- compute_api_client/models/user.py +5 -3
- compute_api_client/models/user_in.py +5 -3
- compute_api_client/models/validation_error.py +1 -1
- compute_api_client/rest.py +1 -1
- {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/METADATA +17 -5
- qi_compute_api_client-0.27.0.dist-info/RECORD +144 -0
- qi_compute_api_client-0.17.0.dist-info/RECORD +0 -142
- {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.17.0.dist-info → qi_compute_api_client-0.27.0.dist-info}/WHEEL +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -570,6 +570,7 @@ class MetadataApi:
|
|
|
570
570
|
|
|
571
571
|
# authentication setting
|
|
572
572
|
_auth_settings: List[str] = [
|
|
573
|
+
'user_bearer',
|
|
573
574
|
'user'
|
|
574
575
|
]
|
|
575
576
|
|
|
@@ -838,6 +839,7 @@ class MetadataApi:
|
|
|
838
839
|
|
|
839
840
|
# authentication setting
|
|
840
841
|
_auth_settings: List[str] = [
|
|
842
|
+
'user_bearer',
|
|
841
843
|
'user'
|
|
842
844
|
]
|
|
843
845
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -295,6 +295,7 @@ class PermissionsApi:
|
|
|
295
295
|
|
|
296
296
|
# authentication setting
|
|
297
297
|
_auth_settings: List[str] = [
|
|
298
|
+
'user_bearer',
|
|
298
299
|
'user'
|
|
299
300
|
]
|
|
300
301
|
|
|
@@ -320,6 +321,9 @@ class PermissionsApi:
|
|
|
320
321
|
async def read_permission_groups_permission_groups_get(
|
|
321
322
|
self,
|
|
322
323
|
latest: Optional[StrictBool] = None,
|
|
324
|
+
sort_by: Optional[StrictStr] = None,
|
|
325
|
+
page_number: Optional[StrictInt] = None,
|
|
326
|
+
items_per_page: Optional[StrictInt] = None,
|
|
323
327
|
id: Optional[StrictInt] = None,
|
|
324
328
|
name: Optional[StrictStr] = None,
|
|
325
329
|
_request_timeout: Union[
|
|
@@ -341,6 +345,12 @@ class PermissionsApi:
|
|
|
341
345
|
|
|
342
346
|
:param latest:
|
|
343
347
|
:type latest: bool
|
|
348
|
+
:param sort_by:
|
|
349
|
+
:type sort_by: str
|
|
350
|
+
:param page_number:
|
|
351
|
+
:type page_number: int
|
|
352
|
+
:param items_per_page:
|
|
353
|
+
:type items_per_page: int
|
|
344
354
|
:param id:
|
|
345
355
|
:type id: int
|
|
346
356
|
:param name:
|
|
@@ -369,6 +379,9 @@ class PermissionsApi:
|
|
|
369
379
|
|
|
370
380
|
_param = self._read_permission_groups_permission_groups_get_serialize(
|
|
371
381
|
latest=latest,
|
|
382
|
+
sort_by=sort_by,
|
|
383
|
+
page_number=page_number,
|
|
384
|
+
items_per_page=items_per_page,
|
|
372
385
|
id=id,
|
|
373
386
|
name=name,
|
|
374
387
|
_request_auth=_request_auth,
|
|
@@ -397,6 +410,9 @@ class PermissionsApi:
|
|
|
397
410
|
async def read_permission_groups_permission_groups_get_with_http_info(
|
|
398
411
|
self,
|
|
399
412
|
latest: Optional[StrictBool] = None,
|
|
413
|
+
sort_by: Optional[StrictStr] = None,
|
|
414
|
+
page_number: Optional[StrictInt] = None,
|
|
415
|
+
items_per_page: Optional[StrictInt] = None,
|
|
400
416
|
id: Optional[StrictInt] = None,
|
|
401
417
|
name: Optional[StrictStr] = None,
|
|
402
418
|
_request_timeout: Union[
|
|
@@ -418,6 +434,12 @@ class PermissionsApi:
|
|
|
418
434
|
|
|
419
435
|
:param latest:
|
|
420
436
|
:type latest: bool
|
|
437
|
+
:param sort_by:
|
|
438
|
+
:type sort_by: str
|
|
439
|
+
:param page_number:
|
|
440
|
+
:type page_number: int
|
|
441
|
+
:param items_per_page:
|
|
442
|
+
:type items_per_page: int
|
|
421
443
|
:param id:
|
|
422
444
|
:type id: int
|
|
423
445
|
:param name:
|
|
@@ -446,6 +468,9 @@ class PermissionsApi:
|
|
|
446
468
|
|
|
447
469
|
_param = self._read_permission_groups_permission_groups_get_serialize(
|
|
448
470
|
latest=latest,
|
|
471
|
+
sort_by=sort_by,
|
|
472
|
+
page_number=page_number,
|
|
473
|
+
items_per_page=items_per_page,
|
|
449
474
|
id=id,
|
|
450
475
|
name=name,
|
|
451
476
|
_request_auth=_request_auth,
|
|
@@ -474,6 +499,9 @@ class PermissionsApi:
|
|
|
474
499
|
async def read_permission_groups_permission_groups_get_without_preload_content(
|
|
475
500
|
self,
|
|
476
501
|
latest: Optional[StrictBool] = None,
|
|
502
|
+
sort_by: Optional[StrictStr] = None,
|
|
503
|
+
page_number: Optional[StrictInt] = None,
|
|
504
|
+
items_per_page: Optional[StrictInt] = None,
|
|
477
505
|
id: Optional[StrictInt] = None,
|
|
478
506
|
name: Optional[StrictStr] = None,
|
|
479
507
|
_request_timeout: Union[
|
|
@@ -495,6 +523,12 @@ class PermissionsApi:
|
|
|
495
523
|
|
|
496
524
|
:param latest:
|
|
497
525
|
:type latest: bool
|
|
526
|
+
:param sort_by:
|
|
527
|
+
:type sort_by: str
|
|
528
|
+
:param page_number:
|
|
529
|
+
:type page_number: int
|
|
530
|
+
:param items_per_page:
|
|
531
|
+
:type items_per_page: int
|
|
498
532
|
:param id:
|
|
499
533
|
:type id: int
|
|
500
534
|
:param name:
|
|
@@ -523,6 +557,9 @@ class PermissionsApi:
|
|
|
523
557
|
|
|
524
558
|
_param = self._read_permission_groups_permission_groups_get_serialize(
|
|
525
559
|
latest=latest,
|
|
560
|
+
sort_by=sort_by,
|
|
561
|
+
page_number=page_number,
|
|
562
|
+
items_per_page=items_per_page,
|
|
526
563
|
id=id,
|
|
527
564
|
name=name,
|
|
528
565
|
_request_auth=_request_auth,
|
|
@@ -546,6 +583,9 @@ class PermissionsApi:
|
|
|
546
583
|
def _read_permission_groups_permission_groups_get_serialize(
|
|
547
584
|
self,
|
|
548
585
|
latest,
|
|
586
|
+
sort_by,
|
|
587
|
+
page_number,
|
|
588
|
+
items_per_page,
|
|
549
589
|
id,
|
|
550
590
|
name,
|
|
551
591
|
_request_auth,
|
|
@@ -573,6 +613,18 @@ class PermissionsApi:
|
|
|
573
613
|
|
|
574
614
|
_query_params.append(('latest', latest))
|
|
575
615
|
|
|
616
|
+
if sort_by is not None:
|
|
617
|
+
|
|
618
|
+
_query_params.append(('sort_by', sort_by))
|
|
619
|
+
|
|
620
|
+
if page_number is not None:
|
|
621
|
+
|
|
622
|
+
_query_params.append(('page_number', page_number))
|
|
623
|
+
|
|
624
|
+
if items_per_page is not None:
|
|
625
|
+
|
|
626
|
+
_query_params.append(('items_per_page', items_per_page))
|
|
627
|
+
|
|
576
628
|
if id is not None:
|
|
577
629
|
|
|
578
630
|
_query_params.append(('id', id))
|
|
@@ -596,6 +648,7 @@ class PermissionsApi:
|
|
|
596
648
|
|
|
597
649
|
# authentication setting
|
|
598
650
|
_auth_settings: List[str] = [
|
|
651
|
+
'user_bearer',
|
|
599
652
|
'user'
|
|
600
653
|
]
|
|
601
654
|
|
|
@@ -864,6 +917,7 @@ class PermissionsApi:
|
|
|
864
917
|
|
|
865
918
|
# authentication setting
|
|
866
919
|
_auth_settings: List[str] = [
|
|
920
|
+
'user_bearer',
|
|
867
921
|
'user'
|
|
868
922
|
]
|
|
869
923
|
|
|
@@ -889,6 +943,9 @@ class PermissionsApi:
|
|
|
889
943
|
async def read_permissions_permissions_get(
|
|
890
944
|
self,
|
|
891
945
|
latest: Optional[StrictBool] = None,
|
|
946
|
+
sort_by: Optional[StrictStr] = None,
|
|
947
|
+
page_number: Optional[StrictInt] = None,
|
|
948
|
+
items_per_page: Optional[StrictInt] = None,
|
|
892
949
|
id: Optional[StrictInt] = None,
|
|
893
950
|
permission: Optional[StrictStr] = None,
|
|
894
951
|
name: Optional[StrictStr] = None,
|
|
@@ -911,6 +968,12 @@ class PermissionsApi:
|
|
|
911
968
|
|
|
912
969
|
:param latest:
|
|
913
970
|
:type latest: bool
|
|
971
|
+
:param sort_by:
|
|
972
|
+
:type sort_by: str
|
|
973
|
+
:param page_number:
|
|
974
|
+
:type page_number: int
|
|
975
|
+
:param items_per_page:
|
|
976
|
+
:type items_per_page: int
|
|
914
977
|
:param id:
|
|
915
978
|
:type id: int
|
|
916
979
|
:param permission:
|
|
@@ -941,6 +1004,9 @@ class PermissionsApi:
|
|
|
941
1004
|
|
|
942
1005
|
_param = self._read_permissions_permissions_get_serialize(
|
|
943
1006
|
latest=latest,
|
|
1007
|
+
sort_by=sort_by,
|
|
1008
|
+
page_number=page_number,
|
|
1009
|
+
items_per_page=items_per_page,
|
|
944
1010
|
id=id,
|
|
945
1011
|
permission=permission,
|
|
946
1012
|
name=name,
|
|
@@ -970,6 +1036,9 @@ class PermissionsApi:
|
|
|
970
1036
|
async def read_permissions_permissions_get_with_http_info(
|
|
971
1037
|
self,
|
|
972
1038
|
latest: Optional[StrictBool] = None,
|
|
1039
|
+
sort_by: Optional[StrictStr] = None,
|
|
1040
|
+
page_number: Optional[StrictInt] = None,
|
|
1041
|
+
items_per_page: Optional[StrictInt] = None,
|
|
973
1042
|
id: Optional[StrictInt] = None,
|
|
974
1043
|
permission: Optional[StrictStr] = None,
|
|
975
1044
|
name: Optional[StrictStr] = None,
|
|
@@ -992,6 +1061,12 @@ class PermissionsApi:
|
|
|
992
1061
|
|
|
993
1062
|
:param latest:
|
|
994
1063
|
:type latest: bool
|
|
1064
|
+
:param sort_by:
|
|
1065
|
+
:type sort_by: str
|
|
1066
|
+
:param page_number:
|
|
1067
|
+
:type page_number: int
|
|
1068
|
+
:param items_per_page:
|
|
1069
|
+
:type items_per_page: int
|
|
995
1070
|
:param id:
|
|
996
1071
|
:type id: int
|
|
997
1072
|
:param permission:
|
|
@@ -1022,6 +1097,9 @@ class PermissionsApi:
|
|
|
1022
1097
|
|
|
1023
1098
|
_param = self._read_permissions_permissions_get_serialize(
|
|
1024
1099
|
latest=latest,
|
|
1100
|
+
sort_by=sort_by,
|
|
1101
|
+
page_number=page_number,
|
|
1102
|
+
items_per_page=items_per_page,
|
|
1025
1103
|
id=id,
|
|
1026
1104
|
permission=permission,
|
|
1027
1105
|
name=name,
|
|
@@ -1051,6 +1129,9 @@ class PermissionsApi:
|
|
|
1051
1129
|
async def read_permissions_permissions_get_without_preload_content(
|
|
1052
1130
|
self,
|
|
1053
1131
|
latest: Optional[StrictBool] = None,
|
|
1132
|
+
sort_by: Optional[StrictStr] = None,
|
|
1133
|
+
page_number: Optional[StrictInt] = None,
|
|
1134
|
+
items_per_page: Optional[StrictInt] = None,
|
|
1054
1135
|
id: Optional[StrictInt] = None,
|
|
1055
1136
|
permission: Optional[StrictStr] = None,
|
|
1056
1137
|
name: Optional[StrictStr] = None,
|
|
@@ -1073,6 +1154,12 @@ class PermissionsApi:
|
|
|
1073
1154
|
|
|
1074
1155
|
:param latest:
|
|
1075
1156
|
:type latest: bool
|
|
1157
|
+
:param sort_by:
|
|
1158
|
+
:type sort_by: str
|
|
1159
|
+
:param page_number:
|
|
1160
|
+
:type page_number: int
|
|
1161
|
+
:param items_per_page:
|
|
1162
|
+
:type items_per_page: int
|
|
1076
1163
|
:param id:
|
|
1077
1164
|
:type id: int
|
|
1078
1165
|
:param permission:
|
|
@@ -1103,6 +1190,9 @@ class PermissionsApi:
|
|
|
1103
1190
|
|
|
1104
1191
|
_param = self._read_permissions_permissions_get_serialize(
|
|
1105
1192
|
latest=latest,
|
|
1193
|
+
sort_by=sort_by,
|
|
1194
|
+
page_number=page_number,
|
|
1195
|
+
items_per_page=items_per_page,
|
|
1106
1196
|
id=id,
|
|
1107
1197
|
permission=permission,
|
|
1108
1198
|
name=name,
|
|
@@ -1127,6 +1217,9 @@ class PermissionsApi:
|
|
|
1127
1217
|
def _read_permissions_permissions_get_serialize(
|
|
1128
1218
|
self,
|
|
1129
1219
|
latest,
|
|
1220
|
+
sort_by,
|
|
1221
|
+
page_number,
|
|
1222
|
+
items_per_page,
|
|
1130
1223
|
id,
|
|
1131
1224
|
permission,
|
|
1132
1225
|
name,
|
|
@@ -1155,6 +1248,18 @@ class PermissionsApi:
|
|
|
1155
1248
|
|
|
1156
1249
|
_query_params.append(('latest', latest))
|
|
1157
1250
|
|
|
1251
|
+
if sort_by is not None:
|
|
1252
|
+
|
|
1253
|
+
_query_params.append(('sort_by', sort_by))
|
|
1254
|
+
|
|
1255
|
+
if page_number is not None:
|
|
1256
|
+
|
|
1257
|
+
_query_params.append(('page_number', page_number))
|
|
1258
|
+
|
|
1259
|
+
if items_per_page is not None:
|
|
1260
|
+
|
|
1261
|
+
_query_params.append(('items_per_page', items_per_page))
|
|
1262
|
+
|
|
1158
1263
|
if id is not None:
|
|
1159
1264
|
|
|
1160
1265
|
_query_params.append(('id', id))
|
|
@@ -1182,6 +1287,7 @@ class PermissionsApi:
|
|
|
1182
1287
|
|
|
1183
1288
|
# authentication setting
|
|
1184
1289
|
_auth_settings: List[str] = [
|
|
1290
|
+
'user_bearer',
|
|
1185
1291
|
'user'
|
|
1186
1292
|
]
|
|
1187
1293
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Quantum Inspire 2
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
**Sorting and Pagination of list endpoints** The api provides sorting and pagination for list endpoints. The following parameters can be passed as query parameters to get sorted and paginated list. - `latest` - **Type**: Boolean. - **Description**: Get the most recently created object. Defaults to False. - `sort_by` - **Type**: String: - **Description**: The field / column name to sort on. To reverse sort provide the field with a \"-\" sign. E.g. \"created_on\" for ascending order while \"-created_on\" in descending order. Defaults to \"id\". - `page_number` - **Type**: Positive Integer - **Description**: The page number for pagination. Defaults to 1. - `items_per_page` - **Type**: Positive Integer. - **Description**: The number of items per page for pagination. Defaults to 50.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -23,6 +23,8 @@ try:
|
|
|
23
23
|
except ImportError:
|
|
24
24
|
from typing_extensions import Annotated
|
|
25
25
|
|
|
26
|
+
from pydantic import Field
|
|
27
|
+
from typing_extensions import Annotated
|
|
26
28
|
from datetime import datetime
|
|
27
29
|
|
|
28
30
|
from pydantic import StrictBool, StrictInt, StrictStr
|
|
@@ -308,6 +310,7 @@ class ProjectsApi:
|
|
|
308
310
|
|
|
309
311
|
# authentication setting
|
|
310
312
|
_auth_settings: List[str] = [
|
|
313
|
+
'user_bearer',
|
|
311
314
|
'user'
|
|
312
315
|
]
|
|
313
316
|
|
|
@@ -567,6 +570,7 @@ class ProjectsApi:
|
|
|
567
570
|
|
|
568
571
|
# authentication setting
|
|
569
572
|
_auth_settings: List[str] = [
|
|
573
|
+
'user_bearer',
|
|
570
574
|
'user'
|
|
571
575
|
]
|
|
572
576
|
|
|
@@ -863,6 +867,7 @@ class ProjectsApi:
|
|
|
863
867
|
|
|
864
868
|
# authentication setting
|
|
865
869
|
_auth_settings: List[str] = [
|
|
870
|
+
'user_bearer',
|
|
866
871
|
'user'
|
|
867
872
|
]
|
|
868
873
|
|
|
@@ -1131,6 +1136,7 @@ class ProjectsApi:
|
|
|
1131
1136
|
|
|
1132
1137
|
# authentication setting
|
|
1133
1138
|
_auth_settings: List[str] = [
|
|
1139
|
+
'user_bearer',
|
|
1134
1140
|
'user'
|
|
1135
1141
|
]
|
|
1136
1142
|
|
|
@@ -1155,7 +1161,11 @@ class ProjectsApi:
|
|
|
1155
1161
|
@validate_call
|
|
1156
1162
|
async def read_projects_projects_get(
|
|
1157
1163
|
self,
|
|
1164
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for project names or description")] = None,
|
|
1158
1165
|
latest: Optional[StrictBool] = None,
|
|
1166
|
+
sort_by: Optional[StrictStr] = None,
|
|
1167
|
+
page_number: Optional[StrictInt] = None,
|
|
1168
|
+
items_per_page: Optional[StrictInt] = None,
|
|
1159
1169
|
id: Optional[StrictInt] = None,
|
|
1160
1170
|
created_on: Optional[datetime] = None,
|
|
1161
1171
|
owner_id: Optional[StrictInt] = None,
|
|
@@ -1177,10 +1187,18 @@ class ProjectsApi:
|
|
|
1177
1187
|
) -> List[Project]:
|
|
1178
1188
|
"""List projects
|
|
1179
1189
|
|
|
1180
|
-
List projects.
|
|
1190
|
+
List projects. If the search parameter is provided, the list is filtered based on the condition that either the project name OR description contains the specified substring. The filter considers exact matches for other parameters provided. The final result is the logical AND of the substring match condition and any other provided exact match conditions.
|
|
1181
1191
|
|
|
1192
|
+
:param search: Substring search for project names or description
|
|
1193
|
+
:type search: str
|
|
1182
1194
|
:param latest:
|
|
1183
1195
|
:type latest: bool
|
|
1196
|
+
:param sort_by:
|
|
1197
|
+
:type sort_by: str
|
|
1198
|
+
:param page_number:
|
|
1199
|
+
:type page_number: int
|
|
1200
|
+
:param items_per_page:
|
|
1201
|
+
:type items_per_page: int
|
|
1184
1202
|
:param id:
|
|
1185
1203
|
:type id: int
|
|
1186
1204
|
:param created_on:
|
|
@@ -1216,7 +1234,11 @@ class ProjectsApi:
|
|
|
1216
1234
|
""" # noqa: E501
|
|
1217
1235
|
|
|
1218
1236
|
_param = self._read_projects_projects_get_serialize(
|
|
1237
|
+
search=search,
|
|
1219
1238
|
latest=latest,
|
|
1239
|
+
sort_by=sort_by,
|
|
1240
|
+
page_number=page_number,
|
|
1241
|
+
items_per_page=items_per_page,
|
|
1220
1242
|
id=id,
|
|
1221
1243
|
created_on=created_on,
|
|
1222
1244
|
owner_id=owner_id,
|
|
@@ -1248,7 +1270,11 @@ class ProjectsApi:
|
|
|
1248
1270
|
@validate_call
|
|
1249
1271
|
async def read_projects_projects_get_with_http_info(
|
|
1250
1272
|
self,
|
|
1273
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for project names or description")] = None,
|
|
1251
1274
|
latest: Optional[StrictBool] = None,
|
|
1275
|
+
sort_by: Optional[StrictStr] = None,
|
|
1276
|
+
page_number: Optional[StrictInt] = None,
|
|
1277
|
+
items_per_page: Optional[StrictInt] = None,
|
|
1252
1278
|
id: Optional[StrictInt] = None,
|
|
1253
1279
|
created_on: Optional[datetime] = None,
|
|
1254
1280
|
owner_id: Optional[StrictInt] = None,
|
|
@@ -1270,10 +1296,18 @@ class ProjectsApi:
|
|
|
1270
1296
|
) -> ApiResponse[List[Project]]:
|
|
1271
1297
|
"""List projects
|
|
1272
1298
|
|
|
1273
|
-
List projects.
|
|
1299
|
+
List projects. If the search parameter is provided, the list is filtered based on the condition that either the project name OR description contains the specified substring. The filter considers exact matches for other parameters provided. The final result is the logical AND of the substring match condition and any other provided exact match conditions.
|
|
1274
1300
|
|
|
1301
|
+
:param search: Substring search for project names or description
|
|
1302
|
+
:type search: str
|
|
1275
1303
|
:param latest:
|
|
1276
1304
|
:type latest: bool
|
|
1305
|
+
:param sort_by:
|
|
1306
|
+
:type sort_by: str
|
|
1307
|
+
:param page_number:
|
|
1308
|
+
:type page_number: int
|
|
1309
|
+
:param items_per_page:
|
|
1310
|
+
:type items_per_page: int
|
|
1277
1311
|
:param id:
|
|
1278
1312
|
:type id: int
|
|
1279
1313
|
:param created_on:
|
|
@@ -1309,7 +1343,11 @@ class ProjectsApi:
|
|
|
1309
1343
|
""" # noqa: E501
|
|
1310
1344
|
|
|
1311
1345
|
_param = self._read_projects_projects_get_serialize(
|
|
1346
|
+
search=search,
|
|
1312
1347
|
latest=latest,
|
|
1348
|
+
sort_by=sort_by,
|
|
1349
|
+
page_number=page_number,
|
|
1350
|
+
items_per_page=items_per_page,
|
|
1313
1351
|
id=id,
|
|
1314
1352
|
created_on=created_on,
|
|
1315
1353
|
owner_id=owner_id,
|
|
@@ -1341,7 +1379,11 @@ class ProjectsApi:
|
|
|
1341
1379
|
@validate_call
|
|
1342
1380
|
async def read_projects_projects_get_without_preload_content(
|
|
1343
1381
|
self,
|
|
1382
|
+
search: Annotated[Optional[StrictStr], Field(description="Substring search for project names or description")] = None,
|
|
1344
1383
|
latest: Optional[StrictBool] = None,
|
|
1384
|
+
sort_by: Optional[StrictStr] = None,
|
|
1385
|
+
page_number: Optional[StrictInt] = None,
|
|
1386
|
+
items_per_page: Optional[StrictInt] = None,
|
|
1345
1387
|
id: Optional[StrictInt] = None,
|
|
1346
1388
|
created_on: Optional[datetime] = None,
|
|
1347
1389
|
owner_id: Optional[StrictInt] = None,
|
|
@@ -1363,10 +1405,18 @@ class ProjectsApi:
|
|
|
1363
1405
|
) -> RESTResponseType:
|
|
1364
1406
|
"""List projects
|
|
1365
1407
|
|
|
1366
|
-
List projects.
|
|
1408
|
+
List projects. If the search parameter is provided, the list is filtered based on the condition that either the project name OR description contains the specified substring. The filter considers exact matches for other parameters provided. The final result is the logical AND of the substring match condition and any other provided exact match conditions.
|
|
1367
1409
|
|
|
1410
|
+
:param search: Substring search for project names or description
|
|
1411
|
+
:type search: str
|
|
1368
1412
|
:param latest:
|
|
1369
1413
|
:type latest: bool
|
|
1414
|
+
:param sort_by:
|
|
1415
|
+
:type sort_by: str
|
|
1416
|
+
:param page_number:
|
|
1417
|
+
:type page_number: int
|
|
1418
|
+
:param items_per_page:
|
|
1419
|
+
:type items_per_page: int
|
|
1370
1420
|
:param id:
|
|
1371
1421
|
:type id: int
|
|
1372
1422
|
:param created_on:
|
|
@@ -1402,7 +1452,11 @@ class ProjectsApi:
|
|
|
1402
1452
|
""" # noqa: E501
|
|
1403
1453
|
|
|
1404
1454
|
_param = self._read_projects_projects_get_serialize(
|
|
1455
|
+
search=search,
|
|
1405
1456
|
latest=latest,
|
|
1457
|
+
sort_by=sort_by,
|
|
1458
|
+
page_number=page_number,
|
|
1459
|
+
items_per_page=items_per_page,
|
|
1406
1460
|
id=id,
|
|
1407
1461
|
created_on=created_on,
|
|
1408
1462
|
owner_id=owner_id,
|
|
@@ -1429,7 +1483,11 @@ class ProjectsApi:
|
|
|
1429
1483
|
|
|
1430
1484
|
def _read_projects_projects_get_serialize(
|
|
1431
1485
|
self,
|
|
1486
|
+
search,
|
|
1432
1487
|
latest,
|
|
1488
|
+
sort_by,
|
|
1489
|
+
page_number,
|
|
1490
|
+
items_per_page,
|
|
1433
1491
|
id,
|
|
1434
1492
|
created_on,
|
|
1435
1493
|
owner_id,
|
|
@@ -1457,10 +1515,26 @@ class ProjectsApi:
|
|
|
1457
1515
|
|
|
1458
1516
|
# process the path parameters
|
|
1459
1517
|
# process the query parameters
|
|
1518
|
+
if search is not None:
|
|
1519
|
+
|
|
1520
|
+
_query_params.append(('search', search))
|
|
1521
|
+
|
|
1460
1522
|
if latest is not None:
|
|
1461
1523
|
|
|
1462
1524
|
_query_params.append(('latest', latest))
|
|
1463
1525
|
|
|
1526
|
+
if sort_by is not None:
|
|
1527
|
+
|
|
1528
|
+
_query_params.append(('sort_by', sort_by))
|
|
1529
|
+
|
|
1530
|
+
if page_number is not None:
|
|
1531
|
+
|
|
1532
|
+
_query_params.append(('page_number', page_number))
|
|
1533
|
+
|
|
1534
|
+
if items_per_page is not None:
|
|
1535
|
+
|
|
1536
|
+
_query_params.append(('items_per_page', items_per_page))
|
|
1537
|
+
|
|
1464
1538
|
if id is not None:
|
|
1465
1539
|
|
|
1466
1540
|
_query_params.append(('id', id))
|
|
@@ -1509,6 +1583,7 @@ class ProjectsApi:
|
|
|
1509
1583
|
|
|
1510
1584
|
# authentication setting
|
|
1511
1585
|
_auth_settings: List[str] = [
|
|
1586
|
+
'user_bearer',
|
|
1512
1587
|
'user'
|
|
1513
1588
|
]
|
|
1514
1589
|
|
|
@@ -1805,6 +1880,7 @@ class ProjectsApi:
|
|
|
1805
1880
|
|
|
1806
1881
|
# authentication setting
|
|
1807
1882
|
_auth_settings: List[str] = [
|
|
1883
|
+
'user_bearer',
|
|
1808
1884
|
'user'
|
|
1809
1885
|
]
|
|
1810
1886
|
|