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_entities_tags import V1EntitiesTags
|
@@ -23,7 +23,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
23
23
|
|
24
24
|
|
25
25
|
class TeamsV1Api(BaseApi):
|
26
|
-
@
|
26
|
+
@validate_call
|
27
27
|
def create_team(
|
28
28
|
self,
|
29
29
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -60,7 +60,7 @@ class TeamsV1Api(BaseApi):
|
|
60
60
|
kwargs["_return_http_data_only"] = True
|
61
61
|
return self.create_team_with_http_info(owner, body, **kwargs)
|
62
62
|
|
63
|
-
@
|
63
|
+
@validate_call
|
64
64
|
def create_team_with_http_info(
|
65
65
|
self,
|
66
66
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -192,7 +192,7 @@ class TeamsV1Api(BaseApi):
|
|
192
192
|
_request_auth=_params.get("_request_auth"),
|
193
193
|
)
|
194
194
|
|
195
|
-
@
|
195
|
+
@validate_call
|
196
196
|
def create_team_member(
|
197
197
|
self,
|
198
198
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -234,7 +234,7 @@ class TeamsV1Api(BaseApi):
|
|
234
234
|
owner, team, body, **kwargs
|
235
235
|
) # noqa: E501
|
236
236
|
|
237
|
-
@
|
237
|
+
@validate_call
|
238
238
|
def create_team_member_with_http_info(
|
239
239
|
self,
|
240
240
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -371,7 +371,7 @@ class TeamsV1Api(BaseApi):
|
|
371
371
|
_request_auth=_params.get("_request_auth"),
|
372
372
|
)
|
373
373
|
|
374
|
-
@
|
374
|
+
@validate_call
|
375
375
|
def delete_team(
|
376
376
|
self,
|
377
377
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -408,7 +408,7 @@ class TeamsV1Api(BaseApi):
|
|
408
408
|
kwargs["_return_http_data_only"] = True
|
409
409
|
return self.delete_team_with_http_info(owner, name, **kwargs) # noqa: E501
|
410
410
|
|
411
|
-
@
|
411
|
+
@validate_call
|
412
412
|
def delete_team_with_http_info(
|
413
413
|
self,
|
414
414
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -527,7 +527,7 @@ class TeamsV1Api(BaseApi):
|
|
527
527
|
_request_auth=_params.get("_request_auth"),
|
528
528
|
)
|
529
529
|
|
530
|
-
@
|
530
|
+
@validate_call
|
531
531
|
def delete_team_member(
|
532
532
|
self,
|
533
533
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -569,7 +569,7 @@ class TeamsV1Api(BaseApi):
|
|
569
569
|
owner, team, user, **kwargs
|
570
570
|
) # noqa: E501
|
571
571
|
|
572
|
-
@
|
572
|
+
@validate_call
|
573
573
|
def delete_team_member_with_http_info(
|
574
574
|
self,
|
575
575
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -693,7 +693,7 @@ class TeamsV1Api(BaseApi):
|
|
693
693
|
_request_auth=_params.get("_request_auth"),
|
694
694
|
)
|
695
695
|
|
696
|
-
@
|
696
|
+
@validate_call
|
697
697
|
def delete_team_runs(
|
698
698
|
self,
|
699
699
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -735,7 +735,7 @@ class TeamsV1Api(BaseApi):
|
|
735
735
|
owner, name, body, **kwargs
|
736
736
|
) # noqa: E501
|
737
737
|
|
738
|
-
@
|
738
|
+
@validate_call
|
739
739
|
def delete_team_runs_with_http_info(
|
740
740
|
self,
|
741
741
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -865,7 +865,7 @@ class TeamsV1Api(BaseApi):
|
|
865
865
|
_request_auth=_params.get("_request_auth"),
|
866
866
|
)
|
867
867
|
|
868
|
-
@
|
868
|
+
@validate_call
|
869
869
|
def get_team(
|
870
870
|
self,
|
871
871
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -902,7 +902,7 @@ class TeamsV1Api(BaseApi):
|
|
902
902
|
kwargs["_return_http_data_only"] = True
|
903
903
|
return self.get_team_with_http_info(owner, name, **kwargs) # noqa: E501
|
904
904
|
|
905
|
-
@
|
905
|
+
@validate_call
|
906
906
|
def get_team_with_http_info(
|
907
907
|
self,
|
908
908
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1026,7 +1026,7 @@ class TeamsV1Api(BaseApi):
|
|
1026
1026
|
_request_auth=_params.get("_request_auth"),
|
1027
1027
|
)
|
1028
1028
|
|
1029
|
-
@
|
1029
|
+
@validate_call
|
1030
1030
|
def get_team_activities(
|
1031
1031
|
self,
|
1032
1032
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1098,7 +1098,7 @@ class TeamsV1Api(BaseApi):
|
|
1098
1098
|
owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1099
1099
|
) # noqa: E501
|
1100
1100
|
|
1101
|
-
@
|
1101
|
+
@validate_call
|
1102
1102
|
def get_team_activities_with_http_info(
|
1103
1103
|
self,
|
1104
1104
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1283,7 +1283,7 @@ class TeamsV1Api(BaseApi):
|
|
1283
1283
|
_request_auth=_params.get("_request_auth"),
|
1284
1284
|
)
|
1285
1285
|
|
1286
|
-
@
|
1286
|
+
@validate_call
|
1287
1287
|
def get_team_member(
|
1288
1288
|
self,
|
1289
1289
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1325,7 +1325,7 @@ class TeamsV1Api(BaseApi):
|
|
1325
1325
|
owner, team, user, **kwargs
|
1326
1326
|
) # noqa: E501
|
1327
1327
|
|
1328
|
-
@
|
1328
|
+
@validate_call
|
1329
1329
|
def get_team_member_with_http_info(
|
1330
1330
|
self,
|
1331
1331
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1454,7 +1454,7 @@ class TeamsV1Api(BaseApi):
|
|
1454
1454
|
_request_auth=_params.get("_request_auth"),
|
1455
1455
|
)
|
1456
1456
|
|
1457
|
-
@
|
1457
|
+
@validate_call
|
1458
1458
|
def get_team_run(
|
1459
1459
|
self,
|
1460
1460
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1503,7 +1503,7 @@ class TeamsV1Api(BaseApi):
|
|
1503
1503
|
owner, entity, uuid, **kwargs
|
1504
1504
|
) # noqa: E501
|
1505
1505
|
|
1506
|
-
@
|
1506
|
+
@validate_call
|
1507
1507
|
def get_team_run_with_http_info(
|
1508
1508
|
self,
|
1509
1509
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1637,7 +1637,7 @@ class TeamsV1Api(BaseApi):
|
|
1637
1637
|
_request_auth=_params.get("_request_auth"),
|
1638
1638
|
)
|
1639
1639
|
|
1640
|
-
@
|
1640
|
+
@validate_call
|
1641
1641
|
def get_team_runs(
|
1642
1642
|
self,
|
1643
1643
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1709,7 +1709,7 @@ class TeamsV1Api(BaseApi):
|
|
1709
1709
|
owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
1710
1710
|
) # noqa: E501
|
1711
1711
|
|
1712
|
-
@
|
1712
|
+
@validate_call
|
1713
1713
|
def get_team_runs_with_http_info(
|
1714
1714
|
self,
|
1715
1715
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1894,7 +1894,7 @@ class TeamsV1Api(BaseApi):
|
|
1894
1894
|
_request_auth=_params.get("_request_auth"),
|
1895
1895
|
)
|
1896
1896
|
|
1897
|
-
@
|
1897
|
+
@validate_call
|
1898
1898
|
def get_team_stats(
|
1899
1899
|
self,
|
1900
1900
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1989,7 +1989,7 @@ class TeamsV1Api(BaseApi):
|
|
1989
1989
|
**kwargs
|
1990
1990
|
) # noqa: E501
|
1991
1991
|
|
1992
|
-
@
|
1992
|
+
@validate_call
|
1993
1993
|
def get_team_stats_with_http_info(
|
1994
1994
|
self,
|
1995
1995
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2197,7 +2197,7 @@ class TeamsV1Api(BaseApi):
|
|
2197
2197
|
_request_auth=_params.get("_request_auth"),
|
2198
2198
|
)
|
2199
2199
|
|
2200
|
-
@
|
2200
|
+
@validate_call
|
2201
2201
|
def get_team_versions(
|
2202
2202
|
self,
|
2203
2203
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2262,7 +2262,7 @@ class TeamsV1Api(BaseApi):
|
|
2262
2262
|
owner, entity, kind, offset, limit, sort, query, no_page, **kwargs
|
2263
2263
|
) # noqa: E501
|
2264
2264
|
|
2265
|
-
@
|
2265
|
+
@validate_call
|
2266
2266
|
def get_team_versions_with_http_info(
|
2267
2267
|
self,
|
2268
2268
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2436,7 +2436,7 @@ class TeamsV1Api(BaseApi):
|
|
2436
2436
|
_request_auth=_params.get("_request_auth"),
|
2437
2437
|
)
|
2438
2438
|
|
2439
|
-
@
|
2439
|
+
@validate_call
|
2440
2440
|
def invalidate_team_runs(
|
2441
2441
|
self,
|
2442
2442
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2478,7 +2478,7 @@ class TeamsV1Api(BaseApi):
|
|
2478
2478
|
owner, name, body, **kwargs
|
2479
2479
|
) # noqa: E501
|
2480
2480
|
|
2481
|
-
@
|
2481
|
+
@validate_call
|
2482
2482
|
def invalidate_team_runs_with_http_info(
|
2483
2483
|
self,
|
2484
2484
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2608,7 +2608,7 @@ class TeamsV1Api(BaseApi):
|
|
2608
2608
|
_request_auth=_params.get("_request_auth"),
|
2609
2609
|
)
|
2610
2610
|
|
2611
|
-
@
|
2611
|
+
@validate_call
|
2612
2612
|
def list_team_members(
|
2613
2613
|
self,
|
2614
2614
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2680,7 +2680,7 @@ class TeamsV1Api(BaseApi):
|
|
2680
2680
|
owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
2681
2681
|
) # noqa: E501
|
2682
2682
|
|
2683
|
-
@
|
2683
|
+
@validate_call
|
2684
2684
|
def list_team_members_with_http_info(
|
2685
2685
|
self,
|
2686
2686
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2861,7 +2861,7 @@ class TeamsV1Api(BaseApi):
|
|
2861
2861
|
_request_auth=_params.get("_request_auth"),
|
2862
2862
|
)
|
2863
2863
|
|
2864
|
-
@
|
2864
|
+
@validate_call
|
2865
2865
|
def list_team_names(
|
2866
2866
|
self,
|
2867
2867
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2928,7 +2928,7 @@ class TeamsV1Api(BaseApi):
|
|
2928
2928
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
2929
2929
|
) # noqa: E501
|
2930
2930
|
|
2931
|
-
@
|
2931
|
+
@validate_call
|
2932
2932
|
def list_team_names_with_http_info(
|
2933
2933
|
self,
|
2934
2934
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3101,7 +3101,7 @@ class TeamsV1Api(BaseApi):
|
|
3101
3101
|
_request_auth=_params.get("_request_auth"),
|
3102
3102
|
)
|
3103
3103
|
|
3104
|
-
@
|
3104
|
+
@validate_call
|
3105
3105
|
def list_teams(
|
3106
3106
|
self,
|
3107
3107
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3168,7 +3168,7 @@ class TeamsV1Api(BaseApi):
|
|
3168
3168
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
3169
3169
|
) # noqa: E501
|
3170
3170
|
|
3171
|
-
@
|
3171
|
+
@validate_call
|
3172
3172
|
def list_teams_with_http_info(
|
3173
3173
|
self,
|
3174
3174
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3341,7 +3341,7 @@ class TeamsV1Api(BaseApi):
|
|
3341
3341
|
_request_auth=_params.get("_request_auth"),
|
3342
3342
|
)
|
3343
3343
|
|
3344
|
-
@
|
3344
|
+
@validate_call
|
3345
3345
|
def patch_team(
|
3346
3346
|
self,
|
3347
3347
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3383,7 +3383,7 @@ class TeamsV1Api(BaseApi):
|
|
3383
3383
|
owner, team_name, body, **kwargs
|
3384
3384
|
) # noqa: E501
|
3385
3385
|
|
3386
|
-
@
|
3386
|
+
@validate_call
|
3387
3387
|
def patch_team_with_http_info(
|
3388
3388
|
self,
|
3389
3389
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3520,7 +3520,7 @@ class TeamsV1Api(BaseApi):
|
|
3520
3520
|
_request_auth=_params.get("_request_auth"),
|
3521
3521
|
)
|
3522
3522
|
|
3523
|
-
@
|
3523
|
+
@validate_call
|
3524
3524
|
def patch_team_member(
|
3525
3525
|
self,
|
3526
3526
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3565,7 +3565,7 @@ class TeamsV1Api(BaseApi):
|
|
3565
3565
|
owner, team, member_user, body, **kwargs
|
3566
3566
|
) # noqa: E501
|
3567
3567
|
|
3568
|
-
@
|
3568
|
+
@validate_call
|
3569
3569
|
def patch_team_member_with_http_info(
|
3570
3570
|
self,
|
3571
3571
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3707,7 +3707,7 @@ class TeamsV1Api(BaseApi):
|
|
3707
3707
|
_request_auth=_params.get("_request_auth"),
|
3708
3708
|
)
|
3709
3709
|
|
3710
|
-
@
|
3710
|
+
@validate_call
|
3711
3711
|
def restore_team_runs(
|
3712
3712
|
self,
|
3713
3713
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3749,7 +3749,7 @@ class TeamsV1Api(BaseApi):
|
|
3749
3749
|
owner, name, body, **kwargs
|
3750
3750
|
) # noqa: E501
|
3751
3751
|
|
3752
|
-
@
|
3752
|
+
@validate_call
|
3753
3753
|
def restore_team_runs_with_http_info(
|
3754
3754
|
self,
|
3755
3755
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3879,7 +3879,7 @@ class TeamsV1Api(BaseApi):
|
|
3879
3879
|
_request_auth=_params.get("_request_auth"),
|
3880
3880
|
)
|
3881
3881
|
|
3882
|
-
@
|
3882
|
+
@validate_call
|
3883
3883
|
def skip_team_runs(
|
3884
3884
|
self,
|
3885
3885
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3921,7 +3921,7 @@ class TeamsV1Api(BaseApi):
|
|
3921
3921
|
owner, name, body, **kwargs
|
3922
3922
|
) # noqa: E501
|
3923
3923
|
|
3924
|
-
@
|
3924
|
+
@validate_call
|
3925
3925
|
def skip_team_runs_with_http_info(
|
3926
3926
|
self,
|
3927
3927
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4051,7 +4051,7 @@ class TeamsV1Api(BaseApi):
|
|
4051
4051
|
_request_auth=_params.get("_request_auth"),
|
4052
4052
|
)
|
4053
4053
|
|
4054
|
-
@
|
4054
|
+
@validate_call
|
4055
4055
|
def stop_team_runs(
|
4056
4056
|
self,
|
4057
4057
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4093,7 +4093,7 @@ class TeamsV1Api(BaseApi):
|
|
4093
4093
|
owner, name, body, **kwargs
|
4094
4094
|
) # noqa: E501
|
4095
4095
|
|
4096
|
-
@
|
4096
|
+
@validate_call
|
4097
4097
|
def stop_team_runs_with_http_info(
|
4098
4098
|
self,
|
4099
4099
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4223,7 +4223,7 @@ class TeamsV1Api(BaseApi):
|
|
4223
4223
|
_request_auth=_params.get("_request_auth"),
|
4224
4224
|
)
|
4225
4225
|
|
4226
|
-
@
|
4226
|
+
@validate_call
|
4227
4227
|
def tag_team_runs(
|
4228
4228
|
self,
|
4229
4229
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4265,7 +4265,7 @@ class TeamsV1Api(BaseApi):
|
|
4265
4265
|
owner, name, body, **kwargs
|
4266
4266
|
) # noqa: E501
|
4267
4267
|
|
4268
|
-
@
|
4268
|
+
@validate_call
|
4269
4269
|
def tag_team_runs_with_http_info(
|
4270
4270
|
self,
|
4271
4271
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4395,7 +4395,7 @@ class TeamsV1Api(BaseApi):
|
|
4395
4395
|
_request_auth=_params.get("_request_auth"),
|
4396
4396
|
)
|
4397
4397
|
|
4398
|
-
@
|
4398
|
+
@validate_call
|
4399
4399
|
def transfer_team_runs(
|
4400
4400
|
self,
|
4401
4401
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4437,7 +4437,7 @@ class TeamsV1Api(BaseApi):
|
|
4437
4437
|
owner, name, body, **kwargs
|
4438
4438
|
) # noqa: E501
|
4439
4439
|
|
4440
|
-
@
|
4440
|
+
@validate_call
|
4441
4441
|
def transfer_team_runs_with_http_info(
|
4442
4442
|
self,
|
4443
4443
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4567,7 +4567,7 @@ class TeamsV1Api(BaseApi):
|
|
4567
4567
|
_request_auth=_params.get("_request_auth"),
|
4568
4568
|
)
|
4569
4569
|
|
4570
|
-
@
|
4570
|
+
@validate_call
|
4571
4571
|
def update_team(
|
4572
4572
|
self,
|
4573
4573
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4609,7 +4609,7 @@ class TeamsV1Api(BaseApi):
|
|
4609
4609
|
owner, team_name, body, **kwargs
|
4610
4610
|
) # noqa: E501
|
4611
4611
|
|
4612
|
-
@
|
4612
|
+
@validate_call
|
4613
4613
|
def update_team_with_http_info(
|
4614
4614
|
self,
|
4615
4615
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4746,7 +4746,7 @@ class TeamsV1Api(BaseApi):
|
|
4746
4746
|
_request_auth=_params.get("_request_auth"),
|
4747
4747
|
)
|
4748
4748
|
|
4749
|
-
@
|
4749
|
+
@validate_call
|
4750
4750
|
def update_team_member(
|
4751
4751
|
self,
|
4752
4752
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -4791,7 +4791,7 @@ class TeamsV1Api(BaseApi):
|
|
4791
4791
|
owner, team, member_user, body, **kwargs
|
4792
4792
|
) # noqa: E501
|
4793
4793
|
|
4794
|
-
@
|
4794
|
+
@validate_call
|
4795
4795
|
def update_team_member_with_http_info(
|
4796
4796
|
self,
|
4797
4797
|
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_activities_response import V1ListActivitiesResponse
|
@@ -12,7 +12,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
12
12
|
|
13
13
|
|
14
14
|
class UsersV1Api(BaseApi):
|
15
|
-
@
|
15
|
+
@validate_call
|
16
16
|
def create_token(
|
17
17
|
self, body: Annotated[V1Token, Field(..., description="Token body")], **kwargs
|
18
18
|
) -> V1Token: # noqa: E501
|
@@ -44,7 +44,7 @@ class UsersV1Api(BaseApi):
|
|
44
44
|
kwargs["_return_http_data_only"] = True
|
45
45
|
return self.create_token_with_http_info(body, **kwargs) # noqa: E501
|
46
46
|
|
47
|
-
@
|
47
|
+
@validate_call
|
48
48
|
def create_token_with_http_info(
|
49
49
|
self, body: Annotated[V1Token, Field(..., description="Token body")], **kwargs
|
50
50
|
): # noqa: E501
|
@@ -166,7 +166,7 @@ class UsersV1Api(BaseApi):
|
|
166
166
|
_request_auth=_params.get("_request_auth"),
|
167
167
|
)
|
168
168
|
|
169
|
-
@
|
169
|
+
@validate_call
|
170
170
|
def delete_token(
|
171
171
|
self,
|
172
172
|
uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
|
@@ -200,7 +200,7 @@ class UsersV1Api(BaseApi):
|
|
200
200
|
kwargs["_return_http_data_only"] = True
|
201
201
|
return self.delete_token_with_http_info(uuid, **kwargs) # noqa: E501
|
202
202
|
|
203
|
-
@
|
203
|
+
@validate_call
|
204
204
|
def delete_token_with_http_info(
|
205
205
|
self,
|
206
206
|
uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
|
@@ -310,7 +310,7 @@ class UsersV1Api(BaseApi):
|
|
310
310
|
_request_auth=_params.get("_request_auth"),
|
311
311
|
)
|
312
312
|
|
313
|
-
@
|
313
|
+
@validate_call
|
314
314
|
def get_history(
|
315
315
|
self,
|
316
316
|
offset: Annotated[
|
@@ -364,7 +364,7 @@ class UsersV1Api(BaseApi):
|
|
364
364
|
offset, limit, sort, query, no_page, **kwargs
|
365
365
|
) # noqa: E501
|
366
366
|
|
367
|
-
@
|
367
|
+
@validate_call
|
368
368
|
def get_history_with_http_info(
|
369
369
|
self,
|
370
370
|
offset: Annotated[
|
@@ -510,7 +510,7 @@ class UsersV1Api(BaseApi):
|
|
510
510
|
_request_auth=_params.get("_request_auth"),
|
511
511
|
)
|
512
512
|
|
513
|
-
@
|
513
|
+
@validate_call
|
514
514
|
def get_suggestions(
|
515
515
|
self,
|
516
516
|
offset: Annotated[
|
@@ -564,7 +564,7 @@ class UsersV1Api(BaseApi):
|
|
564
564
|
offset, limit, sort, query, no_page, **kwargs
|
565
565
|
) # noqa: E501
|
566
566
|
|
567
|
-
@
|
567
|
+
@validate_call
|
568
568
|
def get_suggestions_with_http_info(
|
569
569
|
self,
|
570
570
|
offset: Annotated[
|
@@ -710,7 +710,7 @@ class UsersV1Api(BaseApi):
|
|
710
710
|
_request_auth=_params.get("_request_auth"),
|
711
711
|
)
|
712
712
|
|
713
|
-
@
|
713
|
+
@validate_call
|
714
714
|
def get_token(
|
715
715
|
self,
|
716
716
|
uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
|
@@ -744,7 +744,7 @@ class UsersV1Api(BaseApi):
|
|
744
744
|
kwargs["_return_http_data_only"] = True
|
745
745
|
return self.get_token_with_http_info(uuid, **kwargs) # noqa: E501
|
746
746
|
|
747
|
-
@
|
747
|
+
@validate_call
|
748
748
|
def get_token_with_http_info(
|
749
749
|
self,
|
750
750
|
uuid: Annotated[StrictStr, Field(..., description="UUid of the namespace")],
|
@@ -859,7 +859,7 @@ class UsersV1Api(BaseApi):
|
|
859
859
|
_request_auth=_params.get("_request_auth"),
|
860
860
|
)
|
861
861
|
|
862
|
-
@
|
862
|
+
@validate_call
|
863
863
|
def get_user(self, **kwargs) -> V1User: # noqa: E501
|
864
864
|
"""Get current user # noqa: E501
|
865
865
|
|
@@ -887,7 +887,7 @@ class UsersV1Api(BaseApi):
|
|
887
887
|
kwargs["_return_http_data_only"] = True
|
888
888
|
return self.get_user_with_http_info(**kwargs) # noqa: E501
|
889
889
|
|
890
|
-
@
|
890
|
+
@validate_call
|
891
891
|
def get_user_with_http_info(self, **kwargs): # noqa: E501
|
892
892
|
"""Get current user # noqa: E501
|
893
893
|
|
@@ -994,7 +994,7 @@ class UsersV1Api(BaseApi):
|
|
994
994
|
_request_auth=_params.get("_request_auth"),
|
995
995
|
)
|
996
996
|
|
997
|
-
@
|
997
|
+
@validate_call
|
998
998
|
def get_workspaces(
|
999
999
|
self,
|
1000
1000
|
offset: Annotated[
|
@@ -1048,7 +1048,7 @@ class UsersV1Api(BaseApi):
|
|
1048
1048
|
offset, limit, sort, query, no_page, **kwargs
|
1049
1049
|
) # noqa: E501
|
1050
1050
|
|
1051
|
-
@
|
1051
|
+
@validate_call
|
1052
1052
|
def get_workspaces_with_http_info(
|
1053
1053
|
self,
|
1054
1054
|
offset: Annotated[
|
@@ -1194,7 +1194,7 @@ class UsersV1Api(BaseApi):
|
|
1194
1194
|
_request_auth=_params.get("_request_auth"),
|
1195
1195
|
)
|
1196
1196
|
|
1197
|
-
@
|
1197
|
+
@validate_call
|
1198
1198
|
def list_tokens(
|
1199
1199
|
self,
|
1200
1200
|
offset: Annotated[
|
@@ -1248,7 +1248,7 @@ class UsersV1Api(BaseApi):
|
|
1248
1248
|
offset, limit, sort, query, no_page, **kwargs
|
1249
1249
|
) # noqa: E501
|
1250
1250
|
|
1251
|
-
@
|
1251
|
+
@validate_call
|
1252
1252
|
def list_tokens_with_http_info(
|
1253
1253
|
self,
|
1254
1254
|
offset: Annotated[
|
@@ -1394,7 +1394,7 @@ class UsersV1Api(BaseApi):
|
|
1394
1394
|
_request_auth=_params.get("_request_auth"),
|
1395
1395
|
)
|
1396
1396
|
|
1397
|
-
@
|
1397
|
+
@validate_call
|
1398
1398
|
def patch_token(
|
1399
1399
|
self,
|
1400
1400
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
@@ -1431,7 +1431,7 @@ class UsersV1Api(BaseApi):
|
|
1431
1431
|
kwargs["_return_http_data_only"] = True
|
1432
1432
|
return self.patch_token_with_http_info(token_uuid, body, **kwargs) # noqa: E501
|
1433
1433
|
|
1434
|
-
@
|
1434
|
+
@validate_call
|
1435
1435
|
def patch_token_with_http_info(
|
1436
1436
|
self,
|
1437
1437
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
@@ -1560,7 +1560,7 @@ class UsersV1Api(BaseApi):
|
|
1560
1560
|
_request_auth=_params.get("_request_auth"),
|
1561
1561
|
)
|
1562
1562
|
|
1563
|
-
@
|
1563
|
+
@validate_call
|
1564
1564
|
def patch_user(self, body: V1User, **kwargs) -> V1User: # noqa: E501
|
1565
1565
|
"""Patch current user # noqa: E501
|
1566
1566
|
|
@@ -1590,7 +1590,7 @@ class UsersV1Api(BaseApi):
|
|
1590
1590
|
kwargs["_return_http_data_only"] = True
|
1591
1591
|
return self.patch_user_with_http_info(body, **kwargs) # noqa: E501
|
1592
1592
|
|
1593
|
-
@
|
1593
|
+
@validate_call
|
1594
1594
|
def patch_user_with_http_info(self, body: V1User, **kwargs): # noqa: E501
|
1595
1595
|
"""Patch current user # noqa: E501
|
1596
1596
|
|
@@ -1710,7 +1710,7 @@ class UsersV1Api(BaseApi):
|
|
1710
1710
|
_request_auth=_params.get("_request_auth"),
|
1711
1711
|
)
|
1712
1712
|
|
1713
|
-
@
|
1713
|
+
@validate_call
|
1714
1714
|
def update_token(
|
1715
1715
|
self,
|
1716
1716
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
@@ -1749,7 +1749,7 @@ class UsersV1Api(BaseApi):
|
|
1749
1749
|
token_uuid, body, **kwargs
|
1750
1750
|
) # noqa: E501
|
1751
1751
|
|
1752
|
-
@
|
1752
|
+
@validate_call
|
1753
1753
|
def update_token_with_http_info(
|
1754
1754
|
self,
|
1755
1755
|
token_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
@@ -1878,7 +1878,7 @@ class UsersV1Api(BaseApi):
|
|
1878
1878
|
_request_auth=_params.get("_request_auth"),
|
1879
1879
|
)
|
1880
1880
|
|
1881
|
-
@
|
1881
|
+
@validate_call
|
1882
1882
|
def update_user(self, body: V1User, **kwargs) -> V1User: # noqa: E501
|
1883
1883
|
"""Update current user # noqa: E501
|
1884
1884
|
|
@@ -1908,7 +1908,7 @@ class UsersV1Api(BaseApi):
|
|
1908
1908
|
kwargs["_return_http_data_only"] = True
|
1909
1909
|
return self.update_user_with_http_info(body, **kwargs) # noqa: E501
|
1910
1910
|
|
1911
|
-
@
|
1911
|
+
@validate_call
|
1912
1912
|
def update_user_with_http_info(self, body: V1User, **kwargs): # noqa: E501
|
1913
1913
|
"""Update current user # noqa: E501
|
1914
1914
|
|