polyaxon 2.4.0rc1__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/dashboard.py +2 -5
- polyaxon/_cli/run.py +14 -0
- polyaxon/_cli/version.py +4 -1
- polyaxon/_compiler/contexts/contexts.py +4 -0
- polyaxon/_compiler/resolver/agent.py +10 -9
- polyaxon/_compiler/resolver/runtime.py +4 -0
- polyaxon/_constants/metadata.py +1 -0
- polyaxon/_contexts/keys.py +1 -0
- polyaxon/_deploy/schemas/auth.py +3 -3
- polyaxon/_deploy/schemas/celery.py +10 -8
- polyaxon/_deploy/schemas/deployment.py +148 -116
- 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 -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/keys.py +2 -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 +42 -24
- 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 +30 -22
- 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/watcher.py +26 -27
- polyaxon/_k8s/k8s_validation.py +1 -1
- polyaxon/_k8s/logging/async_monitor.py +18 -3
- 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/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/_runner/agent/async_agent.py +9 -6
- polyaxon/_runner/agent/base_agent.py +8 -5
- polyaxon/_runner/agent/sync_agent.py +8 -5
- polyaxon/_runner/converter/converter.py +12 -4
- 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 +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 -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 -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 -12
- 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/_sidecar/container/__init__.py +13 -8
- polyaxon/_utils/cli_constants.py +2 -0
- polyaxon/_utils/test_utils.py +2 -1
- polyaxon/pkg.py +1 -1
- {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/METADATA +13 -13
- {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/RECORD +218 -218
- {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/WHEEL +1 -1
- {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/LICENSE +0 -0
- {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.4.0rc1.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_list_queues_response import V1ListQueuesResponse
|
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
10
10
|
|
11
11
|
|
12
12
|
class QueuesV1Api(BaseApi):
|
13
|
-
@
|
13
|
+
@validate_call
|
14
14
|
def create_queue(
|
15
15
|
self,
|
16
16
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -54,7 +54,7 @@ class QueuesV1Api(BaseApi):
|
|
54
54
|
owner, agent, body, **kwargs
|
55
55
|
) # noqa: E501
|
56
56
|
|
57
|
-
@
|
57
|
+
@validate_call
|
58
58
|
def create_queue_with_http_info(
|
59
59
|
self,
|
60
60
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -193,7 +193,7 @@ class QueuesV1Api(BaseApi):
|
|
193
193
|
_request_auth=_params.get("_request_auth"),
|
194
194
|
)
|
195
195
|
|
196
|
-
@
|
196
|
+
@validate_call
|
197
197
|
def delete_queue(
|
198
198
|
self,
|
199
199
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -242,7 +242,7 @@ class QueuesV1Api(BaseApi):
|
|
242
242
|
owner, entity, uuid, **kwargs
|
243
243
|
) # noqa: E501
|
244
244
|
|
245
|
-
@
|
245
|
+
@validate_call
|
246
246
|
def delete_queue_with_http_info(
|
247
247
|
self,
|
248
248
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -373,7 +373,7 @@ class QueuesV1Api(BaseApi):
|
|
373
373
|
_request_auth=_params.get("_request_auth"),
|
374
374
|
)
|
375
375
|
|
376
|
-
@
|
376
|
+
@validate_call
|
377
377
|
def get_queue(
|
378
378
|
self,
|
379
379
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -422,7 +422,7 @@ class QueuesV1Api(BaseApi):
|
|
422
422
|
owner, entity, uuid, **kwargs
|
423
423
|
) # noqa: E501
|
424
424
|
|
425
|
-
@
|
425
|
+
@validate_call
|
426
426
|
def get_queue_with_http_info(
|
427
427
|
self,
|
428
428
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -558,7 +558,7 @@ class QueuesV1Api(BaseApi):
|
|
558
558
|
_request_auth=_params.get("_request_auth"),
|
559
559
|
)
|
560
560
|
|
561
|
-
@
|
561
|
+
@validate_call
|
562
562
|
def list_organization_queue_names(
|
563
563
|
self,
|
564
564
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -625,7 +625,7 @@ class QueuesV1Api(BaseApi):
|
|
625
625
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
626
626
|
) # noqa: E501
|
627
627
|
|
628
|
-
@
|
628
|
+
@validate_call
|
629
629
|
def list_organization_queue_names_with_http_info(
|
630
630
|
self,
|
631
631
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -798,7 +798,7 @@ class QueuesV1Api(BaseApi):
|
|
798
798
|
_request_auth=_params.get("_request_auth"),
|
799
799
|
)
|
800
800
|
|
801
|
-
@
|
801
|
+
@validate_call
|
802
802
|
def list_organization_queues(
|
803
803
|
self,
|
804
804
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -865,7 +865,7 @@ class QueuesV1Api(BaseApi):
|
|
865
865
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
866
866
|
) # noqa: E501
|
867
867
|
|
868
|
-
@
|
868
|
+
@validate_call
|
869
869
|
def list_organization_queues_with_http_info(
|
870
870
|
self,
|
871
871
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1038,7 +1038,7 @@ class QueuesV1Api(BaseApi):
|
|
1038
1038
|
_request_auth=_params.get("_request_auth"),
|
1039
1039
|
)
|
1040
1040
|
|
1041
|
-
@
|
1041
|
+
@validate_call
|
1042
1042
|
def list_queue_names(
|
1043
1043
|
self,
|
1044
1044
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1110,7 +1110,7 @@ class QueuesV1Api(BaseApi):
|
|
1110
1110
|
owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1111
1111
|
) # noqa: E501
|
1112
1112
|
|
1113
|
-
@
|
1113
|
+
@validate_call
|
1114
1114
|
def list_queue_names_with_http_info(
|
1115
1115
|
self,
|
1116
1116
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1291,7 +1291,7 @@ class QueuesV1Api(BaseApi):
|
|
1291
1291
|
_request_auth=_params.get("_request_auth"),
|
1292
1292
|
)
|
1293
1293
|
|
1294
|
-
@
|
1294
|
+
@validate_call
|
1295
1295
|
def list_queues(
|
1296
1296
|
self,
|
1297
1297
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1363,7 +1363,7 @@ class QueuesV1Api(BaseApi):
|
|
1363
1363
|
owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1364
1364
|
) # noqa: E501
|
1365
1365
|
|
1366
|
-
@
|
1366
|
+
@validate_call
|
1367
1367
|
def list_queues_with_http_info(
|
1368
1368
|
self,
|
1369
1369
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1544,7 +1544,7 @@ class QueuesV1Api(BaseApi):
|
|
1544
1544
|
_request_auth=_params.get("_request_auth"),
|
1545
1545
|
)
|
1546
1546
|
|
1547
|
-
@
|
1547
|
+
@validate_call
|
1548
1548
|
def patch_queue(
|
1549
1549
|
self,
|
1550
1550
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1591,7 +1591,7 @@ class QueuesV1Api(BaseApi):
|
|
1591
1591
|
owner, agent, queue_uuid, body, **kwargs
|
1592
1592
|
) # noqa: E501
|
1593
1593
|
|
1594
|
-
@
|
1594
|
+
@validate_call
|
1595
1595
|
def patch_queue_with_http_info(
|
1596
1596
|
self,
|
1597
1597
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1735,7 +1735,7 @@ class QueuesV1Api(BaseApi):
|
|
1735
1735
|
_request_auth=_params.get("_request_auth"),
|
1736
1736
|
)
|
1737
1737
|
|
1738
|
-
@
|
1738
|
+
@validate_call
|
1739
1739
|
def update_queue(
|
1740
1740
|
self,
|
1741
1741
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1782,7 +1782,7 @@ class QueuesV1Api(BaseApi):
|
|
1782
1782
|
owner, agent, queue_uuid, body, **kwargs
|
1783
1783
|
) # noqa: E501
|
1784
1784
|
|
1785
|
-
@
|
1785
|
+
@validate_call
|
1786
1786
|
def update_queue_with_http_info(
|
1787
1787
|
self,
|
1788
1788
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|