polyaxon 2.1.0rc9__py3-none-any.whl → 2.6.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.
- polyaxon/_auxiliaries/default_scheduling.py +17 -7
- polyaxon/_auxiliaries/init.py +14 -6
- polyaxon/_auxiliaries/sidecar.py +10 -8
- polyaxon/_cli/artifacts.py +96 -11
- polyaxon/_cli/components.py +96 -11
- polyaxon/_cli/config.py +31 -0
- polyaxon/_cli/dashboard.py +12 -2
- polyaxon/_cli/init.py +1 -1
- polyaxon/_cli/models.py +96 -11
- polyaxon/_cli/operations.py +133 -58
- polyaxon/_cli/project_versions.py +139 -6
- polyaxon/_cli/projects.py +23 -9
- polyaxon/_cli/run.py +43 -9
- polyaxon/_cli/services/agent.py +2 -2
- polyaxon/_cli/version.py +4 -1
- polyaxon/_client/mixin.py +39 -0
- polyaxon/_client/project.py +218 -23
- polyaxon/_client/run.py +84 -27
- polyaxon/_compiler/contexts/contexts.py +4 -0
- polyaxon/_compiler/contexts/ray_job.py +4 -2
- polyaxon/_compiler/resolver/agent.py +22 -10
- polyaxon/_compiler/resolver/runtime.py +7 -3
- polyaxon/_constants/metadata.py +1 -0
- polyaxon/_contexts/keys.py +1 -0
- polyaxon/_contexts/paths.py +1 -1
- polyaxon/_deploy/operators/compose.py +1 -27
- 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 +2 -7
- polyaxon/_deploy/schemas/operators.py +8 -8
- polyaxon/_deploy/schemas/proxy.py +9 -8
- 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 +75 -66
- polyaxon/_deploy/schemas/ssl.py +3 -3
- polyaxon/_deploy/schemas/ui.py +10 -6
- 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/_env_vars/getters/owner_entity.py +4 -2
- polyaxon/_env_vars/getters/project.py +4 -2
- polyaxon/_env_vars/getters/run.py +5 -2
- polyaxon/_env_vars/keys.py +3 -0
- 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 +43 -25
- polyaxon/_flow/events/__init__.py +1 -1
- polyaxon/_flow/hooks/__init__.py +11 -11
- polyaxon/_flow/init/__init__.py +41 -25
- polyaxon/_flow/io/io.py +57 -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 +57 -41
- polyaxon/_flow/optimization/__init__.py +2 -2
- polyaxon/_flow/params/params.py +10 -9
- 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/async_manager.py +1 -1
- polyaxon/_fs/fs.py +1 -1
- polyaxon/_fs/watcher.py +26 -27
- polyaxon/_k8s/converter/base/base.py +2 -1
- polyaxon/_k8s/converter/base/main.py +1 -0
- polyaxon/_k8s/converter/common/accelerators.py +7 -4
- polyaxon/_k8s/converter/converters/ray_job.py +4 -2
- polyaxon/_k8s/custom_resources/dask_job.py +3 -0
- polyaxon/_k8s/custom_resources/kubeflow/common.py +4 -1
- polyaxon/_k8s/custom_resources/ray_job.py +3 -0
- polyaxon/_k8s/custom_resources/setter.py +1 -1
- polyaxon/_k8s/executor/async_executor.py +2 -0
- polyaxon/_k8s/k8s_validation.py +1 -1
- polyaxon/_k8s/logging/async_monitor.py +82 -11
- polyaxon/_k8s/manager/async_manager.py +15 -0
- polyaxon/_k8s/manager/manager.py +16 -1
- polyaxon/_local_process/__init__.py +0 -0
- polyaxon/_local_process/agent.py +6 -0
- polyaxon/_local_process/converter/__init__.py +1 -0
- polyaxon/_local_process/converter/base/__init__.py +1 -0
- polyaxon/_local_process/converter/base/base.py +140 -0
- polyaxon/_local_process/converter/base/containers.py +66 -0
- polyaxon/_local_process/converter/base/env_vars.py +253 -0
- polyaxon/_local_process/converter/base/init.py +414 -0
- polyaxon/_local_process/converter/base/main.py +74 -0
- polyaxon/_local_process/converter/base/mounts.py +82 -0
- polyaxon/_local_process/converter/converters/__init__.py +8 -0
- polyaxon/_local_process/converter/converters/job.py +40 -0
- polyaxon/_local_process/converter/converters/service.py +41 -0
- polyaxon/_local_process/converter/mixins.py +38 -0
- polyaxon/_local_process/executor.py +132 -0
- polyaxon/_local_process/process_types.py +42 -0
- polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
- polyaxon/_polyaxonfile/specs/libs/parser.py +1 -1
- polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
- polyaxon/_polyaxonfile/specs/operation.py +1 -1
- polyaxon/_polyaxonfile/specs/sections.py +8 -0
- polyaxon/_pql/manager.py +1 -1
- polyaxon/_runner/agent/async_agent.py +25 -11
- polyaxon/_runner/agent/base_agent.py +19 -10
- polyaxon/_runner/agent/sync_agent.py +24 -10
- polyaxon/_runner/converter/converter.py +12 -4
- polyaxon/_runner/executor.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 +13 -9
- polyaxon/_schemas/lifecycle.py +23 -23
- 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 +222 -43
- 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 +85 -85
- polyaxon/_sdk/api/presets_v1_api.py +15 -15
- polyaxon/_sdk/api/project_dashboards_v1_api.py +29 -29
- polyaxon/_sdk/api/project_searches_v1_api.py +29 -29
- polyaxon/_sdk/api/projects_v1_api.py +284 -107
- polyaxon/_sdk/api/queues_v1_api.py +19 -19
- polyaxon/_sdk/api/runs_v1_api.py +313 -359
- polyaxon/_sdk/api/searches_v1_api.py +15 -15
- polyaxon/_sdk/api/service_accounts_v1_api.py +31 -31
- polyaxon/_sdk/api/tags_v1_api.py +17 -17
- polyaxon/_sdk/api/teams_v1_api.py +2854 -402
- polyaxon/_sdk/api/users_v1_api.py +254 -78
- polyaxon/_sdk/api/versions_v1_api.py +7 -7
- polyaxon/_sdk/async_client/api_client.py +4 -0
- polyaxon/_sdk/schemas/__init__.py +1 -1
- polyaxon/_sdk/schemas/v1_activity.py +8 -8
- polyaxon/_sdk/schemas/v1_agent.py +18 -16
- 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 -1
- 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 +16 -9
- polyaxon/_sdk/schemas/v1_project.py +17 -17
- polyaxon/_sdk/schemas/v1_project_settings.py +12 -10
- 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 -7
- polyaxon/_sdk/schemas/v1_service_account.py +9 -9
- polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -3
- polyaxon/_sdk/schemas/v1_tag.py +6 -6
- polyaxon/_sdk/schemas/v1_team.py +11 -8
- 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 -7
- polyaxon/_sdk/schemas/v1_user_access.py +17 -0
- 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/_sidecar/container/__init__.py +39 -20
- polyaxon/_sidecar/container/monitors/logs.py +10 -13
- polyaxon/_sidecar/ignore.py +0 -1
- polyaxon/_utils/cli_constants.py +2 -0
- polyaxon/_utils/fqn_utils.py +25 -2
- polyaxon/_utils/test_utils.py +2 -1
- polyaxon/pkg.py +1 -1
- polyaxon/schemas.py +1 -1
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/METADATA +43 -43
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/RECORD +269 -252
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/WHEEL +1 -1
- polyaxon/_sdk/schemas/v1_project_user_access.py +0 -10
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/LICENSE +0 -0
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.1.0rc9.dist-info → polyaxon-2.6.0.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_connection_response import V1ConnectionResponse
|
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
10
10
|
|
11
11
|
|
12
12
|
class ConnectionsV1Api(BaseApi):
|
13
|
-
@
|
13
|
+
@validate_call
|
14
14
|
def create_connection(
|
15
15
|
self,
|
16
16
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -51,7 +51,7 @@ class ConnectionsV1Api(BaseApi):
|
|
51
51
|
owner, body, **kwargs
|
52
52
|
) # noqa: E501
|
53
53
|
|
54
|
-
@
|
54
|
+
@validate_call
|
55
55
|
def create_connection_with_http_info(
|
56
56
|
self,
|
57
57
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -185,7 +185,7 @@ class ConnectionsV1Api(BaseApi):
|
|
185
185
|
_request_auth=_params.get("_request_auth"),
|
186
186
|
)
|
187
187
|
|
188
|
-
@
|
188
|
+
@validate_call
|
189
189
|
def delete_connection(
|
190
190
|
self,
|
191
191
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -226,7 +226,7 @@ class ConnectionsV1Api(BaseApi):
|
|
226
226
|
owner, uuid, **kwargs
|
227
227
|
) # noqa: E501
|
228
228
|
|
229
|
-
@
|
229
|
+
@validate_call
|
230
230
|
def delete_connection_with_http_info(
|
231
231
|
self,
|
232
232
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -347,7 +347,7 @@ class ConnectionsV1Api(BaseApi):
|
|
347
347
|
_request_auth=_params.get("_request_auth"),
|
348
348
|
)
|
349
349
|
|
350
|
-
@
|
350
|
+
@validate_call
|
351
351
|
def get_connection(
|
352
352
|
self,
|
353
353
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -386,7 +386,7 @@ class ConnectionsV1Api(BaseApi):
|
|
386
386
|
kwargs["_return_http_data_only"] = True
|
387
387
|
return self.get_connection_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
388
388
|
|
389
|
-
@
|
389
|
+
@validate_call
|
390
390
|
def get_connection_with_http_info(
|
391
391
|
self,
|
392
392
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -512,7 +512,7 @@ class ConnectionsV1Api(BaseApi):
|
|
512
512
|
_request_auth=_params.get("_request_auth"),
|
513
513
|
)
|
514
514
|
|
515
|
-
@
|
515
|
+
@validate_call
|
516
516
|
def list_connection_names(
|
517
517
|
self,
|
518
518
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -579,7 +579,7 @@ class ConnectionsV1Api(BaseApi):
|
|
579
579
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
580
580
|
) # noqa: E501
|
581
581
|
|
582
|
-
@
|
582
|
+
@validate_call
|
583
583
|
def list_connection_names_with_http_info(
|
584
584
|
self,
|
585
585
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -752,7 +752,7 @@ class ConnectionsV1Api(BaseApi):
|
|
752
752
|
_request_auth=_params.get("_request_auth"),
|
753
753
|
)
|
754
754
|
|
755
|
-
@
|
755
|
+
@validate_call
|
756
756
|
def list_connections(
|
757
757
|
self,
|
758
758
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -819,7 +819,7 @@ class ConnectionsV1Api(BaseApi):
|
|
819
819
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
820
820
|
) # noqa: E501
|
821
821
|
|
822
|
-
@
|
822
|
+
@validate_call
|
823
823
|
def list_connections_with_http_info(
|
824
824
|
self,
|
825
825
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -992,7 +992,7 @@ class ConnectionsV1Api(BaseApi):
|
|
992
992
|
_request_auth=_params.get("_request_auth"),
|
993
993
|
)
|
994
994
|
|
995
|
-
@
|
995
|
+
@validate_call
|
996
996
|
def patch_connection(
|
997
997
|
self,
|
998
998
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1036,7 +1036,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1036
1036
|
owner, connection_uuid, body, **kwargs
|
1037
1037
|
) # noqa: E501
|
1038
1038
|
|
1039
|
-
@
|
1039
|
+
@validate_call
|
1040
1040
|
def patch_connection_with_http_info(
|
1041
1041
|
self,
|
1042
1042
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1175,7 +1175,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1175
1175
|
_request_auth=_params.get("_request_auth"),
|
1176
1176
|
)
|
1177
1177
|
|
1178
|
-
@
|
1178
|
+
@validate_call
|
1179
1179
|
def update_connection(
|
1180
1180
|
self,
|
1181
1181
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1219,7 +1219,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1219
1219
|
owner, connection_uuid, body, **kwargs
|
1220
1220
|
) # noqa: E501
|
1221
1221
|
|
1222
|
-
@
|
1222
|
+
@validate_call
|
1223
1223
|
def update_connection_with_http_info(
|
1224
1224
|
self,
|
1225
1225
|
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_dashboard import V1Dashboard
|
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
10
10
|
|
11
11
|
|
12
12
|
class DashboardsV1Api(BaseApi):
|
13
|
-
@
|
13
|
+
@validate_call
|
14
14
|
def create_dashboard(
|
15
15
|
self,
|
16
16
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -47,7 +47,7 @@ class DashboardsV1Api(BaseApi):
|
|
47
47
|
kwargs["_return_http_data_only"] = True
|
48
48
|
return self.create_dashboard_with_http_info(owner, body, **kwargs) # noqa: E501
|
49
49
|
|
50
|
-
@
|
50
|
+
@validate_call
|
51
51
|
def create_dashboard_with_http_info(
|
52
52
|
self,
|
53
53
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -179,7 +179,7 @@ class DashboardsV1Api(BaseApi):
|
|
179
179
|
_request_auth=_params.get("_request_auth"),
|
180
180
|
)
|
181
181
|
|
182
|
-
@
|
182
|
+
@validate_call
|
183
183
|
def delete_dashboard(
|
184
184
|
self,
|
185
185
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -218,7 +218,7 @@ class DashboardsV1Api(BaseApi):
|
|
218
218
|
kwargs["_return_http_data_only"] = True
|
219
219
|
return self.delete_dashboard_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
220
220
|
|
221
|
-
@
|
221
|
+
@validate_call
|
222
222
|
def delete_dashboard_with_http_info(
|
223
223
|
self,
|
224
224
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -339,7 +339,7 @@ class DashboardsV1Api(BaseApi):
|
|
339
339
|
_request_auth=_params.get("_request_auth"),
|
340
340
|
)
|
341
341
|
|
342
|
-
@
|
342
|
+
@validate_call
|
343
343
|
def get_dashboard(
|
344
344
|
self,
|
345
345
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -378,7 +378,7 @@ class DashboardsV1Api(BaseApi):
|
|
378
378
|
kwargs["_return_http_data_only"] = True
|
379
379
|
return self.get_dashboard_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
380
380
|
|
381
|
-
@
|
381
|
+
@validate_call
|
382
382
|
def get_dashboard_with_http_info(
|
383
383
|
self,
|
384
384
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -504,7 +504,7 @@ class DashboardsV1Api(BaseApi):
|
|
504
504
|
_request_auth=_params.get("_request_auth"),
|
505
505
|
)
|
506
506
|
|
507
|
-
@
|
507
|
+
@validate_call
|
508
508
|
def list_dashboard_names(
|
509
509
|
self,
|
510
510
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -571,7 +571,7 @@ class DashboardsV1Api(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_dashboard_names_with_http_info(
|
576
576
|
self,
|
577
577
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -744,7 +744,7 @@ class DashboardsV1Api(BaseApi):
|
|
744
744
|
_request_auth=_params.get("_request_auth"),
|
745
745
|
)
|
746
746
|
|
747
|
-
@
|
747
|
+
@validate_call
|
748
748
|
def list_dashboards(
|
749
749
|
self,
|
750
750
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -811,7 +811,7 @@ class DashboardsV1Api(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_dashboards_with_http_info(
|
816
816
|
self,
|
817
817
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -984,7 +984,7 @@ class DashboardsV1Api(BaseApi):
|
|
984
984
|
_request_auth=_params.get("_request_auth"),
|
985
985
|
)
|
986
986
|
|
987
|
-
@
|
987
|
+
@validate_call
|
988
988
|
def patch_dashboard(
|
989
989
|
self,
|
990
990
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1026,7 +1026,7 @@ class DashboardsV1Api(BaseApi):
|
|
1026
1026
|
owner, dashboard_uuid, body, **kwargs
|
1027
1027
|
) # noqa: E501
|
1028
1028
|
|
1029
|
-
@
|
1029
|
+
@validate_call
|
1030
1030
|
def patch_dashboard_with_http_info(
|
1031
1031
|
self,
|
1032
1032
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1163,7 +1163,7 @@ class DashboardsV1Api(BaseApi):
|
|
1163
1163
|
_request_auth=_params.get("_request_auth"),
|
1164
1164
|
)
|
1165
1165
|
|
1166
|
-
@
|
1166
|
+
@validate_call
|
1167
1167
|
def update_dashboard(
|
1168
1168
|
self,
|
1169
1169
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1205,7 +1205,7 @@ class DashboardsV1Api(BaseApi):
|
|
1205
1205
|
owner, dashboard_uuid, body, **kwargs
|
1206
1206
|
) # noqa: E501
|
1207
1207
|
|
1208
|
-
@
|
1208
|
+
@validate_call
|
1209
1209
|
def update_dashboard_with_http_info(
|
1210
1210
|
self,
|
1211
1211
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|