polyaxon 2.0.0rc49__py3-none-any.whl → 2.4.0rc1__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/cleaner.py +8 -3
- polyaxon/_auxiliaries/init.py +7 -2
- polyaxon/_auxiliaries/notifier.py +8 -2
- polyaxon/_auxiliaries/sidecar.py +30 -2
- polyaxon/_cli/artifacts.py +96 -11
- polyaxon/_cli/components.py +96 -11
- polyaxon/_cli/config.py +118 -22
- polyaxon/_cli/dashboard.py +15 -2
- polyaxon/_cli/init.py +1 -1
- polyaxon/_cli/models.py +96 -11
- polyaxon/_cli/operations.py +267 -90
- polyaxon/_cli/project_versions.py +139 -6
- polyaxon/_cli/projects.py +23 -9
- polyaxon/_cli/run.py +37 -9
- polyaxon/_cli/services/agent.py +2 -2
- polyaxon/_cli/services/clean_artifacts.py +1 -1
- polyaxon/_cli/services/sidecar.py +8 -1
- polyaxon/_client/client.py +17 -0
- polyaxon/_client/mixin.py +39 -0
- polyaxon/_client/project.py +218 -23
- polyaxon/_client/run.py +131 -33
- polyaxon/_compiler/contexts/contexts.py +2 -2
- polyaxon/_compiler/contexts/ray_job.py +4 -2
- polyaxon/_compiler/resolver/agent.py +12 -2
- polyaxon/_compiler/resolver/runtime.py +2 -2
- polyaxon/_contexts/paths.py +4 -7
- polyaxon/_deploy/operators/compose.py +1 -27
- polyaxon/_deploy/schemas/deployment.py +4 -1
- polyaxon/_deploy/schemas/intervals.py +0 -7
- polyaxon/_deploy/schemas/proxy.py +1 -0
- polyaxon/_deploy/schemas/service.py +11 -1
- polyaxon/_docker/converter/base/base.py +8 -0
- polyaxon/_docker/executor.py +10 -4
- 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 +7 -1
- polyaxon/_flow/__init__.py +2 -0
- polyaxon/_flow/builds/__init__.py +19 -6
- polyaxon/_flow/component/base.py +1 -0
- polyaxon/_flow/component/component.py +14 -0
- polyaxon/_flow/environment/__init__.py +8 -8
- polyaxon/_flow/hooks/__init__.py +19 -6
- polyaxon/_flow/init/__init__.py +6 -6
- polyaxon/_flow/matrix/iterative.py +0 -1
- polyaxon/_flow/matrix/tuner.py +18 -6
- polyaxon/_flow/operations/operation.py +44 -17
- polyaxon/_flow/plugins/__init__.py +6 -0
- polyaxon/_flow/run/__init__.py +2 -2
- polyaxon/_flow/run/dag.py +2 -2
- polyaxon/_flow/run/dask/dask.py +0 -1
- polyaxon/_flow/run/dask/replica.py +3 -3
- polyaxon/_flow/run/enums.py +5 -0
- polyaxon/_flow/run/job.py +4 -4
- polyaxon/_flow/run/kubeflow/mpi_job.py +1 -2
- polyaxon/_flow/run/kubeflow/mx_job.py +1 -2
- polyaxon/_flow/run/kubeflow/paddle_job.py +35 -4
- polyaxon/_flow/run/kubeflow/pytorch_job.py +51 -5
- polyaxon/_flow/run/kubeflow/replica.py +4 -4
- polyaxon/_flow/run/kubeflow/scheduling_policy.py +12 -0
- polyaxon/_flow/run/kubeflow/tf_job.py +3 -3
- polyaxon/_flow/run/kubeflow/xgboost_job.py +1 -2
- polyaxon/_flow/run/ray/ray.py +2 -3
- polyaxon/_flow/run/ray/replica.py +3 -3
- polyaxon/_flow/run/service.py +4 -4
- polyaxon/_fs/fs.py +7 -2
- polyaxon/_fs/utils.py +3 -2
- polyaxon/_k8s/converter/base/base.py +2 -1
- polyaxon/_k8s/converter/base/main.py +1 -0
- polyaxon/_k8s/converter/base/sidecar.py +16 -1
- polyaxon/_k8s/converter/common/accelerators.py +7 -4
- polyaxon/_k8s/converter/converters/job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/paddle_job.py +1 -0
- polyaxon/_k8s/converter/converters/kubeflow/pytroch_job.py +2 -0
- polyaxon/_k8s/converter/converters/kubeflow/tf_job.py +1 -0
- 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/kubeflow/paddle_job.py +10 -1
- polyaxon/_k8s/custom_resources/kubeflow/pytorch_job.py +14 -1
- polyaxon/_k8s/custom_resources/kubeflow/tf_job.py +4 -0
- 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/executor/base.py +23 -6
- polyaxon/_k8s/logging/async_monitor.py +150 -5
- polyaxon/_k8s/manager/async_manager.py +96 -23
- polyaxon/_k8s/manager/base.py +4 -0
- polyaxon/_k8s/manager/manager.py +282 -134
- 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 +69 -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 +39 -0
- polyaxon/_managers/agent.py +2 -0
- polyaxon/_managers/home.py +2 -1
- polyaxon/_operations/tuner.py +1 -0
- polyaxon/_polyaxonfile/check.py +2 -0
- polyaxon/_polyaxonfile/manager/operations.py +3 -0
- polyaxon/_polyaxonfile/manager/workflows.py +2 -0
- polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -0
- polyaxon/_polyaxonfile/specs/operation.py +1 -0
- polyaxon/_polyaxonfile/specs/sections.py +3 -0
- polyaxon/_pql/manager.py +1 -1
- polyaxon/_runner/agent/async_agent.py +97 -21
- polyaxon/_runner/agent/base_agent.py +27 -9
- polyaxon/_runner/agent/client.py +15 -1
- polyaxon/_runner/agent/sync_agent.py +85 -20
- polyaxon/_runner/converter/converter.py +6 -2
- polyaxon/_runner/executor.py +13 -7
- polyaxon/_schemas/agent.py +27 -1
- polyaxon/_schemas/client.py +30 -3
- polyaxon/_schemas/installation.py +4 -3
- polyaxon/_schemas/lifecycle.py +10 -5
- polyaxon/_schemas/log_handler.py +2 -3
- polyaxon/_schemas/types/artifacts.py +3 -3
- polyaxon/_schemas/types/dockerfile.py +3 -3
- polyaxon/_schemas/types/file.py +3 -3
- polyaxon/_schemas/types/git.py +3 -3
- polyaxon/_schemas/types/tensorboard.py +3 -3
- polyaxon/_sdk/api/agents_v1_api.py +1076 -73
- polyaxon/_sdk/api/organizations_v1_api.py +371 -10
- polyaxon/_sdk/api/project_dashboards_v1_api.py +12 -12
- polyaxon/_sdk/api/project_searches_v1_api.py +12 -12
- polyaxon/_sdk/api/projects_v1_api.py +221 -44
- polyaxon/_sdk/api/runs_v1_api.py +917 -445
- polyaxon/_sdk/api/service_accounts_v1_api.py +16 -16
- polyaxon/_sdk/api/teams_v1_api.py +2827 -375
- polyaxon/_sdk/api/users_v1_api.py +231 -55
- polyaxon/_sdk/async_client/api_client.py +4 -0
- polyaxon/_sdk/schemas/__init__.py +10 -2
- polyaxon/_sdk/schemas/v1_agent.py +2 -1
- polyaxon/_sdk/schemas/v1_agent_reconcile_body_request.py +14 -0
- polyaxon/_sdk/schemas/v1_artifact_tree.py +1 -1
- polyaxon/_sdk/schemas/v1_dashboard_spec.py +4 -0
- polyaxon/_sdk/schemas/v1_events_response.py +4 -0
- polyaxon/_sdk/schemas/v1_organization.py +1 -0
- polyaxon/_sdk/schemas/v1_preset.py +8 -0
- polyaxon/_sdk/schemas/v1_project.py +1 -0
- polyaxon/_sdk/schemas/v1_project_settings.py +4 -2
- polyaxon/_sdk/schemas/v1_run.py +2 -2
- polyaxon/_sdk/schemas/v1_run_edge_lineage.py +14 -0
- polyaxon/_sdk/schemas/v1_run_edges_graph.py +9 -0
- polyaxon/_sdk/schemas/v1_section_spec.py +7 -2
- polyaxon/_sdk/schemas/v1_settings_catalog.py +1 -0
- polyaxon/_sdk/schemas/v1_team.py +3 -0
- polyaxon/_sdk/schemas/v1_user.py +1 -2
- polyaxon/_sdk/schemas/v1_user_access.py +17 -0
- polyaxon/_services/values.py +1 -0
- polyaxon/_sidecar/container/__init__.py +39 -18
- polyaxon/_sidecar/container/monitors/__init__.py +1 -0
- polyaxon/_sidecar/container/monitors/logs.py +10 -13
- polyaxon/_sidecar/container/monitors/spec.py +24 -0
- polyaxon/_sidecar/ignore.py +0 -1
- polyaxon/_utils/fqn_utils.py +25 -2
- polyaxon/client.py +1 -1
- polyaxon/pkg.py +1 -1
- polyaxon/schemas.py +8 -1
- polyaxon/settings.py +6 -0
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/METADATA +43 -43
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/RECORD +176 -155
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/WHEEL +1 -1
- polyaxon/_sdk/schemas/v1_project_user_access.py +0 -10
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/LICENSE +0 -0
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/top_level.txt +0 -0
@@ -193,7 +193,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
193
193
|
def create_service_account_token(
|
194
194
|
self,
|
195
195
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
196
|
-
entity: Annotated[StrictStr, Field(..., description="
|
196
|
+
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
197
197
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
198
198
|
**kwargs
|
199
199
|
) -> V1Token: # noqa: E501
|
@@ -207,7 +207,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
207
207
|
|
208
208
|
:param owner: Owner of the namespace (required)
|
209
209
|
:type owner: str
|
210
|
-
:param entity:
|
210
|
+
:param entity: Entity (required)
|
211
211
|
:type entity: str
|
212
212
|
:param body: Token body (required)
|
213
213
|
:type body: V1Token
|
@@ -235,7 +235,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
235
235
|
def create_service_account_token_with_http_info(
|
236
236
|
self,
|
237
237
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
238
|
-
entity: Annotated[StrictStr, Field(..., description="
|
238
|
+
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
239
239
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
240
240
|
**kwargs
|
241
241
|
): # noqa: E501
|
@@ -249,7 +249,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
249
249
|
|
250
250
|
:param owner: Owner of the namespace (required)
|
251
251
|
:type owner: str
|
252
|
-
:param entity:
|
252
|
+
:param entity: Entity (required)
|
253
253
|
:type entity: str
|
254
254
|
:param body: Token body (required)
|
255
255
|
:type body: V1Token
|
@@ -1308,7 +1308,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1308
1308
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1309
1309
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
1310
1310
|
entity: Annotated[
|
1311
|
-
Optional[StrictStr], Field(description="Entity name under
|
1311
|
+
Optional[StrictStr], Field(description="Entity name under namespace.")
|
1312
1312
|
] = None,
|
1313
1313
|
offset: Annotated[
|
1314
1314
|
Optional[StrictInt], Field(description="Pagination offset.")
|
@@ -1335,7 +1335,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1335
1335
|
:type owner: str
|
1336
1336
|
:param uuid: SubEntity uuid (required)
|
1337
1337
|
:type uuid: str
|
1338
|
-
:param entity: Entity name under
|
1338
|
+
:param entity: Entity name under namespace.
|
1339
1339
|
:type entity: str
|
1340
1340
|
:param offset: Pagination offset.
|
1341
1341
|
:type offset: int
|
@@ -1373,7 +1373,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1373
1373
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1374
1374
|
uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
|
1375
1375
|
entity: Annotated[
|
1376
|
-
Optional[StrictStr], Field(description="Entity name under
|
1376
|
+
Optional[StrictStr], Field(description="Entity name under namespace.")
|
1377
1377
|
] = None,
|
1378
1378
|
offset: Annotated[
|
1379
1379
|
Optional[StrictInt], Field(description="Pagination offset.")
|
@@ -1400,7 +1400,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1400
1400
|
:type owner: str
|
1401
1401
|
:param uuid: SubEntity uuid (required)
|
1402
1402
|
:type uuid: str
|
1403
|
-
:param entity: Entity name under
|
1403
|
+
:param entity: Entity name under namespace.
|
1404
1404
|
:type entity: str
|
1405
1405
|
:param offset: Pagination offset.
|
1406
1406
|
:type offset: int
|
@@ -1965,7 +1965,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1965
1965
|
def patch_service_account_token(
|
1966
1966
|
self,
|
1967
1967
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1968
|
-
entity: Annotated[StrictStr, Field(..., description="
|
1968
|
+
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
1969
1969
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
1970
1970
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
1971
1971
|
**kwargs
|
@@ -1980,7 +1980,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
1980
1980
|
|
1981
1981
|
:param owner: Owner of the namespace (required)
|
1982
1982
|
:type owner: str
|
1983
|
-
:param entity:
|
1983
|
+
:param entity: Entity (required)
|
1984
1984
|
:type entity: str
|
1985
1985
|
:param token_uuid: UUID (required)
|
1986
1986
|
:type token_uuid: str
|
@@ -2010,7 +2010,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2010
2010
|
def patch_service_account_token_with_http_info(
|
2011
2011
|
self,
|
2012
2012
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2013
|
-
entity: Annotated[StrictStr, Field(..., description="
|
2013
|
+
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2014
2014
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2015
2015
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2016
2016
|
**kwargs
|
@@ -2025,7 +2025,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2025
2025
|
|
2026
2026
|
:param owner: Owner of the namespace (required)
|
2027
2027
|
:type owner: str
|
2028
|
-
:param entity:
|
2028
|
+
:param entity: Entity (required)
|
2029
2029
|
:type entity: str
|
2030
2030
|
:param token_uuid: UUID (required)
|
2031
2031
|
:type token_uuid: str
|
@@ -2335,7 +2335,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2335
2335
|
def update_service_account_token(
|
2336
2336
|
self,
|
2337
2337
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2338
|
-
entity: Annotated[StrictStr, Field(..., description="
|
2338
|
+
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2339
2339
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2340
2340
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2341
2341
|
**kwargs
|
@@ -2350,7 +2350,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2350
2350
|
|
2351
2351
|
:param owner: Owner of the namespace (required)
|
2352
2352
|
:type owner: str
|
2353
|
-
:param entity:
|
2353
|
+
:param entity: Entity (required)
|
2354
2354
|
:type entity: str
|
2355
2355
|
:param token_uuid: UUID (required)
|
2356
2356
|
:type token_uuid: str
|
@@ -2380,7 +2380,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2380
2380
|
def update_service_account_token_with_http_info(
|
2381
2381
|
self,
|
2382
2382
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2383
|
-
entity: Annotated[StrictStr, Field(..., description="
|
2383
|
+
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2384
2384
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2385
2385
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2386
2386
|
**kwargs
|
@@ -2395,7 +2395,7 @@ class ServiceAccountsV1Api(BaseApi):
|
|
2395
2395
|
|
2396
2396
|
:param owner: Owner of the namespace (required)
|
2397
2397
|
:type owner: str
|
2398
|
-
:param entity:
|
2398
|
+
:param entity: Entity (required)
|
2399
2399
|
:type entity: str
|
2400
2400
|
:param token_uuid: UUID (required)
|
2401
2401
|
:type token_uuid: str
|