polyaxon 2.0.0rc27__py3-none-any.whl → 2.0.0rc29__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/api.py +4 -0
- polyaxon/auxiliaries/default_scheduling.py +1 -1
- polyaxon/auxiliaries/init.py +1 -1
- polyaxon/auxiliaries/sidecar.py +1 -1
- polyaxon/cli/operations.py +18 -2
- polyaxon/cli/services/docker.py +1 -1
- polyaxon/cli/services/initializer.py +1 -1
- polyaxon/client/run.py +23 -26
- polyaxon/compiler/contexts/contexts.py +0 -2
- polyaxon/compiler/contexts/service.py +14 -9
- polyaxon/compiler/resolver/agent.py +1 -1
- polyaxon/compiler/resolver/runtime.py +0 -1
- polyaxon/constants/metadata.py +1 -0
- polyaxon/deploy/schemas/auth.py +1 -1
- polyaxon/deploy/schemas/celery.py +1 -1
- polyaxon/deploy/schemas/deployment.py +7 -1
- polyaxon/deploy/schemas/email.py +1 -1
- polyaxon/deploy/schemas/ingress.py +1 -1
- polyaxon/deploy/schemas/intervals.py +1 -1
- polyaxon/deploy/schemas/operators.py +0 -1
- polyaxon/deploy/schemas/proxy.py +1 -1
- polyaxon/deploy/schemas/root_user.py +1 -1
- polyaxon/deploy/schemas/security_context.py +1 -1
- polyaxon/deploy/schemas/service.py +1 -1
- polyaxon/deploy/schemas/ssl.py +1 -1
- polyaxon/deploy/schemas/ui.py +1 -1
- polyaxon/docker/docker_types.py +1 -1
- polyaxon/env_vars/keys.py +0 -2
- polyaxon/k8s/converter/converters/__init__.py +0 -2
- polyaxon/k8s/converter/converters/dask_job.py +3 -0
- polyaxon/k8s/converter/mixins.py +0 -7
- polyaxon/k8s/custom_resources/dask_job.py +14 -2
- polyaxon/lifecycle.py +1 -1
- polyaxon/pkg.py +1 -1
- polyaxon/polyflow/__init__.py +0 -4
- polyaxon/polyflow/builds/__init__.py +1 -1
- polyaxon/polyflow/cache/__init__.py +1 -1
- polyaxon/polyflow/component/base.py +1 -1
- polyaxon/polyflow/component/component.py +1 -2
- polyaxon/polyflow/component/component_reference.py +1 -1
- polyaxon/polyflow/early_stopping/__init__.py +1 -1
- polyaxon/polyflow/early_stopping/policies.py +1 -1
- polyaxon/polyflow/environment/__init__.py +1 -1
- polyaxon/polyflow/events/__init__.py +1 -1
- polyaxon/polyflow/hooks/__init__.py +1 -1
- polyaxon/polyflow/init/__init__.py +1 -1
- polyaxon/polyflow/io/io.py +1 -1
- polyaxon/polyflow/joins/__init__.py +1 -1
- polyaxon/polyflow/matrix/__init__.py +1 -1
- polyaxon/polyflow/matrix/bayes.py +7 -1
- polyaxon/polyflow/matrix/grid_search.py +1 -1
- polyaxon/polyflow/matrix/hyperband.py +1 -1
- polyaxon/polyflow/matrix/hyperopt.py +1 -1
- polyaxon/polyflow/matrix/iterative.py +1 -1
- polyaxon/polyflow/matrix/mapping.py +1 -1
- polyaxon/polyflow/matrix/params.py +2 -2
- polyaxon/polyflow/matrix/random_search.py +1 -1
- polyaxon/polyflow/matrix/tuner.py +1 -1
- polyaxon/polyflow/mounts/artifacts_mounts.py +1 -1
- polyaxon/polyflow/notifications/__init__.py +1 -1
- polyaxon/polyflow/operations/base.py +1 -1
- polyaxon/polyflow/operations/operation.py +1 -2
- polyaxon/polyflow/optimization/__init__.py +1 -1
- polyaxon/polyflow/params/params.py +1 -1
- polyaxon/polyflow/plugins/__init__.py +1 -1
- polyaxon/polyflow/references/dag.py +1 -1
- polyaxon/polyflow/references/hub.py +1 -1
- polyaxon/polyflow/references/path.py +1 -1
- polyaxon/polyflow/references/url.py +1 -1
- polyaxon/polyflow/run/__init__.py +1 -13
- polyaxon/polyflow/run/dag.py +7 -1
- polyaxon/polyflow/run/dask/replica.py +1 -1
- polyaxon/polyflow/run/job.py +1 -1
- polyaxon/polyflow/run/kinds.py +14 -1
- polyaxon/polyflow/run/kubeflow/mpi_job.py +1 -1
- polyaxon/polyflow/run/kubeflow/mx_job.py +1 -1
- polyaxon/polyflow/run/kubeflow/paddle_job.py +1 -1
- polyaxon/polyflow/run/kubeflow/pytorch_job.py +1 -1
- polyaxon/polyflow/run/kubeflow/replica.py +1 -1
- polyaxon/polyflow/run/kubeflow/scheduling_policy.py +1 -1
- polyaxon/polyflow/run/kubeflow/tf_job.py +1 -1
- polyaxon/polyflow/run/kubeflow/xgboost_job.py +1 -1
- polyaxon/polyflow/run/patch.py +1 -7
- polyaxon/polyflow/run/ray/ray.py +1 -1
- polyaxon/polyflow/run/ray/replica.py +1 -1
- polyaxon/polyflow/run/resources.py +1 -1
- polyaxon/polyflow/run/service.py +1 -1
- polyaxon/polyflow/schedules/__init__.py +1 -1
- polyaxon/polyflow/schedules/cron.py +1 -1
- polyaxon/polyflow/schedules/datetime.py +1 -1
- polyaxon/polyflow/schedules/interval.py +1 -1
- polyaxon/polyflow/templates/__init__.py +1 -1
- polyaxon/polyflow/termination/__init__.py +2 -2
- polyaxon/schemas/api/authentication.py +1 -1
- polyaxon/schemas/api/home.py +1 -1
- polyaxon/schemas/api/installation.py +1 -1
- polyaxon/schemas/api/log_handler.py +1 -1
- polyaxon/schemas/api/resources.py +1 -1
- polyaxon/schemas/api/user.py +1 -1
- polyaxon/schemas/api/version.py +1 -1
- polyaxon/schemas/base.py +1 -1
- polyaxon/schemas/cli/agent_config.py +1 -1
- polyaxon/schemas/cli/cli_config.py +1 -1
- polyaxon/schemas/cli/client_config.py +1 -1
- polyaxon/schemas/responses/v1_activity.py +1 -1
- polyaxon/schemas/responses/v1_agent.py +1 -1
- polyaxon/schemas/responses/v1_agent_status_body_request.py +1 -1
- polyaxon/schemas/responses/v1_analytics_spec.py +1 -1
- polyaxon/schemas/responses/v1_artifact_tree.py +1 -1
- polyaxon/schemas/responses/v1_auth.py +1 -1
- polyaxon/schemas/responses/v1_cloning.py +1 -1
- polyaxon/schemas/responses/v1_connection_response.py +1 -1
- polyaxon/schemas/responses/v1_dashboard.py +1 -1
- polyaxon/schemas/responses/v1_entities_tags.py +1 -1
- polyaxon/schemas/responses/v1_entities_transfer.py +1 -1
- polyaxon/schemas/responses/v1_entity_notification_body.py +1 -1
- polyaxon/schemas/responses/v1_entity_stage_body_request.py +1 -1
- polyaxon/schemas/responses/v1_entity_status_body_request.py +1 -1
- polyaxon/schemas/responses/v1_list_activities_response.py +1 -1
- polyaxon/schemas/responses/v1_list_agents_response.py +1 -1
- polyaxon/schemas/responses/v1_list_bookmarks_response.py +1 -1
- polyaxon/schemas/responses/v1_list_connections_response.py +1 -1
- polyaxon/schemas/responses/v1_list_dashboards_response.py +1 -1
- polyaxon/schemas/responses/v1_list_organization_members_response.py +1 -1
- polyaxon/schemas/responses/v1_list_organizations_response.py +1 -1
- polyaxon/schemas/responses/v1_list_presets_response.py +1 -1
- polyaxon/schemas/responses/v1_list_project_versions_response.py +1 -1
- polyaxon/schemas/responses/v1_list_projects_response.py +1 -1
- polyaxon/schemas/responses/v1_list_queues_response.py +1 -1
- polyaxon/schemas/responses/v1_list_run_artifacts_response.py +1 -1
- polyaxon/schemas/responses/v1_list_run_connections_response.py +1 -1
- polyaxon/schemas/responses/v1_list_run_edges_response.py +1 -1
- polyaxon/schemas/responses/v1_list_runs_response.py +1 -1
- polyaxon/schemas/responses/v1_list_searches_response.py +1 -1
- polyaxon/schemas/responses/v1_list_service_accounts_response.py +1 -1
- polyaxon/schemas/responses/v1_list_tags_response.py +1 -1
- polyaxon/schemas/responses/v1_list_team_members_response.py +1 -1
- polyaxon/schemas/responses/v1_list_teams_response.py +1 -1
- polyaxon/schemas/responses/v1_list_token_response.py +1 -1
- polyaxon/schemas/responses/v1_operation_body.py +1 -1
- polyaxon/schemas/responses/v1_organization.py +1 -1
- polyaxon/schemas/responses/v1_organization_member.py +1 -1
- polyaxon/schemas/responses/v1_password_change.py +1 -1
- polyaxon/schemas/responses/v1_pipeline.py +1 -1
- polyaxon/schemas/responses/v1_preset.py +1 -1
- polyaxon/schemas/responses/v1_project.py +1 -1
- polyaxon/schemas/responses/v1_project_settings.py +1 -1
- polyaxon/schemas/responses/v1_project_user_access.py +1 -1
- polyaxon/schemas/responses/v1_project_version.py +1 -1
- polyaxon/schemas/responses/v1_queue.py +1 -1
- polyaxon/schemas/responses/v1_run.py +1 -1
- polyaxon/schemas/responses/v1_run_connection.py +1 -1
- polyaxon/schemas/responses/v1_run_reference_catalog.py +1 -1
- polyaxon/schemas/responses/v1_run_settings.py +1 -1
- polyaxon/schemas/responses/v1_search.py +1 -1
- polyaxon/schemas/responses/v1_search_spec.py +1 -1
- polyaxon/schemas/responses/v1_section_spec.py +1 -1
- polyaxon/schemas/responses/v1_service_account.py +1 -1
- polyaxon/schemas/responses/v1_settings_catalog.py +2 -1
- polyaxon/schemas/responses/v1_tag.py +1 -1
- polyaxon/schemas/responses/v1_team.py +1 -1
- polyaxon/schemas/responses/v1_team_member.py +1 -1
- polyaxon/schemas/responses/v1_token.py +1 -1
- polyaxon/schemas/responses/v1_trial_start.py +1 -1
- polyaxon/schemas/responses/v1_user.py +1 -1
- polyaxon/schemas/responses/v1_user_singup.py +1 -1
- polyaxon/schemas/services.py +1 -1
- polyaxon/schemas/types/artifacts.py +1 -1
- polyaxon/schemas/types/dockerfile.py +1 -1
- polyaxon/schemas/types/event.py +1 -1
- polyaxon/schemas/types/file.py +1 -1
- polyaxon/schemas/types/git.py +1 -1
- polyaxon/schemas/types/tensorboard.py +1 -1
- polyaxon/sdk/api/agents_v1_api.py +1 -1
- polyaxon/sdk/api/artifacts_stores_v1_api.py +1 -1
- polyaxon/sdk/api/auth_v1_api.py +1 -1
- polyaxon/sdk/api/connections_v1_api.py +1 -1
- polyaxon/sdk/api/dashboards_v1_api.py +1 -1
- polyaxon/sdk/api/organizations_v1_api.py +1 -1
- polyaxon/sdk/api/presets_v1_api.py +1 -1
- polyaxon/sdk/api/project_dashboards_v1_api.py +1 -1
- polyaxon/sdk/api/project_searches_v1_api.py +1 -1
- polyaxon/sdk/api/projects_v1_api.py +1 -1
- polyaxon/sdk/api/queues_v1_api.py +1 -1
- polyaxon/sdk/api/runs_v1_api.py +88 -10
- polyaxon/sdk/api/searches_v1_api.py +1 -1
- polyaxon/sdk/api/service_accounts_v1_api.py +1 -1
- polyaxon/sdk/api/tags_v1_api.py +1 -1
- polyaxon/sdk/api/teams_v1_api.py +1 -1
- polyaxon/sdk/api/users_v1_api.py +1 -1
- polyaxon/sdk/api/versions_v1_api.py +1 -1
- polyaxon/settings.py +1 -1
- polyaxon/utils/urls_utils.py +3 -1
- {polyaxon-2.0.0rc27.dist-info → polyaxon-2.0.0rc29.dist-info}/METADATA +31 -31
- {polyaxon-2.0.0rc27.dist-info → polyaxon-2.0.0rc29.dist-info}/RECORD +199 -205
- {polyaxon-2.0.0rc27.dist-info → polyaxon-2.0.0rc29.dist-info}/WHEEL +1 -1
- polyaxon/compiler/contexts/spark_job.py +0 -39
- polyaxon/k8s/converter/converters/spark_job.py +0 -64
- polyaxon/k8s/custom_resources/spark_job.py +0 -97
- polyaxon/polyflow/run/spark/__init__.py +0 -2
- polyaxon/polyflow/run/spark/replica.py +0 -165
- polyaxon/polyflow/run/spark/spark.py +0 -341
- {polyaxon-2.0.0rc27.dist-info → polyaxon-2.0.0rc29.dist-info}/LICENSE +0 -0
- {polyaxon-2.0.0rc27.dist-info → polyaxon-2.0.0rc29.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.0.0rc27.dist-info → polyaxon-2.0.0rc29.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Union
|
2
2
|
from typing_extensions import Annotated
|
3
3
|
|
4
|
-
from pydantic import Field
|
4
|
+
from clipped.compact.pydantic import Field
|
5
5
|
|
6
6
|
from polyaxon.polyflow.schedules.cron import V1CronSchedule
|
7
7
|
from polyaxon.polyflow.schedules.datetime import V1DateTimeSchedule
|
@@ -1,8 +1,8 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Literal
|
3
3
|
|
4
|
+
from clipped.compact.pydantic import Field, StrictStr
|
4
5
|
from clipped.types.ref_or_obj import BoolOrRef, DatetimeOrRef, IntOrRef
|
5
|
-
from pydantic import Field, StrictStr
|
6
6
|
|
7
7
|
from polyaxon.polyflow.schedules.kinds import V1ScheduleKind
|
8
8
|
from polyaxon.schemas.base import BaseSchemaModel
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing_extensions import Literal
|
2
2
|
|
3
|
+
from clipped.compact.pydantic import Field
|
3
4
|
from clipped.types.ref_or_obj import DatetimeOrRef
|
4
|
-
from pydantic import Field
|
5
5
|
|
6
6
|
from polyaxon.polyflow.schedules.kinds import V1ScheduleKind
|
7
7
|
from polyaxon.schemas.base import BaseSchemaModel
|
@@ -1,8 +1,8 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Literal
|
3
3
|
|
4
|
+
from clipped.compact.pydantic import Field
|
4
5
|
from clipped.types.ref_or_obj import BoolOrRef, DatetimeOrRef, IntOrRef, TimeDeltaOrRef
|
5
|
-
from pydantic import Field
|
6
6
|
|
7
7
|
from polyaxon.polyflow.schedules.kinds import V1ScheduleKind
|
8
8
|
from polyaxon.schemas.base import BaseSchemaModel
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
|
3
|
+
from clipped.compact.pydantic import Field
|
3
4
|
from clipped.types.ref_or_obj import IntOrRef
|
4
|
-
from pydantic import Field
|
5
5
|
|
6
6
|
from polyaxon.schemas.base import BaseSchemaModel
|
7
7
|
|
@@ -49,7 +49,7 @@ class V1Termination(BaseSchemaModel):
|
|
49
49
|
[backoffLimit](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/).
|
50
50
|
Polyaxon exposes a uniform specification and knows how
|
51
51
|
to manage and inject this value into the underlying primitive of the runtime,
|
52
|
-
i.e. Job, Service, TFJob CRD,
|
52
|
+
i.e. Job, Service, TFJob CRD, RayJob CRD, ...
|
53
53
|
|
54
54
|
```yaml
|
55
55
|
>>> termination:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
|
3
|
-
from pydantic import Extra, Field, StrictStr
|
3
|
+
from clipped.compact.pydantic import Extra, Field, StrictStr
|
4
4
|
|
5
5
|
from polyaxon.env_vars.keys import EV_KEYS_AUTH_TOKEN, EV_KEYS_AUTH_USERNAME
|
6
6
|
from polyaxon.schemas.base import BaseSchemaModel
|
polyaxon/schemas/api/home.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
from typing import Dict, List, Optional
|
2
2
|
|
3
|
+
from clipped.compact.pydantic import StrictInt, StrictStr
|
3
4
|
from clipped.types.numbers import StrictIntOrFloat
|
4
5
|
from clipped.types.uuids import UUIDStr
|
5
|
-
from pydantic import StrictInt, StrictStr
|
6
6
|
|
7
7
|
from polyaxon.schemas.base import BaseSchemaModel
|
8
8
|
|
polyaxon/schemas/api/user.py
CHANGED
polyaxon/schemas/api/version.py
CHANGED
polyaxon/schemas/base.py
CHANGED
@@ -2,8 +2,8 @@ import os
|
|
2
2
|
|
3
3
|
from typing import Dict, List, Optional
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import Extra, Field, StrictStr, root_validator, validator
|
5
6
|
from clipped.config.schema import skip_partial, to_partial
|
6
|
-
from pydantic import Extra, Field, StrictStr, root_validator, validator
|
7
7
|
from vents.connections import ConnectionCatalog
|
8
8
|
|
9
9
|
from polyaxon.auxiliaries import (
|
@@ -2,8 +2,8 @@ from typing import Dict, Optional, Union
|
|
2
2
|
|
3
3
|
import urllib3
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import Extra, Field, StrictStr
|
5
6
|
from clipped.utils.http import clean_host
|
6
|
-
from pydantic import Extra, Field, StrictStr
|
7
7
|
|
8
8
|
from polyaxon.api import LOCALHOST, POLYAXON_CLOUD_HOST
|
9
9
|
from polyaxon.contexts import paths as ctx_paths
|
@@ -2,8 +2,8 @@ import datetime
|
|
2
2
|
|
3
3
|
from typing import Any, Dict, List, Optional
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import StrictStr
|
5
6
|
from clipped.types.uuids import UUIDStr
|
6
|
-
from pydantic import StrictStr
|
7
7
|
|
8
8
|
from polyaxon.lifecycle import V1Statuses
|
9
9
|
from polyaxon.schemas.base import BaseResponseModel
|
@@ -2,8 +2,8 @@ import datetime
|
|
2
2
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import StrictStr
|
5
6
|
from clipped.types.uuids import UUIDStr
|
6
|
-
from pydantic import StrictStr
|
7
7
|
|
8
8
|
from polyaxon.connections import V1ConnectionKind
|
9
9
|
from polyaxon.schemas.base import BaseResponseModel
|
@@ -2,8 +2,8 @@ import datetime
|
|
2
2
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import StrictStr
|
5
6
|
from clipped.types.uuids import UUIDStr
|
6
|
-
from pydantic import StrictStr
|
7
7
|
|
8
8
|
from polyaxon.schemas.base import BaseResponseModel
|
9
9
|
from polyaxon.schemas.responses.v1_dashboard_spec import V1DashboardSpec
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import List, Optional
|
2
2
|
|
3
|
+
from clipped.compact.pydantic import StrictStr
|
3
4
|
from clipped.types.uuids import UUIDStr
|
4
|
-
from pydantic import StrictStr
|
5
5
|
|
6
6
|
from polyaxon.lifecycle import V1StatusCondition
|
7
7
|
from polyaxon.schemas.base import BaseResponseModel
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
|
3
|
+
from clipped.compact.pydantic import StrictStr
|
3
4
|
from clipped.types.uuids import UUIDStr
|
4
|
-
from pydantic import StrictStr
|
5
5
|
|
6
6
|
from polyaxon.polyflow.run.kinds import V1PipelineKind
|
7
7
|
from polyaxon.schemas.base import BaseResponseModel
|
@@ -2,8 +2,8 @@ import datetime
|
|
2
2
|
|
3
3
|
from typing import List, Optional
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import StrictStr
|
5
6
|
from clipped.types.uuids import UUIDStr
|
6
|
-
from pydantic import StrictStr
|
7
7
|
|
8
8
|
from polyaxon.schemas.base import BaseResponseModel
|
9
9
|
from polyaxon.schemas.responses.v1_project_settings import V1ProjectSettings
|
@@ -2,8 +2,8 @@ import datetime
|
|
2
2
|
|
3
3
|
from typing import Any, Dict, List, Optional
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import StrictStr
|
5
6
|
from clipped.types.uuids import UUIDStr
|
6
|
-
from pydantic import StrictStr
|
7
7
|
|
8
8
|
from polyaxon.lifecycle import V1ProjectVersionKind, V1StageCondition, V1Stages
|
9
9
|
from polyaxon.schemas.base import BaseResponseModel
|
@@ -2,8 +2,8 @@ import datetime
|
|
2
2
|
|
3
3
|
from typing import Any, Dict, List, Optional, Union
|
4
4
|
|
5
|
+
from clipped.compact.pydantic import StrictStr
|
5
6
|
from clipped.types.uuids import UUIDStr
|
6
|
-
from pydantic import StrictStr
|
7
7
|
|
8
8
|
from polyaxon.lifecycle import ManagedBy, V1StatusCondition, V1Statuses
|
9
9
|
from polyaxon.polyflow.matrix.kinds import V1MatrixKind
|