polyaxon 2.5.3__py3-none-any.whl → 2.6.0.post1__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/_auxiliaries/default_scheduling.py +17 -7
- polyaxon/_auxiliaries/init.py +14 -6
- polyaxon/_auxiliaries/sidecar.py +10 -8
- polyaxon/_compiler/resolver/agent.py +10 -9
- polyaxon/_deploy/schemas/auth.py +3 -3
- polyaxon/_deploy/schemas/celery.py +10 -8
- polyaxon/_deploy/schemas/deployment.py +148 -115
- polyaxon/_deploy/schemas/email.py +8 -8
- polyaxon/_deploy/schemas/ingress.py +7 -7
- polyaxon/_deploy/schemas/intervals.py +3 -1
- polyaxon/_deploy/schemas/operators.py +8 -8
- polyaxon/_deploy/schemas/proxy.py +9 -9
- polyaxon/_deploy/schemas/rbac.py +1 -1
- polyaxon/_deploy/schemas/root_user.py +5 -5
- polyaxon/_deploy/schemas/security_context.py +25 -15
- polyaxon/_deploy/schemas/service.py +73 -69
- polyaxon/_deploy/schemas/ssl.py +3 -3
- polyaxon/_deploy/schemas/ui.py +10 -8
- polyaxon/_docker/builder/builder.py +4 -1
- polyaxon/_docker/converter/base/containers.py +4 -7
- polyaxon/_docker/converter/base/env_vars.py +5 -5
- polyaxon/_docker/converter/base/mounts.py +2 -2
- polyaxon/_docker/docker_types.py +57 -30
- polyaxon/_flow/__init__.py +3 -2
- polyaxon/_flow/builds/__init__.py +8 -8
- polyaxon/_flow/cache/__init__.py +4 -4
- polyaxon/_flow/component/base.py +25 -18
- polyaxon/_flow/component/component.py +4 -3
- polyaxon/_flow/early_stopping/__init__.py +1 -1
- polyaxon/_flow/early_stopping/policies.py +12 -10
- polyaxon/_flow/environment/__init__.py +42 -24
- polyaxon/_flow/hooks/__init__.py +11 -11
- polyaxon/_flow/init/__init__.py +41 -25
- polyaxon/_flow/io/io.py +59 -47
- polyaxon/_flow/joins/__init__.py +5 -5
- polyaxon/_flow/matrix/bayes.py +23 -17
- polyaxon/_flow/matrix/grid_search.py +16 -7
- polyaxon/_flow/matrix/hyperband.py +10 -10
- polyaxon/_flow/matrix/hyperopt.py +14 -9
- polyaxon/_flow/matrix/iterative.py +14 -8
- polyaxon/_flow/matrix/mapping.py +4 -4
- polyaxon/_flow/matrix/params.py +138 -77
- polyaxon/_flow/matrix/random_search.py +10 -5
- polyaxon/_flow/matrix/tuner.py +4 -4
- polyaxon/_flow/mounts/artifacts_mounts.py +1 -1
- polyaxon/_flow/notifications/__init__.py +1 -1
- polyaxon/_flow/operations/base.py +10 -8
- polyaxon/_flow/operations/compiled_operation.py +5 -4
- polyaxon/_flow/operations/operation.py +30 -22
- polyaxon/_flow/optimization/__init__.py +2 -2
- polyaxon/_flow/params/params.py +11 -10
- polyaxon/_flow/plugins/__init__.py +19 -13
- polyaxon/_flow/run/dag.py +12 -9
- polyaxon/_flow/run/dask/dask.py +4 -4
- polyaxon/_flow/run/dask/replica.py +17 -11
- polyaxon/_flow/run/job.py +17 -11
- polyaxon/_flow/run/kubeflow/mpi_job.py +10 -5
- polyaxon/_flow/run/kubeflow/mx_job.py +25 -9
- polyaxon/_flow/run/kubeflow/paddle_job.py +16 -9
- polyaxon/_flow/run/kubeflow/pytorch_job.py +24 -17
- polyaxon/_flow/run/kubeflow/replica.py +17 -11
- polyaxon/_flow/run/kubeflow/scheduling_policy.py +7 -5
- polyaxon/_flow/run/kubeflow/tf_job.py +15 -8
- polyaxon/_flow/run/kubeflow/xgboost_job.py +9 -4
- polyaxon/_flow/run/ray/ray.py +9 -6
- polyaxon/_flow/run/ray/replica.py +25 -16
- polyaxon/_flow/run/resources.py +14 -13
- polyaxon/_flow/run/service.py +4 -4
- polyaxon/_flow/schedules/cron.py +4 -4
- polyaxon/_flow/schedules/interval.py +4 -4
- polyaxon/_flow/templates/__init__.py +3 -3
- polyaxon/_flow/termination/__init__.py +3 -3
- polyaxon/_fs/watcher.py +26 -27
- polyaxon/_k8s/k8s_validation.py +1 -1
- polyaxon/_local_process/converter/base/containers.py +4 -7
- polyaxon/_local_process/converter/base/env_vars.py +5 -5
- polyaxon/_local_process/process_types.py +15 -12
- polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
- polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
- polyaxon/_polyaxonfile/specs/operation.py +1 -1
- polyaxon/_runner/agent/sync_agent.py +1 -1
- polyaxon/_runner/converter/converter.py +1 -1
- polyaxon/_schemas/agent.py +69 -37
- polyaxon/_schemas/authentication.py +4 -4
- polyaxon/_schemas/base.py +26 -2
- polyaxon/_schemas/checks.py +3 -3
- polyaxon/_schemas/cli.py +4 -6
- polyaxon/_schemas/client.py +20 -18
- polyaxon/_schemas/compatibility.py +4 -4
- polyaxon/_schemas/container_resources.py +1 -1
- polyaxon/_schemas/home.py +3 -3
- polyaxon/_schemas/installation.py +8 -8
- polyaxon/_schemas/lifecycle.py +21 -21
- polyaxon/_schemas/log_handler.py +2 -2
- polyaxon/_schemas/services.py +26 -14
- polyaxon/_schemas/types/artifacts.py +3 -3
- polyaxon/_schemas/types/dockerfile.py +14 -12
- polyaxon/_schemas/types/event.py +2 -2
- polyaxon/_schemas/types/file.py +3 -3
- polyaxon/_schemas/types/git.py +12 -4
- polyaxon/_schemas/types/tensorboard.py +14 -8
- polyaxon/_schemas/user.py +3 -3
- polyaxon/_schemas/version.py +2 -2
- polyaxon/_sdk/api/agents_v1_api.py +45 -45
- polyaxon/_sdk/api/artifacts_stores_v1_api.py +3 -3
- polyaxon/_sdk/api/auth_v1_api.py +13 -13
- polyaxon/_sdk/api/connections_v1_api.py +15 -15
- polyaxon/_sdk/api/dashboards_v1_api.py +15 -15
- polyaxon/_sdk/api/organizations_v1_api.py +77 -77
- polyaxon/_sdk/api/presets_v1_api.py +15 -15
- polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -17
- polyaxon/_sdk/api/project_searches_v1_api.py +17 -17
- polyaxon/_sdk/api/projects_v1_api.py +65 -65
- polyaxon/_sdk/api/queues_v1_api.py +19 -19
- polyaxon/_sdk/api/runs_v1_api.py +127 -127
- polyaxon/_sdk/api/searches_v1_api.py +15 -15
- polyaxon/_sdk/api/service_accounts_v1_api.py +27 -27
- polyaxon/_sdk/api/tags_v1_api.py +17 -17
- polyaxon/_sdk/api/teams_v1_api.py +51 -51
- polyaxon/_sdk/api/users_v1_api.py +25 -25
- polyaxon/_sdk/api/versions_v1_api.py +7 -7
- polyaxon/_sdk/schemas/v1_activity.py +8 -8
- polyaxon/_sdk/schemas/v1_agent.py +17 -17
- polyaxon/_sdk/schemas/v1_agent_state_response.py +4 -4
- polyaxon/_sdk/schemas/v1_agent_state_response_agent_state.py +10 -10
- polyaxon/_sdk/schemas/v1_agent_status_body_request.py +3 -3
- polyaxon/_sdk/schemas/v1_analytics_spec.py +4 -4
- polyaxon/_sdk/schemas/v1_artifact_tree.py +3 -3
- polyaxon/_sdk/schemas/v1_auth.py +1 -1
- polyaxon/_sdk/schemas/v1_cloning.py +3 -3
- polyaxon/_sdk/schemas/v1_connection_response.py +9 -9
- polyaxon/_sdk/schemas/v1_dashboard.py +9 -9
- polyaxon/_sdk/schemas/v1_dashboard_spec.py +5 -5
- polyaxon/_sdk/schemas/v1_entities_tags.py +2 -2
- polyaxon/_sdk/schemas/v1_entities_transfer.py +2 -2
- polyaxon/_sdk/schemas/v1_entity_notification_body.py +7 -7
- polyaxon/_sdk/schemas/v1_entity_stage_body_request.py +5 -5
- polyaxon/_sdk/schemas/v1_entity_status_body_request.py +5 -5
- polyaxon/_sdk/schemas/v1_events_response.py +2 -2
- polyaxon/_sdk/schemas/v1_list_activities_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_agents_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_bookmarks_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_connections_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_dashboards_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_organization_members_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_organizations_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_presets_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_project_versions_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_projects_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_queues_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_run_artifacts_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_run_connections_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_run_edges_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_runs_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_searches_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_service_accounts_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_tags_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_team_members_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_teams_response.py +4 -4
- polyaxon/_sdk/schemas/v1_list_token_response.py +4 -4
- polyaxon/_sdk/schemas/v1_operation_body.py +8 -8
- polyaxon/_sdk/schemas/v1_organization.py +16 -16
- polyaxon/_sdk/schemas/v1_organization_member.py +6 -6
- polyaxon/_sdk/schemas/v1_password_change.py +3 -3
- polyaxon/_sdk/schemas/v1_pipeline.py +3 -3
- polyaxon/_sdk/schemas/v1_preset.py +11 -11
- polyaxon/_sdk/schemas/v1_project.py +17 -17
- polyaxon/_sdk/schemas/v1_project_settings.py +11 -11
- polyaxon/_sdk/schemas/v1_project_version.py +20 -20
- polyaxon/_sdk/schemas/v1_queue.py +12 -12
- polyaxon/_sdk/schemas/v1_run.py +38 -38
- polyaxon/_sdk/schemas/v1_run_connection.py +3 -3
- polyaxon/_sdk/schemas/v1_run_edge.py +5 -5
- polyaxon/_sdk/schemas/v1_run_edge_lineage.py +3 -3
- polyaxon/_sdk/schemas/v1_run_edges_graph.py +1 -1
- polyaxon/_sdk/schemas/v1_run_reference_catalog.py +4 -4
- polyaxon/_sdk/schemas/v1_run_settings.py +9 -9
- polyaxon/_sdk/schemas/v1_search.py +10 -10
- polyaxon/_sdk/schemas/v1_search_spec.py +14 -14
- polyaxon/_sdk/schemas/v1_section_spec.py +12 -12
- polyaxon/_sdk/schemas/v1_service_account.py +9 -9
- polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -4
- polyaxon/_sdk/schemas/v1_tag.py +6 -6
- polyaxon/_sdk/schemas/v1_team.py +11 -11
- polyaxon/_sdk/schemas/v1_team_member.py +6 -6
- polyaxon/_sdk/schemas/v1_team_settings.py +2 -2
- polyaxon/_sdk/schemas/v1_token.py +10 -10
- polyaxon/_sdk/schemas/v1_trial_start.py +6 -6
- polyaxon/_sdk/schemas/v1_user.py +6 -6
- polyaxon/_sdk/schemas/v1_user_access.py +7 -7
- polyaxon/_sdk/schemas/v1_user_email.py +1 -1
- polyaxon/_sdk/schemas/v1_user_singup.py +5 -5
- polyaxon/_sdk/schemas/v1_uuids.py +1 -1
- polyaxon/_utils/test_utils.py +2 -1
- polyaxon/pkg.py +1 -1
- {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/METADATA +10 -10
- {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/RECORD +201 -201
- {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/LICENSE +0 -0
- {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/WHEEL +0 -0
- {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Annotated
|
3
3
|
|
4
|
-
from clipped.compact.pydantic import Field, StrictInt, StrictStr,
|
4
|
+
from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
|
5
5
|
|
6
6
|
from polyaxon._sdk.base_api import BaseApi
|
7
7
|
from polyaxon._sdk.schemas.v1_list_searches_response import V1ListSearchesResponse
|
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
10
10
|
|
11
11
|
|
12
12
|
class SearchesV1Api(BaseApi):
|
13
|
-
@
|
13
|
+
@validate_call
|
14
14
|
def create_search(
|
15
15
|
self,
|
16
16
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -47,7 +47,7 @@ class SearchesV1Api(BaseApi):
|
|
47
47
|
kwargs["_return_http_data_only"] = True
|
48
48
|
return self.create_search_with_http_info(owner, body, **kwargs)
|
49
49
|
|
50
|
-
@
|
50
|
+
@validate_call
|
51
51
|
def create_search_with_http_info(
|
52
52
|
self,
|
53
53
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -179,7 +179,7 @@ class SearchesV1Api(BaseApi):
|
|
179
179
|
_request_auth=_params.get("_request_auth"),
|
180
180
|
)
|
181
181
|
|
182
|
-
@
|
182
|
+
@validate_call
|
183
183
|
def delete_search(
|
184
184
|
self,
|
185
185
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -218,7 +218,7 @@ class SearchesV1Api(BaseApi):
|
|
218
218
|
kwargs["_return_http_data_only"] = True
|
219
219
|
return self.delete_search_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
220
220
|
|
221
|
-
@
|
221
|
+
@validate_call
|
222
222
|
def delete_search_with_http_info(
|
223
223
|
self,
|
224
224
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -339,7 +339,7 @@ class SearchesV1Api(BaseApi):
|
|
339
339
|
_request_auth=_params.get("_request_auth"),
|
340
340
|
)
|
341
341
|
|
342
|
-
@
|
342
|
+
@validate_call
|
343
343
|
def get_search(
|
344
344
|
self,
|
345
345
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -378,7 +378,7 @@ class SearchesV1Api(BaseApi):
|
|
378
378
|
kwargs["_return_http_data_only"] = True
|
379
379
|
return self.get_search_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
380
380
|
|
381
|
-
@
|
381
|
+
@validate_call
|
382
382
|
def get_search_with_http_info(
|
383
383
|
self,
|
384
384
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -504,7 +504,7 @@ class SearchesV1Api(BaseApi):
|
|
504
504
|
_request_auth=_params.get("_request_auth"),
|
505
505
|
)
|
506
506
|
|
507
|
-
@
|
507
|
+
@validate_call
|
508
508
|
def list_search_names(
|
509
509
|
self,
|
510
510
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -571,7 +571,7 @@ class SearchesV1Api(BaseApi):
|
|
571
571
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
572
572
|
) # noqa: E501
|
573
573
|
|
574
|
-
@
|
574
|
+
@validate_call
|
575
575
|
def list_search_names_with_http_info(
|
576
576
|
self,
|
577
577
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -744,7 +744,7 @@ class SearchesV1Api(BaseApi):
|
|
744
744
|
_request_auth=_params.get("_request_auth"),
|
745
745
|
)
|
746
746
|
|
747
|
-
@
|
747
|
+
@validate_call
|
748
748
|
def list_searches(
|
749
749
|
self,
|
750
750
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -811,7 +811,7 @@ class SearchesV1Api(BaseApi):
|
|
811
811
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
812
812
|
) # noqa: E501
|
813
813
|
|
814
|
-
@
|
814
|
+
@validate_call
|
815
815
|
def list_searches_with_http_info(
|
816
816
|
self,
|
817
817
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -984,7 +984,7 @@ class SearchesV1Api(BaseApi):
|
|
984
984
|
_request_auth=_params.get("_request_auth"),
|
985
985
|
)
|
986
986
|
|
987
|
-
@
|
987
|
+
@validate_call
|
988
988
|
def patch_search(
|
989
989
|
self,
|
990
990
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1026,7 +1026,7 @@ class SearchesV1Api(BaseApi):
|
|
1026
1026
|
owner, search_uuid, body, **kwargs
|
1027
1027
|
) # noqa: E501
|
1028
1028
|
|
1029
|
-
@
|
1029
|
+
@validate_call
|
1030
1030
|
def patch_search_with_http_info(
|
1031
1031
|
self,
|
1032
1032
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1163,7 +1163,7 @@ class SearchesV1Api(BaseApi):
|
|
1163
1163
|
_request_auth=_params.get("_request_auth"),
|
1164
1164
|
)
|
1165
1165
|
|
1166
|
-
@
|
1166
|
+
@validate_call
|
1167
1167
|
def update_search(
|
1168
1168
|
self,
|
1169
1169
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1205,7 +1205,7 @@ class SearchesV1Api(BaseApi):
|
|
1205
1205
|
owner, search_uuid, body, **kwargs
|
1206
1206
|
) # noqa: E501
|
1207
1207
|
|
1208
|
-
@
|
1208
|
+
@validate_call
|
1209
1209
|
def update_search_with_http_info(
|
1210
1210
|
self,
|
1211
1211
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Annotated
|
3
3
|
|
4
|
-
from clipped.compact.pydantic import Field, StrictInt, StrictStr,
|
4
|
+
from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
|
5
5
|
|
6
6
|
from polyaxon._sdk.base_api import BaseApi
|
7
7
|
from polyaxon._sdk.schemas.v1_list_service_accounts_response import (
|
@@ -14,7 +14,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
14
14
|
|
15
15
|
|
16
16
|
class ServiceAccountsV1Api(BaseApi):
|
17
|
-
@
|
17
|
+
@validate_call
|
18
18
|
def create_service_account(
|
19
19
|
self,
|
20
20
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -55,7 +55,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
55
55
|
owner, body, **kwargs
|
56
56
|
) # noqa: E501
|
57
57
|
|
58
|
-
@
|
58
|
+
@validate_call
|
59
59
|
def create_service_account_with_http_info(
|
60
60
|
self,
|
61
61
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -189,7 +189,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
189
189
|
_request_auth=_params.get("_request_auth"),
|
190
190
|
)
|
191
191
|
|
192
|
-
@
|
192
|
+
@validate_call
|
193
193
|
def create_service_account_token(
|
194
194
|
self,
|
195
195
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -231,7 +231,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
231
231
|
owner, entity, body, **kwargs
|
232
232
|
) # noqa: E501
|
233
233
|
|
234
|
-
@
|
234
|
+
@validate_call
|
235
235
|
def create_service_account_token_with_http_info(
|
236
236
|
self,
|
237
237
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -368,7 +368,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
368
368
|
_request_auth=_params.get("_request_auth"),
|
369
369
|
)
|
370
370
|
|
371
|
-
@
|
371
|
+
@validate_call
|
372
372
|
def delete_service_account(
|
373
373
|
self,
|
374
374
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -409,7 +409,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
409
409
|
owner, uuid, **kwargs
|
410
410
|
) # noqa: E501
|
411
411
|
|
412
|
-
@
|
412
|
+
@validate_call
|
413
413
|
def delete_service_account_with_http_info(
|
414
414
|
self,
|
415
415
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -530,7 +530,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
530
530
|
_request_auth=_params.get("_request_auth"),
|
531
531
|
)
|
532
532
|
|
533
|
-
@
|
533
|
+
@validate_call
|
534
534
|
def delete_service_account_token(
|
535
535
|
self,
|
536
536
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -579,7 +579,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
579
579
|
owner, entity, uuid, **kwargs
|
580
580
|
) # noqa: E501
|
581
581
|
|
582
|
-
@
|
582
|
+
@validate_call
|
583
583
|
def delete_service_account_token_with_http_info(
|
584
584
|
self,
|
585
585
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -710,7 +710,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
710
710
|
_request_auth=_params.get("_request_auth"),
|
711
711
|
)
|
712
712
|
|
713
|
-
@
|
713
|
+
@validate_call
|
714
714
|
def get_service_account(
|
715
715
|
self,
|
716
716
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -751,7 +751,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
751
751
|
owner, uuid, **kwargs
|
752
752
|
) # noqa: E501
|
753
753
|
|
754
|
-
@
|
754
|
+
@validate_call
|
755
755
|
def get_service_account_with_http_info(
|
756
756
|
self,
|
757
757
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -877,7 +877,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
877
877
|
_request_auth=_params.get("_request_auth"),
|
878
878
|
)
|
879
879
|
|
880
|
-
@
|
880
|
+
@validate_call
|
881
881
|
def get_service_account_token(
|
882
882
|
self,
|
883
883
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -926,7 +926,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
926
926
|
owner, entity, uuid, **kwargs
|
927
927
|
) # noqa: E501
|
928
928
|
|
929
|
-
@
|
929
|
+
@validate_call
|
930
930
|
def get_service_account_token_with_http_info(
|
931
931
|
self,
|
932
932
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1062,7 +1062,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1062
1062
|
_request_auth=_params.get("_request_auth"),
|
1063
1063
|
)
|
1064
1064
|
|
1065
|
-
@
|
1065
|
+
@validate_call
|
1066
1066
|
def list_service_account_names(
|
1067
1067
|
self,
|
1068
1068
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1129,7 +1129,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1129
1129
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1130
1130
|
) # noqa: E501
|
1131
1131
|
|
1132
|
-
@
|
1132
|
+
@validate_call
|
1133
1133
|
def list_service_account_names_with_http_info(
|
1134
1134
|
self,
|
1135
1135
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1302,7 +1302,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1302
1302
|
_request_auth=_params.get("_request_auth"),
|
1303
1303
|
)
|
1304
1304
|
|
1305
|
-
@
|
1305
|
+
@validate_call
|
1306
1306
|
def list_service_account_tokens(
|
1307
1307
|
self,
|
1308
1308
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1367,7 +1367,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1367
1367
|
owner, uuid, entity, offset, limit, sort, query, no_page, **kwargs
|
1368
1368
|
) # noqa: E501
|
1369
1369
|
|
1370
|
-
@
|
1370
|
+
@validate_call
|
1371
1371
|
def list_service_account_tokens_with_http_info(
|
1372
1372
|
self,
|
1373
1373
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1538,7 +1538,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1538
1538
|
_request_auth=_params.get("_request_auth"),
|
1539
1539
|
)
|
1540
1540
|
|
1541
|
-
@
|
1541
|
+
@validate_call
|
1542
1542
|
def list_service_accounts(
|
1543
1543
|
self,
|
1544
1544
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1605,7 +1605,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1605
1605
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1606
1606
|
) # noqa: E501
|
1607
1607
|
|
1608
|
-
@
|
1608
|
+
@validate_call
|
1609
1609
|
def list_service_accounts_with_http_info(
|
1610
1610
|
self,
|
1611
1611
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1778,7 +1778,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1778
1778
|
_request_auth=_params.get("_request_auth"),
|
1779
1779
|
)
|
1780
1780
|
|
1781
|
-
@
|
1781
|
+
@validate_call
|
1782
1782
|
def patch_service_account(
|
1783
1783
|
self,
|
1784
1784
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1822,7 +1822,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1822
1822
|
owner, sa_uuid, body, **kwargs
|
1823
1823
|
) # noqa: E501
|
1824
1824
|
|
1825
|
-
@
|
1825
|
+
@validate_call
|
1826
1826
|
def patch_service_account_with_http_info(
|
1827
1827
|
self,
|
1828
1828
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1961,7 +1961,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1961
1961
|
_request_auth=_params.get("_request_auth"),
|
1962
1962
|
)
|
1963
1963
|
|
1964
|
-
@
|
1964
|
+
@validate_call
|
1965
1965
|
def patch_service_account_token(
|
1966
1966
|
self,
|
1967
1967
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2006,7 +2006,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2006
2006
|
owner, entity, token_uuid, body, **kwargs
|
2007
2007
|
) # noqa: E501
|
2008
2008
|
|
2009
|
-
@
|
2009
|
+
@validate_call
|
2010
2010
|
def patch_service_account_token_with_http_info(
|
2011
2011
|
self,
|
2012
2012
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2148,7 +2148,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2148
2148
|
_request_auth=_params.get("_request_auth"),
|
2149
2149
|
)
|
2150
2150
|
|
2151
|
-
@
|
2151
|
+
@validate_call
|
2152
2152
|
def update_service_account(
|
2153
2153
|
self,
|
2154
2154
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2192,7 +2192,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2192
2192
|
owner, sa_uuid, body, **kwargs
|
2193
2193
|
) # noqa: E501
|
2194
2194
|
|
2195
|
-
@
|
2195
|
+
@validate_call
|
2196
2196
|
def update_service_account_with_http_info(
|
2197
2197
|
self,
|
2198
2198
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2331,7 +2331,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2331
2331
|
_request_auth=_params.get("_request_auth"),
|
2332
2332
|
)
|
2333
2333
|
|
2334
|
-
@
|
2334
|
+
@validate_call
|
2335
2335
|
def update_service_account_token(
|
2336
2336
|
self,
|
2337
2337
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2376,7 +2376,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2376
2376
|
owner, entity, token_uuid, body, **kwargs
|
2377
2377
|
) # noqa: E501
|
2378
2378
|
|
2379
|
-
@
|
2379
|
+
@validate_call
|
2380
2380
|
def update_service_account_token_with_http_info(
|
2381
2381
|
self,
|
2382
2382
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
polyaxon/_sdk/api/tags_v1_api.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Annotated
|
3
3
|
|
4
|
-
from clipped.compact.pydantic import Field, StrictInt, StrictStr,
|
4
|
+
from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
|
5
5
|
|
6
6
|
from polyaxon._sdk.base_api import BaseApi
|
7
7
|
from polyaxon._sdk.schemas.v1_entities_tags import V1EntitiesTags
|
@@ -11,7 +11,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
11
11
|
|
12
12
|
|
13
13
|
class TagsV1Api(BaseApi):
|
14
|
-
@
|
14
|
+
@validate_call
|
15
15
|
def create_tag(
|
16
16
|
self,
|
17
17
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -48,7 +48,7 @@ class TagsV1Api(BaseApi):
|
|
48
48
|
kwargs["_return_http_data_only"] = True
|
49
49
|
return self.create_tag_with_http_info(owner, body, **kwargs) # noqa: E501
|
50
50
|
|
51
|
-
@
|
51
|
+
@validate_call
|
52
52
|
def create_tag_with_http_info(
|
53
53
|
self,
|
54
54
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -180,7 +180,7 @@ class TagsV1Api(BaseApi):
|
|
180
180
|
_request_auth=_params.get("_request_auth"),
|
181
181
|
)
|
182
182
|
|
183
|
-
@
|
183
|
+
@validate_call
|
184
184
|
def delete_tag(
|
185
185
|
self,
|
186
186
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -226,7 +226,7 @@ class TagsV1Api(BaseApi):
|
|
226
226
|
owner, uuid, cascade, **kwargs
|
227
227
|
) # noqa: E501
|
228
228
|
|
229
|
-
@
|
229
|
+
@validate_call
|
230
230
|
def delete_tag_with_http_info(
|
231
231
|
self,
|
232
232
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -354,7 +354,7 @@ class TagsV1Api(BaseApi):
|
|
354
354
|
_request_auth=_params.get("_request_auth"),
|
355
355
|
)
|
356
356
|
|
357
|
-
@
|
357
|
+
@validate_call
|
358
358
|
def get_tag(
|
359
359
|
self,
|
360
360
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -393,7 +393,7 @@ class TagsV1Api(BaseApi):
|
|
393
393
|
kwargs["_return_http_data_only"] = True
|
394
394
|
return self.get_tag_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
395
395
|
|
396
|
-
@
|
396
|
+
@validate_call
|
397
397
|
def get_tag_with_http_info(
|
398
398
|
self,
|
399
399
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -519,7 +519,7 @@ class TagsV1Api(BaseApi):
|
|
519
519
|
_request_auth=_params.get("_request_auth"),
|
520
520
|
)
|
521
521
|
|
522
|
-
@
|
522
|
+
@validate_call
|
523
523
|
def list_tags(
|
524
524
|
self,
|
525
525
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -586,7 +586,7 @@ class TagsV1Api(BaseApi):
|
|
586
586
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
587
587
|
) # noqa: E501
|
588
588
|
|
589
|
-
@
|
589
|
+
@validate_call
|
590
590
|
def list_tags_with_http_info(
|
591
591
|
self,
|
592
592
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -759,7 +759,7 @@ class TagsV1Api(BaseApi):
|
|
759
759
|
_request_auth=_params.get("_request_auth"),
|
760
760
|
)
|
761
761
|
|
762
|
-
@
|
762
|
+
@validate_call
|
763
763
|
def load_tags(
|
764
764
|
self,
|
765
765
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -826,7 +826,7 @@ class TagsV1Api(BaseApi):
|
|
826
826
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
827
827
|
) # noqa: E501
|
828
828
|
|
829
|
-
@
|
829
|
+
@validate_call
|
830
830
|
def load_tags_with_http_info(
|
831
831
|
self,
|
832
832
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -999,7 +999,7 @@ class TagsV1Api(BaseApi):
|
|
999
999
|
_request_auth=_params.get("_request_auth"),
|
1000
1000
|
)
|
1001
1001
|
|
1002
|
-
@
|
1002
|
+
@validate_call
|
1003
1003
|
def patch_tag(
|
1004
1004
|
self,
|
1005
1005
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1041,7 +1041,7 @@ class TagsV1Api(BaseApi):
|
|
1041
1041
|
owner, tag_uuid, body, **kwargs
|
1042
1042
|
) # noqa: E501
|
1043
1043
|
|
1044
|
-
@
|
1044
|
+
@validate_call
|
1045
1045
|
def patch_tag_with_http_info(
|
1046
1046
|
self,
|
1047
1047
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1178,7 +1178,7 @@ class TagsV1Api(BaseApi):
|
|
1178
1178
|
_request_auth=_params.get("_request_auth"),
|
1179
1179
|
)
|
1180
1180
|
|
1181
|
-
@
|
1181
|
+
@validate_call
|
1182
1182
|
def sync_tags(
|
1183
1183
|
self,
|
1184
1184
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1215,7 +1215,7 @@ class TagsV1Api(BaseApi):
|
|
1215
1215
|
kwargs["_return_http_data_only"] = True
|
1216
1216
|
return self.sync_tags_with_http_info(owner, body, **kwargs) # noqa: E501
|
1217
1217
|
|
1218
|
-
@
|
1218
|
+
@validate_call
|
1219
1219
|
def sync_tags_with_http_info(
|
1220
1220
|
self,
|
1221
1221
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1342,7 +1342,7 @@ class TagsV1Api(BaseApi):
|
|
1342
1342
|
_request_auth=_params.get("_request_auth"),
|
1343
1343
|
)
|
1344
1344
|
|
1345
|
-
@
|
1345
|
+
@validate_call
|
1346
1346
|
def update_tag(
|
1347
1347
|
self,
|
1348
1348
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1384,7 +1384,7 @@ class TagsV1Api(BaseApi):
|
|
1384
1384
|
owner, tag_uuid, body, **kwargs
|
1385
1385
|
) # noqa: E501
|
1386
1386
|
|
1387
|
-
@
|
1387
|
+
@validate_call
|
1388
1388
|
def update_tag_with_http_info(
|
1389
1389
|
self,
|
1390
1390
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|