polyaxon 2.6.0rc1__py3-none-any.whl → 2.7.0rc0__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.
- polyaxon/_cli/operations.py +1 -1
- polyaxon/_cli/projects.py +2 -2
- polyaxon/_compiler/contexts/contexts.py +5 -5
- polyaxon/_compiler/contexts/dask_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/mpi_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/mx_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/paddle_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/pytroch_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/tf_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/xgb_job.py +1 -1
- polyaxon/_compiler/contexts/ray_job.py +1 -1
- polyaxon/_compiler/resolver/agent.py +1 -1
- polyaxon/_compiler/resolver/runtime.py +1 -1
- polyaxon/_deploy/schemas/deployment.py +1 -0
- polyaxon/_deploy/schemas/ui.py +3 -1
- polyaxon/_docker/converter/base/base.py +1 -1
- polyaxon/_docker/converter/base/env_vars.py +1 -1
- polyaxon/_docker/converter/converters/job.py +1 -1
- polyaxon/_docker/converter/converters/service.py +1 -1
- polyaxon/_flow/component/component.py +4 -0
- polyaxon/_flow/environment/__init__.py +5 -4
- polyaxon/_flow/io/io.py +2 -0
- polyaxon/_flow/matrix/params.py +1 -1
- polyaxon/_flow/operations/compiled_operation.py +4 -0
- polyaxon/_flow/operations/operation.py +5 -3
- polyaxon/_flow/params/params.py +2 -2
- polyaxon/_flow/run/__init__.py +3 -0
- polyaxon/_flow/run/dag.py +6 -6
- polyaxon/_flow/run/dask/dask.py +10 -0
- polyaxon/_flow/run/kubeflow/mpi_job.py +8 -0
- polyaxon/_flow/run/kubeflow/mx_job.py +16 -0
- polyaxon/_flow/run/kubeflow/paddle_job.py +8 -0
- polyaxon/_flow/run/kubeflow/pytorch_job.py +8 -0
- polyaxon/_flow/run/kubeflow/tf_job.py +12 -0
- polyaxon/_flow/run/kubeflow/xgboost_job.py +19 -33
- polyaxon/_flow/run/patch.py +37 -9
- polyaxon/_flow/run/ray/ray.py +9 -0
- polyaxon/_flow/run/resources.py +1 -1
- polyaxon/_fs/fs.py +1 -1
- polyaxon/_k8s/converter/base/containers.py +1 -1
- polyaxon/_k8s/converter/converters/dask_job.py +1 -1
- polyaxon/_k8s/converter/converters/job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/mpi_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/mx_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/paddle_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/pytroch_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/tf_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/xgboost_job.py +1 -1
- polyaxon/_k8s/converter/converters/ray_job.py +1 -2
- polyaxon/_k8s/converter/converters/service.py +1 -1
- polyaxon/_k8s/k8s_validation.py +16 -16
- polyaxon/_k8s/logging/async_monitor.py +4 -4
- polyaxon/_k8s/manager/async_manager.py +5 -3
- polyaxon/_k8s/manager/manager.py +6 -6
- polyaxon/_local_process/converter/base/env_vars.py +1 -1
- polyaxon/_local_process/converter/base/init.py +1 -1
- polyaxon/_local_process/converter/base/mounts.py +0 -2
- polyaxon/_local_process/converter/converters/job.py +1 -1
- polyaxon/_local_process/converter/converters/service.py +1 -1
- polyaxon/_managers/project.py +3 -2
- polyaxon/_polyaxonfile/check.py +4 -4
- polyaxon/_polyaxonfile/specs/compiled_operation.py +8 -6
- polyaxon/_polyaxonfile/specs/libs/parser.py +1 -3
- polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
- polyaxon/_polyaxonfile/specs/operation.py +7 -3
- polyaxon/_pql/manager.py +1 -1
- polyaxon/_pql/parser.py +29 -26
- polyaxon/_runner/agent/base_agent.py +1 -2
- polyaxon/_runner/converter/init/artifacts.py +3 -2
- polyaxon/_runner/converter/init/tensorboard.py +1 -1
- polyaxon/_schemas/client.py +1 -1
- polyaxon/_sdk/api/agents_v1_api.py +56 -80
- polyaxon/_sdk/api/artifacts_stores_v1_api.py +2 -2
- polyaxon/_sdk/api/auth_v1_api.py +2 -6
- polyaxon/_sdk/api/connections_v1_api.py +16 -20
- polyaxon/_sdk/api/dashboards_v1_api.py +14 -14
- polyaxon/_sdk/api/organizations_v1_api.py +1735 -755
- polyaxon/_sdk/api/presets_v1_api.py +18 -26
- polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -19
- polyaxon/_sdk/api/project_searches_v1_api.py +20 -28
- polyaxon/_sdk/api/projects_v1_api.py +74 -92
- polyaxon/_sdk/api/queues_v1_api.py +22 -30
- polyaxon/_sdk/api/runs_v1_api.py +157 -207
- polyaxon/_sdk/api/searches_v1_api.py +16 -20
- polyaxon/_sdk/api/service_accounts_v1_api.py +30 -38
- polyaxon/_sdk/api/tags_v1_api.py +19 -25
- polyaxon/_sdk/api/teams_v1_api.py +64 -90
- polyaxon/_sdk/api/users_v1_api.py +17 -19
- polyaxon/_sdk/api/versions_v1_api.py +4 -4
- polyaxon/_sdk/async_client/rest.py +1 -3
- polyaxon/_sdk/schemas/v1_organization.py +3 -2
- polyaxon/_sdk/schemas/v1_project_settings.py +2 -1
- polyaxon/_sdk/schemas/v1_section_spec.py +1 -1
- polyaxon/_sdk/schemas/v1_user_access.py +3 -2
- polyaxon/_sdk/sync_client/api_client.py +2 -6
- polyaxon/_sdk/sync_client/rest.py +4 -8
- polyaxon/pkg.py +1 -1
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/METADATA +9 -9
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/RECORD +103 -103
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/LICENSE +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/WHEEL +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@ class SearchesV1Api(BaseApi):
|
|
15
15
|
self,
|
16
16
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
17
17
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
18
|
-
**kwargs
|
18
|
+
**kwargs,
|
19
19
|
) -> V1Search:
|
20
20
|
"""Create search
|
21
21
|
|
@@ -52,7 +52,7 @@ class SearchesV1Api(BaseApi):
|
|
52
52
|
self,
|
53
53
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
54
54
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
55
|
-
**kwargs
|
55
|
+
**kwargs,
|
56
56
|
):
|
57
57
|
"""Create search
|
58
58
|
|
@@ -186,7 +186,7 @@ class SearchesV1Api(BaseApi):
|
|
186
186
|
uuid: Annotated[
|
187
187
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
188
188
|
],
|
189
|
-
**kwargs
|
189
|
+
**kwargs,
|
190
190
|
) -> None: # noqa: E501
|
191
191
|
"""Delete search # noqa: E501
|
192
192
|
|
@@ -225,7 +225,7 @@ class SearchesV1Api(BaseApi):
|
|
225
225
|
uuid: Annotated[
|
226
226
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
227
227
|
],
|
228
|
-
**kwargs
|
228
|
+
**kwargs,
|
229
229
|
): # noqa: E501
|
230
230
|
"""Delete search # noqa: E501
|
231
231
|
|
@@ -346,7 +346,7 @@ class SearchesV1Api(BaseApi):
|
|
346
346
|
uuid: Annotated[
|
347
347
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
348
348
|
],
|
349
|
-
**kwargs
|
349
|
+
**kwargs,
|
350
350
|
) -> V1Search: # noqa: E501
|
351
351
|
"""Get search # noqa: E501
|
352
352
|
|
@@ -385,7 +385,7 @@ class SearchesV1Api(BaseApi):
|
|
385
385
|
uuid: Annotated[
|
386
386
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
387
387
|
],
|
388
|
-
**kwargs
|
388
|
+
**kwargs,
|
389
389
|
): # noqa: E501
|
390
390
|
"""Get search # noqa: E501
|
391
391
|
|
@@ -525,7 +525,7 @@ class SearchesV1Api(BaseApi):
|
|
525
525
|
Optional[StrictStr], Field(description="Mode of the search.")
|
526
526
|
] = None,
|
527
527
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
528
|
-
**kwargs
|
528
|
+
**kwargs,
|
529
529
|
) -> V1ListSearchesResponse: # noqa: E501
|
530
530
|
"""List search names # noqa: E501
|
531
531
|
|
@@ -592,7 +592,7 @@ class SearchesV1Api(BaseApi):
|
|
592
592
|
Optional[StrictStr], Field(description="Mode of the search.")
|
593
593
|
] = None,
|
594
594
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
595
|
-
**kwargs
|
595
|
+
**kwargs,
|
596
596
|
): # noqa: E501
|
597
597
|
"""List search names # noqa: E501
|
598
598
|
|
@@ -765,7 +765,7 @@ class SearchesV1Api(BaseApi):
|
|
765
765
|
Optional[StrictStr], Field(description="Mode of the search.")
|
766
766
|
] = None,
|
767
767
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
768
|
-
**kwargs
|
768
|
+
**kwargs,
|
769
769
|
) -> V1ListSearchesResponse: # noqa: E501
|
770
770
|
"""List searches # noqa: E501
|
771
771
|
|
@@ -832,7 +832,7 @@ class SearchesV1Api(BaseApi):
|
|
832
832
|
Optional[StrictStr], Field(description="Mode of the search.")
|
833
833
|
] = None,
|
834
834
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
835
|
-
**kwargs
|
835
|
+
**kwargs,
|
836
836
|
): # noqa: E501
|
837
837
|
"""List searches # noqa: E501
|
838
838
|
|
@@ -990,7 +990,7 @@ class SearchesV1Api(BaseApi):
|
|
990
990
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
991
991
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
992
992
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
993
|
-
**kwargs
|
993
|
+
**kwargs,
|
994
994
|
) -> V1Search: # noqa: E501
|
995
995
|
"""Patch search # noqa: E501
|
996
996
|
|
@@ -1022,9 +1022,7 @@ class SearchesV1Api(BaseApi):
|
|
1022
1022
|
:rtype: V1Search
|
1023
1023
|
"""
|
1024
1024
|
kwargs["_return_http_data_only"] = True
|
1025
|
-
return self.patch_search_with_http_info(
|
1026
|
-
owner, search_uuid, body, **kwargs
|
1027
|
-
) # noqa: E501
|
1025
|
+
return self.patch_search_with_http_info(owner, search_uuid, body, **kwargs) # noqa: E501
|
1028
1026
|
|
1029
1027
|
@validate_call
|
1030
1028
|
def patch_search_with_http_info(
|
@@ -1032,7 +1030,7 @@ class SearchesV1Api(BaseApi):
|
|
1032
1030
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1033
1031
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1034
1032
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1035
|
-
**kwargs
|
1033
|
+
**kwargs,
|
1036
1034
|
): # noqa: E501
|
1037
1035
|
"""Patch search # noqa: E501
|
1038
1036
|
|
@@ -1169,7 +1167,7 @@ class SearchesV1Api(BaseApi):
|
|
1169
1167
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1170
1168
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1171
1169
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1172
|
-
**kwargs
|
1170
|
+
**kwargs,
|
1173
1171
|
) -> V1Search: # noqa: E501
|
1174
1172
|
"""Update search # noqa: E501
|
1175
1173
|
|
@@ -1201,9 +1199,7 @@ class SearchesV1Api(BaseApi):
|
|
1201
1199
|
:rtype: V1Search
|
1202
1200
|
"""
|
1203
1201
|
kwargs["_return_http_data_only"] = True
|
1204
|
-
return self.update_search_with_http_info(
|
1205
|
-
owner, search_uuid, body, **kwargs
|
1206
|
-
) # noqa: E501
|
1202
|
+
return self.update_search_with_http_info(owner, search_uuid, body, **kwargs) # noqa: E501
|
1207
1203
|
|
1208
1204
|
@validate_call
|
1209
1205
|
def update_search_with_http_info(
|
@@ -1211,7 +1207,7 @@ class SearchesV1Api(BaseApi):
|
|
1211
1207
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1212
1208
|
search_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1213
1209
|
body: Annotated[V1Search, Field(..., description="Search body")],
|
1214
|
-
**kwargs
|
1210
|
+
**kwargs,
|
1215
1211
|
): # noqa: E501
|
1216
1212
|
"""Update search # noqa: E501
|
1217
1213
|
|
@@ -21,7 +21,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
21
21
|
body: Annotated[
|
22
22
|
V1ServiceAccount, Field(..., description="ServiceAccount body")
|
23
23
|
],
|
24
|
-
**kwargs
|
24
|
+
**kwargs,
|
25
25
|
) -> V1ServiceAccount: # noqa: E501
|
26
26
|
"""Create service account # noqa: E501
|
27
27
|
|
@@ -51,9 +51,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
51
51
|
:rtype: V1ServiceAccount
|
52
52
|
"""
|
53
53
|
kwargs["_return_http_data_only"] = True
|
54
|
-
return self.create_service_account_with_http_info(
|
55
|
-
owner, body, **kwargs
|
56
|
-
) # noqa: E501
|
54
|
+
return self.create_service_account_with_http_info(owner, body, **kwargs) # noqa: E501
|
57
55
|
|
58
56
|
@validate_call
|
59
57
|
def create_service_account_with_http_info(
|
@@ -62,7 +60,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
62
60
|
body: Annotated[
|
63
61
|
V1ServiceAccount, Field(..., description="ServiceAccount body")
|
64
62
|
],
|
65
|
-
**kwargs
|
63
|
+
**kwargs,
|
66
64
|
): # noqa: E501
|
67
65
|
"""Create service account # noqa: E501
|
68
66
|
|
@@ -195,7 +193,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
195
193
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
196
194
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
197
195
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
198
|
-
**kwargs
|
196
|
+
**kwargs,
|
199
197
|
) -> V1Token: # noqa: E501
|
200
198
|
"""Create service account token # noqa: E501
|
201
199
|
|
@@ -237,7 +235,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
237
235
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
238
236
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
239
237
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
240
|
-
**kwargs
|
238
|
+
**kwargs,
|
241
239
|
): # noqa: E501
|
242
240
|
"""Create service account token # noqa: E501
|
243
241
|
|
@@ -375,7 +373,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
375
373
|
uuid: Annotated[
|
376
374
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
377
375
|
],
|
378
|
-
**kwargs
|
376
|
+
**kwargs,
|
379
377
|
) -> None: # noqa: E501
|
380
378
|
"""Delete service account # noqa: E501
|
381
379
|
|
@@ -405,9 +403,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
405
403
|
:rtype: None
|
406
404
|
"""
|
407
405
|
kwargs["_return_http_data_only"] = True
|
408
|
-
return self.delete_service_account_with_http_info(
|
409
|
-
owner, uuid, **kwargs
|
410
|
-
) # noqa: E501
|
406
|
+
return self.delete_service_account_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
411
407
|
|
412
408
|
@validate_call
|
413
409
|
def delete_service_account_with_http_info(
|
@@ -416,7 +412,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
416
412
|
uuid: Annotated[
|
417
413
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
418
414
|
],
|
419
|
-
**kwargs
|
415
|
+
**kwargs,
|
420
416
|
): # noqa: E501
|
421
417
|
"""Delete service account # noqa: E501
|
422
418
|
|
@@ -543,7 +539,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
543
539
|
uuid: Annotated[
|
544
540
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
545
541
|
],
|
546
|
-
**kwargs
|
542
|
+
**kwargs,
|
547
543
|
) -> None: # noqa: E501
|
548
544
|
"""Delete service account token # noqa: E501
|
549
545
|
|
@@ -592,7 +588,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
592
588
|
uuid: Annotated[
|
593
589
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
594
590
|
],
|
595
|
-
**kwargs
|
591
|
+
**kwargs,
|
596
592
|
): # noqa: E501
|
597
593
|
"""Delete service account token # noqa: E501
|
598
594
|
|
@@ -717,7 +713,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
717
713
|
uuid: Annotated[
|
718
714
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
719
715
|
],
|
720
|
-
**kwargs
|
716
|
+
**kwargs,
|
721
717
|
) -> V1ServiceAccount: # noqa: E501
|
722
718
|
"""Get service account # noqa: E501
|
723
719
|
|
@@ -747,9 +743,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
747
743
|
:rtype: V1ServiceAccount
|
748
744
|
"""
|
749
745
|
kwargs["_return_http_data_only"] = True
|
750
|
-
return self.get_service_account_with_http_info(
|
751
|
-
owner, uuid, **kwargs
|
752
|
-
) # noqa: E501
|
746
|
+
return self.get_service_account_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
753
747
|
|
754
748
|
@validate_call
|
755
749
|
def get_service_account_with_http_info(
|
@@ -758,7 +752,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
758
752
|
uuid: Annotated[
|
759
753
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
760
754
|
],
|
761
|
-
**kwargs
|
755
|
+
**kwargs,
|
762
756
|
): # noqa: E501
|
763
757
|
"""Get service account # noqa: E501
|
764
758
|
|
@@ -890,7 +884,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
890
884
|
uuid: Annotated[
|
891
885
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
892
886
|
],
|
893
|
-
**kwargs
|
887
|
+
**kwargs,
|
894
888
|
) -> V1Token: # noqa: E501
|
895
889
|
"""Get service account token # noqa: E501
|
896
890
|
|
@@ -939,7 +933,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
939
933
|
uuid: Annotated[
|
940
934
|
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
941
935
|
],
|
942
|
-
**kwargs
|
936
|
+
**kwargs,
|
943
937
|
): # noqa: E501
|
944
938
|
"""Get service account token # noqa: E501
|
945
939
|
|
@@ -1083,7 +1077,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1083
1077
|
Optional[StrictStr], Field(description="Mode of the search.")
|
1084
1078
|
] = None,
|
1085
1079
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1086
|
-
**kwargs
|
1080
|
+
**kwargs,
|
1087
1081
|
) -> V1ListServiceAccountsResponse: # noqa: E501
|
1088
1082
|
"""List service accounts names # noqa: E501
|
1089
1083
|
|
@@ -1150,7 +1144,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1150
1144
|
Optional[StrictStr], Field(description="Mode of the search.")
|
1151
1145
|
] = None,
|
1152
1146
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1153
|
-
**kwargs
|
1147
|
+
**kwargs,
|
1154
1148
|
): # noqa: E501
|
1155
1149
|
"""List service accounts names # noqa: E501
|
1156
1150
|
|
@@ -1321,7 +1315,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1321
1315
|
Optional[StrictStr], Field(description="Query filter the search.")
|
1322
1316
|
] = None,
|
1323
1317
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1324
|
-
**kwargs
|
1318
|
+
**kwargs,
|
1325
1319
|
) -> V1ListTokenResponse: # noqa: E501
|
1326
1320
|
"""List service account tokens # noqa: E501
|
1327
1321
|
|
@@ -1386,7 +1380,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1386
1380
|
Optional[StrictStr], Field(description="Query filter the search.")
|
1387
1381
|
] = None,
|
1388
1382
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1389
|
-
**kwargs
|
1383
|
+
**kwargs,
|
1390
1384
|
): # noqa: E501
|
1391
1385
|
"""List service account tokens # noqa: E501
|
1392
1386
|
|
@@ -1559,7 +1553,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1559
1553
|
Optional[StrictStr], Field(description="Mode of the search.")
|
1560
1554
|
] = None,
|
1561
1555
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1562
|
-
**kwargs
|
1556
|
+
**kwargs,
|
1563
1557
|
) -> V1ListServiceAccountsResponse: # noqa: E501
|
1564
1558
|
"""List service accounts # noqa: E501
|
1565
1559
|
|
@@ -1626,7 +1620,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1626
1620
|
Optional[StrictStr], Field(description="Mode of the search.")
|
1627
1621
|
] = None,
|
1628
1622
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
1629
|
-
**kwargs
|
1623
|
+
**kwargs,
|
1630
1624
|
): # noqa: E501
|
1631
1625
|
"""List service accounts # noqa: E501
|
1632
1626
|
|
@@ -1786,7 +1780,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1786
1780
|
body: Annotated[
|
1787
1781
|
V1ServiceAccount, Field(..., description="ServiceAccount body")
|
1788
1782
|
],
|
1789
|
-
**kwargs
|
1783
|
+
**kwargs,
|
1790
1784
|
) -> V1ServiceAccount: # noqa: E501
|
1791
1785
|
"""Patch service account # noqa: E501
|
1792
1786
|
|
@@ -1818,9 +1812,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1818
1812
|
:rtype: V1ServiceAccount
|
1819
1813
|
"""
|
1820
1814
|
kwargs["_return_http_data_only"] = True
|
1821
|
-
return self.patch_service_account_with_http_info(
|
1822
|
-
owner, sa_uuid, body, **kwargs
|
1823
|
-
) # noqa: E501
|
1815
|
+
return self.patch_service_account_with_http_info(owner, sa_uuid, body, **kwargs) # noqa: E501
|
1824
1816
|
|
1825
1817
|
@validate_call
|
1826
1818
|
def patch_service_account_with_http_info(
|
@@ -1830,7 +1822,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1830
1822
|
body: Annotated[
|
1831
1823
|
V1ServiceAccount, Field(..., description="ServiceAccount body")
|
1832
1824
|
],
|
1833
|
-
**kwargs
|
1825
|
+
**kwargs,
|
1834
1826
|
): # noqa: E501
|
1835
1827
|
"""Patch service account # noqa: E501
|
1836
1828
|
|
@@ -1968,7 +1960,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1968
1960
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
1969
1961
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1970
1962
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
1971
|
-
**kwargs
|
1963
|
+
**kwargs,
|
1972
1964
|
) -> V1Token: # noqa: E501
|
1973
1965
|
"""Patch service account token # noqa: E501
|
1974
1966
|
|
@@ -2013,7 +2005,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2013
2005
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2014
2006
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2015
2007
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2016
|
-
**kwargs
|
2008
|
+
**kwargs,
|
2017
2009
|
): # noqa: E501
|
2018
2010
|
"""Patch service account token # noqa: E501
|
2019
2011
|
|
@@ -2156,7 +2148,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2156
2148
|
body: Annotated[
|
2157
2149
|
V1ServiceAccount, Field(..., description="ServiceAccount body")
|
2158
2150
|
],
|
2159
|
-
**kwargs
|
2151
|
+
**kwargs,
|
2160
2152
|
) -> V1ServiceAccount: # noqa: E501
|
2161
2153
|
"""Update service account # noqa: E501
|
2162
2154
|
|
@@ -2200,7 +2192,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2200
2192
|
body: Annotated[
|
2201
2193
|
V1ServiceAccount, Field(..., description="ServiceAccount body")
|
2202
2194
|
],
|
2203
|
-
**kwargs
|
2195
|
+
**kwargs,
|
2204
2196
|
): # noqa: E501
|
2205
2197
|
"""Update service account # noqa: E501
|
2206
2198
|
|
@@ -2338,7 +2330,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2338
2330
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2339
2331
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2340
2332
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2341
|
-
**kwargs
|
2333
|
+
**kwargs,
|
2342
2334
|
) -> V1Token: # noqa: E501
|
2343
2335
|
"""Update service account token # noqa: E501
|
2344
2336
|
|
@@ -2383,7 +2375,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2383
2375
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2384
2376
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2385
2377
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2386
|
-
**kwargs
|
2378
|
+
**kwargs,
|
2387
2379
|
): # noqa: E501
|
2388
2380
|
"""Update service account token # noqa: E501
|
2389
2381
|
|
polyaxon/_sdk/api/tags_v1_api.py
CHANGED
@@ -16,7 +16,7 @@ class TagsV1Api(BaseApi):
|
|
16
16
|
self,
|
17
17
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
18
18
|
body: Annotated[V1Tag, Field(..., description="Tag body")],
|
19
|
-
**kwargs
|
19
|
+
**kwargs,
|
20
20
|
) -> V1Tag: # noqa: E501
|
21
21
|
"""Create tag # noqa: E501
|
22
22
|
|
@@ -53,7 +53,7 @@ class TagsV1Api(BaseApi):
|
|
53
53
|
self,
|
54
54
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
55
55
|
body: Annotated[V1Tag, Field(..., description="Tag body")],
|
56
|
-
**kwargs
|
56
|
+
**kwargs,
|
57
57
|
): # noqa: E501
|
58
58
|
"""Create tag # noqa: E501
|
59
59
|
|
@@ -190,7 +190,7 @@ class TagsV1Api(BaseApi):
|
|
190
190
|
cascade: Annotated[
|
191
191
|
Optional[bool], Field(description="Flag to handle sub-entities.")
|
192
192
|
] = None,
|
193
|
-
**kwargs
|
193
|
+
**kwargs,
|
194
194
|
) -> None: # noqa: E501
|
195
195
|
"""Delete tag # noqa: E501
|
196
196
|
|
@@ -222,9 +222,7 @@ class TagsV1Api(BaseApi):
|
|
222
222
|
:rtype: None
|
223
223
|
"""
|
224
224
|
kwargs["_return_http_data_only"] = True
|
225
|
-
return self.delete_tag_with_http_info(
|
226
|
-
owner, uuid, cascade, **kwargs
|
227
|
-
) # noqa: E501
|
225
|
+
return self.delete_tag_with_http_info(owner, uuid, cascade, **kwargs) # noqa: E501
|
228
226
|
|
229
227
|
@validate_call
|
230
228
|
def delete_tag_with_http_info(
|
@@ -236,7 +234,7 @@ class TagsV1Api(BaseApi):
|
|
236
234
|
cascade: Annotated[
|
237
235
|
Optional[bool], Field(description="Flag to handle sub-entities.")
|
238
236
|
] = None,
|
239
|
-
**kwargs
|
237
|
+
**kwargs,
|
240
238
|
): # noqa: E501
|
241
239
|
"""Delete tag # noqa: E501
|
242
240
|
|
@@ -361,7 +359,7 @@ class TagsV1Api(BaseApi):
|
|
361
359
|
uuid: Annotated[
|
362
360
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
363
361
|
],
|
364
|
-
**kwargs
|
362
|
+
**kwargs,
|
365
363
|
) -> V1Tag: # noqa: E501
|
366
364
|
"""Get tag # noqa: E501
|
367
365
|
|
@@ -400,7 +398,7 @@ class TagsV1Api(BaseApi):
|
|
400
398
|
uuid: Annotated[
|
401
399
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
402
400
|
],
|
403
|
-
**kwargs
|
401
|
+
**kwargs,
|
404
402
|
): # noqa: E501
|
405
403
|
"""Get tag # noqa: E501
|
406
404
|
|
@@ -540,7 +538,7 @@ class TagsV1Api(BaseApi):
|
|
540
538
|
Optional[StrictStr], Field(description="Mode of the search.")
|
541
539
|
] = None,
|
542
540
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
543
|
-
**kwargs
|
541
|
+
**kwargs,
|
544
542
|
) -> V1ListTagsResponse: # noqa: E501
|
545
543
|
"""List tags # noqa: E501
|
546
544
|
|
@@ -607,7 +605,7 @@ class TagsV1Api(BaseApi):
|
|
607
605
|
Optional[StrictStr], Field(description="Mode of the search.")
|
608
606
|
] = None,
|
609
607
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
610
|
-
**kwargs
|
608
|
+
**kwargs,
|
611
609
|
): # noqa: E501
|
612
610
|
"""List tags # noqa: E501
|
613
611
|
|
@@ -780,7 +778,7 @@ class TagsV1Api(BaseApi):
|
|
780
778
|
Optional[StrictStr], Field(description="Mode of the search.")
|
781
779
|
] = None,
|
782
780
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
783
|
-
**kwargs
|
781
|
+
**kwargs,
|
784
782
|
) -> object: # noqa: E501
|
785
783
|
"""Load tags # noqa: E501
|
786
784
|
|
@@ -847,7 +845,7 @@ class TagsV1Api(BaseApi):
|
|
847
845
|
Optional[StrictStr], Field(description="Mode of the search.")
|
848
846
|
] = None,
|
849
847
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
850
|
-
**kwargs
|
848
|
+
**kwargs,
|
851
849
|
): # noqa: E501
|
852
850
|
"""Load tags # noqa: E501
|
853
851
|
|
@@ -1005,7 +1003,7 @@ class TagsV1Api(BaseApi):
|
|
1005
1003
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1006
1004
|
tag_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1007
1005
|
body: Annotated[V1Tag, Field(..., description="Tag body")],
|
1008
|
-
**kwargs
|
1006
|
+
**kwargs,
|
1009
1007
|
) -> V1Tag: # noqa: E501
|
1010
1008
|
"""Patch tag # noqa: E501
|
1011
1009
|
|
@@ -1037,9 +1035,7 @@ class TagsV1Api(BaseApi):
|
|
1037
1035
|
:rtype: V1Tag
|
1038
1036
|
"""
|
1039
1037
|
kwargs["_return_http_data_only"] = True
|
1040
|
-
return self.patch_tag_with_http_info(
|
1041
|
-
owner, tag_uuid, body, **kwargs
|
1042
|
-
) # noqa: E501
|
1038
|
+
return self.patch_tag_with_http_info(owner, tag_uuid, body, **kwargs) # noqa: E501
|
1043
1039
|
|
1044
1040
|
@validate_call
|
1045
1041
|
def patch_tag_with_http_info(
|
@@ -1047,7 +1043,7 @@ class TagsV1Api(BaseApi):
|
|
1047
1043
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1048
1044
|
tag_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1049
1045
|
body: Annotated[V1Tag, Field(..., description="Tag body")],
|
1050
|
-
**kwargs
|
1046
|
+
**kwargs,
|
1051
1047
|
): # noqa: E501
|
1052
1048
|
"""Patch tag # noqa: E501
|
1053
1049
|
|
@@ -1183,7 +1179,7 @@ class TagsV1Api(BaseApi):
|
|
1183
1179
|
self,
|
1184
1180
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1185
1181
|
body: Annotated[V1EntitiesTags, Field(..., description="Data")],
|
1186
|
-
**kwargs
|
1182
|
+
**kwargs,
|
1187
1183
|
) -> None: # noqa: E501
|
1188
1184
|
"""Sync tags # noqa: E501
|
1189
1185
|
|
@@ -1220,7 +1216,7 @@ class TagsV1Api(BaseApi):
|
|
1220
1216
|
self,
|
1221
1217
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1222
1218
|
body: Annotated[V1EntitiesTags, Field(..., description="Data")],
|
1223
|
-
**kwargs
|
1219
|
+
**kwargs,
|
1224
1220
|
): # noqa: E501
|
1225
1221
|
"""Sync tags # noqa: E501
|
1226
1222
|
|
@@ -1348,7 +1344,7 @@ class TagsV1Api(BaseApi):
|
|
1348
1344
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1349
1345
|
tag_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1350
1346
|
body: Annotated[V1Tag, Field(..., description="Tag body")],
|
1351
|
-
**kwargs
|
1347
|
+
**kwargs,
|
1352
1348
|
) -> V1Tag: # noqa: E501
|
1353
1349
|
"""Update tag # noqa: E501
|
1354
1350
|
|
@@ -1380,9 +1376,7 @@ class TagsV1Api(BaseApi):
|
|
1380
1376
|
:rtype: V1Tag
|
1381
1377
|
"""
|
1382
1378
|
kwargs["_return_http_data_only"] = True
|
1383
|
-
return self.update_tag_with_http_info(
|
1384
|
-
owner, tag_uuid, body, **kwargs
|
1385
|
-
) # noqa: E501
|
1379
|
+
return self.update_tag_with_http_info(owner, tag_uuid, body, **kwargs) # noqa: E501
|
1386
1380
|
|
1387
1381
|
@validate_call
|
1388
1382
|
def update_tag_with_http_info(
|
@@ -1390,7 +1384,7 @@ class TagsV1Api(BaseApi):
|
|
1390
1384
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1391
1385
|
tag_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1392
1386
|
body: Annotated[V1Tag, Field(..., description="Tag body")],
|
1393
|
-
**kwargs
|
1387
|
+
**kwargs,
|
1394
1388
|
): # noqa: E501
|
1395
1389
|
"""Update tag # noqa: E501
|
1396
1390
|
|