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 Dict, 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._schemas.lifecycle import V1Status
|
7
7
|
from polyaxon._sdk.base_api import BaseApi
|
@@ -18,7 +18,7 @@ from traceml.logging import V1Logs
|
|
18
18
|
|
19
19
|
|
20
20
|
class AgentsV1Api(BaseApi):
|
21
|
-
@
|
21
|
+
@validate_call
|
22
22
|
def collect_agent_data(
|
23
23
|
self,
|
24
24
|
namespace: Annotated[StrictStr, Field(..., description="namespace")],
|
@@ -62,7 +62,7 @@ class AgentsV1Api(BaseApi):
|
|
62
62
|
namespace, owner, uuid, **kwargs
|
63
63
|
) # noqa: E501
|
64
64
|
|
65
|
-
@
|
65
|
+
@validate_call
|
66
66
|
def collect_agent_data_with_http_info(
|
67
67
|
self,
|
68
68
|
namespace: Annotated[StrictStr, Field(..., description="namespace")],
|
@@ -189,7 +189,7 @@ class AgentsV1Api(BaseApi):
|
|
189
189
|
_request_auth=_params.get("_request_auth"),
|
190
190
|
)
|
191
191
|
|
192
|
-
@
|
192
|
+
@validate_call
|
193
193
|
def create_agent(
|
194
194
|
self,
|
195
195
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -226,7 +226,7 @@ class AgentsV1Api(BaseApi):
|
|
226
226
|
kwargs["_return_http_data_only"] = True
|
227
227
|
return self.create_agent_with_http_info(owner, body, **kwargs) # noqa: E501
|
228
228
|
|
229
|
-
@
|
229
|
+
@validate_call
|
230
230
|
def create_agent_with_http_info(
|
231
231
|
self,
|
232
232
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -358,7 +358,7 @@ class AgentsV1Api(BaseApi):
|
|
358
358
|
_request_auth=_params.get("_request_auth"),
|
359
359
|
)
|
360
360
|
|
361
|
-
@
|
361
|
+
@validate_call
|
362
362
|
def create_agent_status(
|
363
363
|
self,
|
364
364
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -402,7 +402,7 @@ class AgentsV1Api(BaseApi):
|
|
402
402
|
owner, uuid, body, **kwargs
|
403
403
|
) # noqa: E501
|
404
404
|
|
405
|
-
@
|
405
|
+
@validate_call
|
406
406
|
def create_agent_status_with_http_info(
|
407
407
|
self,
|
408
408
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -541,7 +541,7 @@ class AgentsV1Api(BaseApi):
|
|
541
541
|
_request_auth=_params.get("_request_auth"),
|
542
542
|
)
|
543
543
|
|
544
|
-
@
|
544
|
+
@validate_call
|
545
545
|
def delete_agent(
|
546
546
|
self,
|
547
547
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -588,7 +588,7 @@ class AgentsV1Api(BaseApi):
|
|
588
588
|
owner, uuid, entity, **kwargs
|
589
589
|
) # noqa: E501
|
590
590
|
|
591
|
-
@
|
591
|
+
@validate_call
|
592
592
|
def delete_agent_with_http_info(
|
593
593
|
self,
|
594
594
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -717,7 +717,7 @@ class AgentsV1Api(BaseApi):
|
|
717
717
|
_request_auth=_params.get("_request_auth"),
|
718
718
|
)
|
719
719
|
|
720
|
-
@
|
720
|
+
@validate_call
|
721
721
|
def get_agent(
|
722
722
|
self,
|
723
723
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -764,7 +764,7 @@ class AgentsV1Api(BaseApi):
|
|
764
764
|
owner, uuid, entity, **kwargs
|
765
765
|
) # noqa: E501
|
766
766
|
|
767
|
-
@
|
767
|
+
@validate_call
|
768
768
|
def get_agent_with_http_info(
|
769
769
|
self,
|
770
770
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -898,7 +898,7 @@ class AgentsV1Api(BaseApi):
|
|
898
898
|
_request_auth=_params.get("_request_auth"),
|
899
899
|
)
|
900
900
|
|
901
|
-
@
|
901
|
+
@validate_call
|
902
902
|
def get_agent_config(
|
903
903
|
self,
|
904
904
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -945,7 +945,7 @@ class AgentsV1Api(BaseApi):
|
|
945
945
|
owner, uuid, entity, **kwargs
|
946
946
|
) # noqa: E501
|
947
947
|
|
948
|
-
@
|
948
|
+
@validate_call
|
949
949
|
def get_agent_config_with_http_info(
|
950
950
|
self,
|
951
951
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1079,7 +1079,7 @@ class AgentsV1Api(BaseApi):
|
|
1079
1079
|
_request_auth=_params.get("_request_auth"),
|
1080
1080
|
)
|
1081
1081
|
|
1082
|
-
@
|
1082
|
+
@validate_call
|
1083
1083
|
def get_agent_logs(
|
1084
1084
|
self,
|
1085
1085
|
namespace: Annotated[StrictStr, Field(..., description="namespace")],
|
@@ -1141,7 +1141,7 @@ class AgentsV1Api(BaseApi):
|
|
1141
1141
|
namespace, owner, uuid, service, last_file, force, connection, **kwargs
|
1142
1142
|
) # noqa: E501
|
1143
1143
|
|
1144
|
-
@
|
1144
|
+
@validate_call
|
1145
1145
|
def get_agent_logs_with_http_info(
|
1146
1146
|
self,
|
1147
1147
|
namespace: Annotated[StrictStr, Field(..., description="namespace")],
|
@@ -1303,7 +1303,7 @@ class AgentsV1Api(BaseApi):
|
|
1303
1303
|
_request_auth=_params.get("_request_auth"),
|
1304
1304
|
)
|
1305
1305
|
|
1306
|
-
@
|
1306
|
+
@validate_call
|
1307
1307
|
def get_agent_state(
|
1308
1308
|
self,
|
1309
1309
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1342,7 +1342,7 @@ class AgentsV1Api(BaseApi):
|
|
1342
1342
|
kwargs["_return_http_data_only"] = True
|
1343
1343
|
return self.get_agent_state_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
1344
1344
|
|
1345
|
-
@
|
1345
|
+
@validate_call
|
1346
1346
|
def get_agent_state_with_http_info(
|
1347
1347
|
self,
|
1348
1348
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1468,7 +1468,186 @@ class AgentsV1Api(BaseApi):
|
|
1468
1468
|
_request_auth=_params.get("_request_auth"),
|
1469
1469
|
)
|
1470
1470
|
|
1471
|
-
@
|
1471
|
+
@validate_call
|
1472
|
+
def get_agent_statuses(
|
1473
|
+
self,
|
1474
|
+
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1475
|
+
uuid: Annotated[
|
1476
|
+
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
1477
|
+
],
|
1478
|
+
entity: Annotated[
|
1479
|
+
Optional[StrictStr],
|
1480
|
+
Field(description="Entity: project name, hub name, registry name, ..."),
|
1481
|
+
] = None,
|
1482
|
+
**kwargs
|
1483
|
+
) -> V1Status: # noqa: E501
|
1484
|
+
"""Get Agent statuses # noqa: E501
|
1485
|
+
|
1486
|
+
This method makes a synchronous HTTP request by default. To make an
|
1487
|
+
asynchronous HTTP request, please pass async_req=True
|
1488
|
+
|
1489
|
+
>>> thread = api.get_agent_statuses(owner, uuid, entity, async_req=True)
|
1490
|
+
>>> result = thread.get()
|
1491
|
+
|
1492
|
+
:param owner: Owner of the namespace (required)
|
1493
|
+
:type owner: str
|
1494
|
+
:param uuid: Uuid identifier of the sub-entity (required)
|
1495
|
+
:type uuid: str
|
1496
|
+
:param entity: Entity: project name, hub name, registry name, ...
|
1497
|
+
:type entity: str
|
1498
|
+
:param async_req: Whether to execute the request asynchronously.
|
1499
|
+
:type async_req: bool, optional
|
1500
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1501
|
+
be returned without reading/decoding response
|
1502
|
+
data. Default is True.
|
1503
|
+
:type _preload_content: bool, optional
|
1504
|
+
:param _request_timeout: timeout setting for this request. If one
|
1505
|
+
number provided, it will be total request
|
1506
|
+
timeout. It can also be a pair (tuple) of
|
1507
|
+
(connection, read) timeouts.
|
1508
|
+
:return: Returns the result object.
|
1509
|
+
If the method is called asynchronously,
|
1510
|
+
returns the request thread.
|
1511
|
+
:rtype: V1Status
|
1512
|
+
"""
|
1513
|
+
kwargs["_return_http_data_only"] = True
|
1514
|
+
return self.get_agent_statuses_with_http_info(
|
1515
|
+
owner, uuid, entity, **kwargs
|
1516
|
+
) # noqa: E501
|
1517
|
+
|
1518
|
+
@validate_call
|
1519
|
+
def get_agent_statuses_with_http_info(
|
1520
|
+
self,
|
1521
|
+
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1522
|
+
uuid: Annotated[
|
1523
|
+
StrictStr, Field(..., description="Uuid identifier of the sub-entity")
|
1524
|
+
],
|
1525
|
+
entity: Annotated[
|
1526
|
+
Optional[StrictStr],
|
1527
|
+
Field(description="Entity: project name, hub name, registry name, ..."),
|
1528
|
+
] = None,
|
1529
|
+
**kwargs
|
1530
|
+
): # noqa: E501
|
1531
|
+
"""Get Agent statuses # noqa: E501
|
1532
|
+
|
1533
|
+
This method makes a synchronous HTTP request by default. To make an
|
1534
|
+
asynchronous HTTP request, please pass async_req=True
|
1535
|
+
|
1536
|
+
>>> thread = api.get_agent_statuses_with_http_info(owner, uuid, entity, async_req=True)
|
1537
|
+
>>> result = thread.get()
|
1538
|
+
|
1539
|
+
:param owner: Owner of the namespace (required)
|
1540
|
+
:type owner: str
|
1541
|
+
:param uuid: Uuid identifier of the sub-entity (required)
|
1542
|
+
:type uuid: str
|
1543
|
+
:param entity: Entity: project name, hub name, registry name, ...
|
1544
|
+
:type entity: str
|
1545
|
+
:param async_req: Whether to execute the request asynchronously.
|
1546
|
+
:type async_req: bool, optional
|
1547
|
+
:param _return_http_data_only: response data without head status code
|
1548
|
+
and headers
|
1549
|
+
:type _return_http_data_only: bool, optional
|
1550
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1551
|
+
be returned without reading/decoding response
|
1552
|
+
data. Default is True.
|
1553
|
+
:type _preload_content: bool, optional
|
1554
|
+
:param _request_timeout: timeout setting for this request. If one
|
1555
|
+
number provided, it will be total request
|
1556
|
+
timeout. It can also be a pair (tuple) of
|
1557
|
+
(connection, read) timeouts.
|
1558
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1559
|
+
request; this effectively ignores the authentication
|
1560
|
+
in the spec for a single request.
|
1561
|
+
:type _request_auth: dict, optional
|
1562
|
+
:type _content_type: string, optional: force content-type for the request
|
1563
|
+
:return: Returns the result object.
|
1564
|
+
If the method is called asynchronously,
|
1565
|
+
returns the request thread.
|
1566
|
+
:rtype: tuple(V1Status, status_code(int), headers(HTTPHeaderDict))
|
1567
|
+
"""
|
1568
|
+
|
1569
|
+
_params = locals()
|
1570
|
+
|
1571
|
+
_all_params = ["owner", "uuid", "entity"]
|
1572
|
+
_all_params.extend(
|
1573
|
+
[
|
1574
|
+
"async_req",
|
1575
|
+
"_return_http_data_only",
|
1576
|
+
"_preload_content",
|
1577
|
+
"_request_timeout",
|
1578
|
+
"_request_auth",
|
1579
|
+
"_content_type",
|
1580
|
+
"_headers",
|
1581
|
+
]
|
1582
|
+
)
|
1583
|
+
|
1584
|
+
# validate the arguments
|
1585
|
+
for _key, _val in _params["kwargs"].items():
|
1586
|
+
if _key not in _all_params:
|
1587
|
+
raise ApiTypeError(
|
1588
|
+
"Got an unexpected keyword argument '%s'"
|
1589
|
+
" to method get_agent_statuses" % _key
|
1590
|
+
)
|
1591
|
+
_params[_key] = _val
|
1592
|
+
del _params["kwargs"]
|
1593
|
+
|
1594
|
+
_collection_formats = {}
|
1595
|
+
|
1596
|
+
# process the path parameters
|
1597
|
+
_path_params = {}
|
1598
|
+
if _params["owner"]:
|
1599
|
+
_path_params["owner"] = _params["owner"]
|
1600
|
+
|
1601
|
+
if _params["uuid"]:
|
1602
|
+
_path_params["uuid"] = _params["uuid"]
|
1603
|
+
|
1604
|
+
# process the query parameters
|
1605
|
+
_query_params = []
|
1606
|
+
if _params.get("entity") is not None: # noqa: E501
|
1607
|
+
_query_params.append(("entity", _params["entity"]))
|
1608
|
+
|
1609
|
+
# process the header parameters
|
1610
|
+
_header_params = dict(_params.get("_headers", {}))
|
1611
|
+
# process the form parameters
|
1612
|
+
_form_params = []
|
1613
|
+
_files = {}
|
1614
|
+
# process the body parameter
|
1615
|
+
_body_params = None
|
1616
|
+
# set the HTTP header `Accept`
|
1617
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
1618
|
+
["application/json"]
|
1619
|
+
) # noqa: E501
|
1620
|
+
|
1621
|
+
# authentication setting
|
1622
|
+
_auth_settings = ["ApiKey"] # noqa: E501
|
1623
|
+
|
1624
|
+
_response_types_map = {
|
1625
|
+
"200": "V1Status",
|
1626
|
+
"204": "object",
|
1627
|
+
"403": "object",
|
1628
|
+
"404": "object",
|
1629
|
+
}
|
1630
|
+
|
1631
|
+
return self.api_client.call_api(
|
1632
|
+
"/api/v1/orgs/{owner}/agents/{uuid}/statuses",
|
1633
|
+
"GET",
|
1634
|
+
_path_params,
|
1635
|
+
_query_params,
|
1636
|
+
_header_params,
|
1637
|
+
body=_body_params,
|
1638
|
+
post_params=_form_params,
|
1639
|
+
files=_files,
|
1640
|
+
response_types_map=_response_types_map,
|
1641
|
+
auth_settings=_auth_settings,
|
1642
|
+
async_req=_params.get("async_req"),
|
1643
|
+
_return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
|
1644
|
+
_preload_content=_params.get("_preload_content", True),
|
1645
|
+
_request_timeout=_params.get("_request_timeout"),
|
1646
|
+
collection_formats=_collection_formats,
|
1647
|
+
_request_auth=_params.get("_request_auth"),
|
1648
|
+
)
|
1649
|
+
|
1650
|
+
@validate_call
|
1472
1651
|
def get_agent_token(
|
1473
1652
|
self,
|
1474
1653
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1507,7 +1686,7 @@ class AgentsV1Api(BaseApi):
|
|
1507
1686
|
kwargs["_return_http_data_only"] = True
|
1508
1687
|
return self.get_agent_token_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
1509
1688
|
|
1510
|
-
@
|
1689
|
+
@validate_call
|
1511
1690
|
def get_agent_token_with_http_info(
|
1512
1691
|
self,
|
1513
1692
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1633,7 +1812,7 @@ class AgentsV1Api(BaseApi):
|
|
1633
1812
|
_request_auth=_params.get("_request_auth"),
|
1634
1813
|
)
|
1635
1814
|
|
1636
|
-
@
|
1815
|
+
@validate_call
|
1637
1816
|
def get_global_state(
|
1638
1817
|
self,
|
1639
1818
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1667,7 +1846,7 @@ class AgentsV1Api(BaseApi):
|
|
1667
1846
|
kwargs["_return_http_data_only"] = True
|
1668
1847
|
return self.get_global_state_with_http_info(owner, **kwargs) # noqa: E501
|
1669
1848
|
|
1670
|
-
@
|
1849
|
+
@validate_call
|
1671
1850
|
def get_global_state_with_http_info(
|
1672
1851
|
self,
|
1673
1852
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1782,7 +1961,7 @@ class AgentsV1Api(BaseApi):
|
|
1782
1961
|
_request_auth=_params.get("_request_auth"),
|
1783
1962
|
)
|
1784
1963
|
|
1785
|
-
@
|
1964
|
+
@validate_call
|
1786
1965
|
def inspect_agent(
|
1787
1966
|
self,
|
1788
1967
|
namespace: Annotated[StrictStr, Field(..., description="namespace")],
|
@@ -1844,7 +2023,7 @@ class AgentsV1Api(BaseApi):
|
|
1844
2023
|
namespace, owner, uuid, service, last_file, force, connection, **kwargs
|
1845
2024
|
) # noqa: E501
|
1846
2025
|
|
1847
|
-
@
|
2026
|
+
@validate_call
|
1848
2027
|
def inspect_agent_with_http_info(
|
1849
2028
|
self,
|
1850
2029
|
namespace: Annotated[StrictStr, Field(..., description="namespace")],
|
@@ -2006,7 +2185,7 @@ class AgentsV1Api(BaseApi):
|
|
2006
2185
|
_request_auth=_params.get("_request_auth"),
|
2007
2186
|
)
|
2008
2187
|
|
2009
|
-
@
|
2188
|
+
@validate_call
|
2010
2189
|
def list_agent_names(
|
2011
2190
|
self,
|
2012
2191
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2073,7 +2252,7 @@ class AgentsV1Api(BaseApi):
|
|
2073
2252
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
2074
2253
|
) # noqa: E501
|
2075
2254
|
|
2076
|
-
@
|
2255
|
+
@validate_call
|
2077
2256
|
def list_agent_names_with_http_info(
|
2078
2257
|
self,
|
2079
2258
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2246,7 +2425,7 @@ class AgentsV1Api(BaseApi):
|
|
2246
2425
|
_request_auth=_params.get("_request_auth"),
|
2247
2426
|
)
|
2248
2427
|
|
2249
|
-
@
|
2428
|
+
@validate_call
|
2250
2429
|
def list_agents(
|
2251
2430
|
self,
|
2252
2431
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2313,7 +2492,7 @@ class AgentsV1Api(BaseApi):
|
|
2313
2492
|
owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
|
2314
2493
|
) # noqa: E501
|
2315
2494
|
|
2316
|
-
@
|
2495
|
+
@validate_call
|
2317
2496
|
def list_agents_with_http_info(
|
2318
2497
|
self,
|
2319
2498
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2486,7 +2665,7 @@ class AgentsV1Api(BaseApi):
|
|
2486
2665
|
_request_auth=_params.get("_request_auth"),
|
2487
2666
|
)
|
2488
2667
|
|
2489
|
-
@
|
2668
|
+
@validate_call
|
2490
2669
|
def patch_agent(
|
2491
2670
|
self,
|
2492
2671
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2528,7 +2707,7 @@ class AgentsV1Api(BaseApi):
|
|
2528
2707
|
owner, agent_uuid, body, **kwargs
|
2529
2708
|
) # noqa: E501
|
2530
2709
|
|
2531
|
-
@
|
2710
|
+
@validate_call
|
2532
2711
|
def patch_agent_with_http_info(
|
2533
2712
|
self,
|
2534
2713
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2665,7 +2844,7 @@ class AgentsV1Api(BaseApi):
|
|
2665
2844
|
_request_auth=_params.get("_request_auth"),
|
2666
2845
|
)
|
2667
2846
|
|
2668
|
-
@
|
2847
|
+
@validate_call
|
2669
2848
|
def patch_agent_token(
|
2670
2849
|
self,
|
2671
2850
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2707,7 +2886,7 @@ class AgentsV1Api(BaseApi):
|
|
2707
2886
|
owner, entity, body, **kwargs
|
2708
2887
|
) # noqa: E501
|
2709
2888
|
|
2710
|
-
@
|
2889
|
+
@validate_call
|
2711
2890
|
def patch_agent_token_with_http_info(
|
2712
2891
|
self,
|
2713
2892
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2844,7 +3023,7 @@ class AgentsV1Api(BaseApi):
|
|
2844
3023
|
_request_auth=_params.get("_request_auth"),
|
2845
3024
|
)
|
2846
3025
|
|
2847
|
-
@
|
3026
|
+
@validate_call
|
2848
3027
|
def reconcile_agent(
|
2849
3028
|
self,
|
2850
3029
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -2888,7 +3067,7 @@ class AgentsV1Api(BaseApi):
|
|
2888
3067
|
owner, uuid, body, **kwargs
|
2889
3068
|
) # noqa: E501
|
2890
3069
|
|
2891
|
-
@
|
3070
|
+
@validate_call
|
2892
3071
|
def reconcile_agent_with_http_info(
|
2893
3072
|
self,
|
2894
3073
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3024,7 +3203,7 @@ class AgentsV1Api(BaseApi):
|
|
3024
3203
|
_request_auth=_params.get("_request_auth"),
|
3025
3204
|
)
|
3026
3205
|
|
3027
|
-
@
|
3206
|
+
@validate_call
|
3028
3207
|
def sync_agent(
|
3029
3208
|
self,
|
3030
3209
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3066,7 +3245,7 @@ class AgentsV1Api(BaseApi):
|
|
3066
3245
|
owner, agent_uuid, body, **kwargs
|
3067
3246
|
) # noqa: E501
|
3068
3247
|
|
3069
|
-
@
|
3248
|
+
@validate_call
|
3070
3249
|
def sync_agent_with_http_info(
|
3071
3250
|
self,
|
3072
3251
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3198,7 +3377,7 @@ class AgentsV1Api(BaseApi):
|
|
3198
3377
|
_request_auth=_params.get("_request_auth"),
|
3199
3378
|
)
|
3200
3379
|
|
3201
|
-
@
|
3380
|
+
@validate_call
|
3202
3381
|
def cron_agent(
|
3203
3382
|
self,
|
3204
3383
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3235,7 +3414,7 @@ class AgentsV1Api(BaseApi):
|
|
3235
3414
|
kwargs["_return_http_data_only"] = True
|
3236
3415
|
return self.cron_agent_with_http_info(owner, body, **kwargs) # noqa: E501
|
3237
3416
|
|
3238
|
-
@
|
3417
|
+
@validate_call
|
3239
3418
|
def cron_agent_with_http_info(
|
3240
3419
|
self,
|
3241
3420
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3363,7 +3542,7 @@ class AgentsV1Api(BaseApi):
|
|
3363
3542
|
_request_auth=_params.get("_request_auth"),
|
3364
3543
|
)
|
3365
3544
|
|
3366
|
-
@
|
3545
|
+
@validate_call
|
3367
3546
|
def update_agent(
|
3368
3547
|
self,
|
3369
3548
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3405,7 +3584,7 @@ class AgentsV1Api(BaseApi):
|
|
3405
3584
|
owner, agent_uuid, body, **kwargs
|
3406
3585
|
) # noqa: E501
|
3407
3586
|
|
3408
|
-
@
|
3587
|
+
@validate_call
|
3409
3588
|
def update_agent_with_http_info(
|
3410
3589
|
self,
|
3411
3590
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3542,7 +3721,7 @@ class AgentsV1Api(BaseApi):
|
|
3542
3721
|
_request_auth=_params.get("_request_auth"),
|
3543
3722
|
)
|
3544
3723
|
|
3545
|
-
@
|
3724
|
+
@validate_call
|
3546
3725
|
def update_agent_config(
|
3547
3726
|
self,
|
3548
3727
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3584,7 +3763,7 @@ class AgentsV1Api(BaseApi):
|
|
3584
3763
|
owner, agent_uuid, body, **kwargs
|
3585
3764
|
) # noqa: E501
|
3586
3765
|
|
3587
|
-
@
|
3766
|
+
@validate_call
|
3588
3767
|
def update_agent_config_with_http_info(
|
3589
3768
|
self,
|
3590
3769
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3721,7 +3900,7 @@ class AgentsV1Api(BaseApi):
|
|
3721
3900
|
_request_auth=_params.get("_request_auth"),
|
3722
3901
|
)
|
3723
3902
|
|
3724
|
-
@
|
3903
|
+
@validate_call
|
3725
3904
|
def update_agent_token(
|
3726
3905
|
self,
|
3727
3906
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -3763,7 +3942,7 @@ class AgentsV1Api(BaseApi):
|
|
3763
3942
|
owner, entity, body, **kwargs
|
3764
3943
|
) # noqa: E501
|
3765
3944
|
|
3766
|
-
@
|
3945
|
+
@validate_call
|
3767
3946
|
def update_agent_token_with_http_info(
|
3768
3947
|
self,
|
3769
3948
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -1,14 +1,14 @@
|
|
1
1
|
from typing import Optional
|
2
2
|
from typing_extensions import Annotated
|
3
3
|
|
4
|
-
from clipped.compact.pydantic import Field, StrictStr,
|
4
|
+
from clipped.compact.pydantic import Field, StrictStr, validate_call
|
5
5
|
|
6
6
|
from polyaxon._sdk.base_api import BaseApi
|
7
7
|
from polyaxon.exceptions import ApiTypeError
|
8
8
|
|
9
9
|
|
10
10
|
class ArtifactsStoresV1Api(BaseApi):
|
11
|
-
@
|
11
|
+
@validate_call
|
12
12
|
def upload_artifact(
|
13
13
|
self,
|
14
14
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
@@ -62,7 +62,7 @@ class ArtifactsStoresV1Api(BaseApi):
|
|
62
62
|
owner, uuid, uploadfile, path, overwrite, **kwargs
|
63
63
|
)
|
64
64
|
|
65
|
-
@
|
65
|
+
@validate_call
|
66
66
|
def upload_artifact_with_http_info(
|
67
67
|
self,
|
68
68
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
polyaxon/_sdk/api/auth_v1_api.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
from clipped.compact.pydantic import
|
1
|
+
from clipped.compact.pydantic import validate_call
|
2
2
|
|
3
3
|
from polyaxon._schemas.authentication import V1Credentials
|
4
4
|
from polyaxon._sdk.base_api import BaseApi
|
@@ -11,7 +11,7 @@ from polyaxon.exceptions import ApiTypeError
|
|
11
11
|
|
12
12
|
|
13
13
|
class AuthV1Api(BaseApi):
|
14
|
-
@
|
14
|
+
@validate_call
|
15
15
|
def change_password(self, body: V1PasswordChange, **kwargs) -> None:
|
16
16
|
"""Change password
|
17
17
|
|
@@ -41,7 +41,7 @@ class AuthV1Api(BaseApi):
|
|
41
41
|
kwargs["_return_http_data_only"] = True
|
42
42
|
return self.change_password_with_http_info(body, **kwargs)
|
43
43
|
|
44
|
-
@
|
44
|
+
@validate_call
|
45
45
|
def change_password_with_http_info(self, body: V1PasswordChange, **kwargs):
|
46
46
|
"""Change password
|
47
47
|
|
@@ -159,7 +159,7 @@ class AuthV1Api(BaseApi):
|
|
159
159
|
_request_auth=_params.get("_request_auth"),
|
160
160
|
)
|
161
161
|
|
162
|
-
@
|
162
|
+
@validate_call
|
163
163
|
def login(self, body: V1Credentials, **kwargs) -> V1Auth: # noqa: E501
|
164
164
|
"""Login # noqa: E501
|
165
165
|
|
@@ -189,7 +189,7 @@ class AuthV1Api(BaseApi):
|
|
189
189
|
kwargs["_return_http_data_only"] = True
|
190
190
|
return self.login_with_http_info(body, **kwargs) # noqa: E501
|
191
191
|
|
192
|
-
@
|
192
|
+
@validate_call
|
193
193
|
def login_with_http_info(self, body: V1Credentials, **kwargs): # noqa: E501
|
194
194
|
"""Login # noqa: E501
|
195
195
|
|
@@ -311,7 +311,7 @@ class AuthV1Api(BaseApi):
|
|
311
311
|
_request_auth=_params.get("_request_auth"),
|
312
312
|
)
|
313
313
|
|
314
|
-
@
|
314
|
+
@validate_call
|
315
315
|
def reset_password(self, body: V1UserEmail, **kwargs) -> None: # noqa: E501
|
316
316
|
"""Reset password # noqa: E501
|
317
317
|
|
@@ -341,7 +341,7 @@ class AuthV1Api(BaseApi):
|
|
341
341
|
kwargs["_return_http_data_only"] = True
|
342
342
|
return self.reset_password_with_http_info(body, **kwargs) # noqa: E501
|
343
343
|
|
344
|
-
@
|
344
|
+
@validate_call
|
345
345
|
def reset_password_with_http_info(self, body: V1UserEmail, **kwargs): # noqa: E501
|
346
346
|
"""Reset password # noqa: E501
|
347
347
|
|
@@ -459,7 +459,7 @@ class AuthV1Api(BaseApi):
|
|
459
459
|
_request_auth=_params.get("_request_auth"),
|
460
460
|
)
|
461
461
|
|
462
|
-
@
|
462
|
+
@validate_call
|
463
463
|
def reset_password_confirm(
|
464
464
|
self, body: V1PasswordChange, **kwargs
|
465
465
|
) -> V1Auth: # noqa: E501
|
@@ -491,7 +491,7 @@ class AuthV1Api(BaseApi):
|
|
491
491
|
kwargs["_return_http_data_only"] = True
|
492
492
|
return self.reset_password_confirm_with_http_info(body, **kwargs) # noqa: E501
|
493
493
|
|
494
|
-
@
|
494
|
+
@validate_call
|
495
495
|
def reset_password_confirm_with_http_info(
|
496
496
|
self, body: V1PasswordChange, **kwargs
|
497
497
|
): # noqa: E501
|
@@ -616,7 +616,7 @@ class AuthV1Api(BaseApi):
|
|
616
616
|
_request_auth=_params.get("_request_auth"),
|
617
617
|
)
|
618
618
|
|
619
|
-
@
|
619
|
+
@validate_call
|
620
620
|
def signup(self, body: V1UserSingup, **kwargs) -> V1Auth: # noqa: E501
|
621
621
|
"""Signup # noqa: E501
|
622
622
|
|
@@ -646,7 +646,7 @@ class AuthV1Api(BaseApi):
|
|
646
646
|
kwargs["_return_http_data_only"] = True
|
647
647
|
return self.signup_with_http_info(body, **kwargs) # noqa: E501
|
648
648
|
|
649
|
-
@
|
649
|
+
@validate_call
|
650
650
|
def signup_with_http_info(self, body: V1UserSingup, **kwargs): # noqa: E501
|
651
651
|
"""Signup # noqa: E501
|
652
652
|
|
@@ -768,7 +768,7 @@ class AuthV1Api(BaseApi):
|
|
768
768
|
_request_auth=_params.get("_request_auth"),
|
769
769
|
)
|
770
770
|
|
771
|
-
@
|
771
|
+
@validate_call
|
772
772
|
def trial(self, body: V1TrialStart, **kwargs) -> None: # noqa: E501
|
773
773
|
"""Trial Start # noqa: E501
|
774
774
|
|
@@ -798,7 +798,7 @@ class AuthV1Api(BaseApi):
|
|
798
798
|
kwargs["_return_http_data_only"] = True
|
799
799
|
return self.trial_with_http_info(body, **kwargs) # noqa: E501
|
800
800
|
|
801
|
-
@
|
801
|
+
@validate_call
|
802
802
|
def trial_with_http_info(self, body: V1TrialStart, **kwargs): # noqa: E501
|
803
803
|
"""Trial Start # noqa: E501
|
804
804
|
|