polyaxon-sdk 2.1.0rc7__py2.py3-none-any.whl → 2.1.0rc9__py2.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_sdk/__init__.py +3 -2
- polyaxon_sdk/api/agents_v1_api.py +175 -10
- polyaxon_sdk/api/artifacts_stores_v1_api.py +1 -1
- polyaxon_sdk/api/auth_v1_api.py +1 -1
- polyaxon_sdk/api/connections_v1_api.py +1 -1
- polyaxon_sdk/api/dashboards_v1_api.py +1 -1
- polyaxon_sdk/api/organizations_v1_api.py +1 -1
- polyaxon_sdk/api/presets_v1_api.py +1 -1
- polyaxon_sdk/api/project_dashboards_v1_api.py +1 -1
- polyaxon_sdk/api/project_searches_v1_api.py +1 -1
- polyaxon_sdk/api/projects_v1_api.py +1 -1
- polyaxon_sdk/api/queues_v1_api.py +1 -1
- polyaxon_sdk/api/runs_v1_api.py +1 -1
- polyaxon_sdk/api/schemas_v1_api.py +1 -1
- polyaxon_sdk/api/searches_v1_api.py +1 -1
- polyaxon_sdk/api/service_accounts_v1_api.py +13 -13
- polyaxon_sdk/api/tags_v1_api.py +1 -1
- polyaxon_sdk/api/teams_v1_api.py +1 -1
- polyaxon_sdk/api/users_v1_api.py +1 -1
- polyaxon_sdk/api/versions_v1_api.py +1 -1
- polyaxon_sdk/api_client.py +2 -2
- polyaxon_sdk/configuration.py +3 -3
- polyaxon_sdk/exceptions.py +1 -1
- polyaxon_sdk/models/__init__.py +2 -1
- polyaxon_sdk/models/agent_state_response_agent_state.py +1 -1
- polyaxon_sdk/models/mx_job_mode.py +1 -1
- polyaxon_sdk/models/protobuf_any.py +1 -1
- polyaxon_sdk/models/protobuf_null_value.py +1 -1
- polyaxon_sdk/models/runtime_error.py +1 -1
- polyaxon_sdk/models/search_view.py +1 -1
- polyaxon_sdk/models/v1_activity.py +1 -1
- polyaxon_sdk/models/v1_agent.py +1 -1
- polyaxon_sdk/models/v1_agent_reconcile_body_request.py +75 -0
- polyaxon_sdk/models/v1_agent_state_response.py +1 -1
- polyaxon_sdk/models/v1_agent_status_body_request.py +1 -1
- polyaxon_sdk/models/v1_analytics_spec.py +1 -1
- polyaxon_sdk/models/v1_artifact_kind.py +1 -1
- polyaxon_sdk/models/v1_artifact_tree.py +1 -1
- polyaxon_sdk/models/v1_artifacts_mount.py +1 -1
- polyaxon_sdk/models/v1_artifacts_type.py +1 -1
- polyaxon_sdk/models/v1_auth.py +1 -1
- polyaxon_sdk/models/v1_auth_type.py +1 -1
- polyaxon_sdk/models/v1_average_stopping_policy.py +1 -1
- polyaxon_sdk/models/v1_bayes.py +1 -1
- polyaxon_sdk/models/v1_bucket_connection.py +1 -1
- polyaxon_sdk/models/v1_build.py +1 -1
- polyaxon_sdk/models/v1_cache.py +1 -1
- polyaxon_sdk/models/v1_claim_connection.py +1 -1
- polyaxon_sdk/models/v1_clean_pod_policy.py +1 -1
- polyaxon_sdk/models/v1_cloning.py +1 -1
- polyaxon_sdk/models/v1_cloning_kind.py +1 -1
- polyaxon_sdk/models/v1_compatibility.py +1 -1
- polyaxon_sdk/models/v1_compiled_operation.py +1 -1
- polyaxon_sdk/models/v1_component.py +1 -1
- polyaxon_sdk/models/v1_connection_kind.py +1 -1
- polyaxon_sdk/models/v1_connection_resource.py +1 -1
- polyaxon_sdk/models/v1_connection_response.py +1 -1
- polyaxon_sdk/models/v1_connection_schema.py +1 -1
- polyaxon_sdk/models/v1_connection_type.py +1 -1
- polyaxon_sdk/models/v1_credentials.py +1 -1
- polyaxon_sdk/models/v1_cron_schedule.py +1 -1
- polyaxon_sdk/models/v1_dag.py +1 -1
- polyaxon_sdk/models/v1_dag_ref.py +1 -1
- polyaxon_sdk/models/v1_dashboard.py +1 -1
- polyaxon_sdk/models/v1_dashboard_spec.py +1 -1
- polyaxon_sdk/models/v1_dask_job.py +1 -1
- polyaxon_sdk/models/v1_dask_replica.py +1 -1
- polyaxon_sdk/models/v1_date_time_schedule.py +1 -1
- polyaxon_sdk/models/v1_diff_stopping_policy.py +1 -1
- polyaxon_sdk/models/v1_dockerfile_type.py +1 -1
- polyaxon_sdk/models/v1_early_stopping.py +1 -1
- polyaxon_sdk/models/v1_entities_tags.py +1 -1
- polyaxon_sdk/models/v1_entities_transfer.py +1 -1
- polyaxon_sdk/models/v1_entity_notification_body.py +1 -1
- polyaxon_sdk/models/v1_entity_stage_body_request.py +1 -1
- polyaxon_sdk/models/v1_entity_status_body_request.py +1 -1
- polyaxon_sdk/models/v1_environment.py +1 -1
- polyaxon_sdk/models/v1_event.py +1 -1
- polyaxon_sdk/models/v1_event_artifact.py +1 -1
- polyaxon_sdk/models/v1_event_audio.py +1 -1
- polyaxon_sdk/models/v1_event_chart.py +1 -1
- polyaxon_sdk/models/v1_event_chart_kind.py +1 -1
- polyaxon_sdk/models/v1_event_confusion_matrix.py +1 -1
- polyaxon_sdk/models/v1_event_curve.py +1 -1
- polyaxon_sdk/models/v1_event_curve_kind.py +1 -1
- polyaxon_sdk/models/v1_event_dataframe.py +1 -1
- polyaxon_sdk/models/v1_event_histogram.py +1 -1
- polyaxon_sdk/models/v1_event_image.py +1 -1
- polyaxon_sdk/models/v1_event_kind.py +1 -1
- polyaxon_sdk/models/v1_event_model.py +1 -1
- polyaxon_sdk/models/v1_event_span.py +1 -1
- polyaxon_sdk/models/v1_event_span_kind.py +1 -1
- polyaxon_sdk/models/v1_event_trigger.py +1 -1
- polyaxon_sdk/models/v1_event_type.py +1 -1
- polyaxon_sdk/models/v1_event_video.py +1 -1
- polyaxon_sdk/models/v1_events_response.py +1 -1
- polyaxon_sdk/models/v1_failure_early_stopping.py +1 -1
- polyaxon_sdk/models/v1_file_type.py +1 -1
- polyaxon_sdk/models/v1_gcs_type.py +1 -1
- polyaxon_sdk/models/v1_git_connection.py +1 -1
- polyaxon_sdk/models/v1_git_type.py +1 -1
- polyaxon_sdk/models/v1_grid_search.py +1 -1
- polyaxon_sdk/models/v1_hook.py +1 -1
- polyaxon_sdk/models/v1_host_connection.py +1 -1
- polyaxon_sdk/models/v1_host_path_connection.py +1 -1
- polyaxon_sdk/models/v1_hp_choice.py +1 -1
- polyaxon_sdk/models/v1_hp_date_range.py +1 -1
- polyaxon_sdk/models/v1_hp_date_time_range.py +1 -1
- polyaxon_sdk/models/v1_hp_geom_space.py +1 -1
- polyaxon_sdk/models/v1_hp_lin_space.py +1 -1
- polyaxon_sdk/models/v1_hp_log_normal.py +1 -1
- polyaxon_sdk/models/v1_hp_log_space.py +1 -1
- polyaxon_sdk/models/v1_hp_log_uniform.py +1 -1
- polyaxon_sdk/models/v1_hp_normal.py +1 -1
- polyaxon_sdk/models/v1_hp_p_choice.py +1 -1
- polyaxon_sdk/models/v1_hp_params.py +1 -1
- polyaxon_sdk/models/v1_hp_q_log_normal.py +1 -1
- polyaxon_sdk/models/v1_hp_q_log_uniform.py +1 -1
- polyaxon_sdk/models/v1_hp_q_normal.py +1 -1
- polyaxon_sdk/models/v1_hp_q_uniform.py +1 -1
- polyaxon_sdk/models/v1_hp_range.py +1 -1
- polyaxon_sdk/models/v1_hp_uniform.py +1 -1
- polyaxon_sdk/models/v1_hub_ref.py +1 -1
- polyaxon_sdk/models/v1_hyperband.py +1 -1
- polyaxon_sdk/models/v1_hyperopt.py +1 -1
- polyaxon_sdk/models/v1_hyperopt_algorithms.py +1 -1
- polyaxon_sdk/models/v1_init.py +1 -1
- polyaxon_sdk/models/v1_installation.py +1 -1
- polyaxon_sdk/models/v1_interval_schedule.py +1 -1
- polyaxon_sdk/models/v1_io.py +1 -1
- polyaxon_sdk/models/v1_iterative.py +1 -1
- polyaxon_sdk/models/v1_job.py +1 -1
- polyaxon_sdk/models/v1_join.py +1 -1
- polyaxon_sdk/models/v1_join_param.py +1 -1
- polyaxon_sdk/models/v1_kf_replica.py +1 -1
- polyaxon_sdk/models/v1_list_activities_response.py +1 -1
- polyaxon_sdk/models/v1_list_agents_response.py +1 -1
- polyaxon_sdk/models/v1_list_bookmarks_response.py +1 -1
- polyaxon_sdk/models/v1_list_connections_response.py +1 -1
- polyaxon_sdk/models/v1_list_dashboards_response.py +1 -1
- polyaxon_sdk/models/v1_list_organization_members_response.py +1 -1
- polyaxon_sdk/models/v1_list_organizations_response.py +1 -1
- polyaxon_sdk/models/v1_list_presets_response.py +1 -1
- polyaxon_sdk/models/v1_list_project_versions_response.py +1 -1
- polyaxon_sdk/models/v1_list_projects_response.py +1 -1
- polyaxon_sdk/models/v1_list_queues_response.py +1 -1
- polyaxon_sdk/models/v1_list_run_artifacts_response.py +1 -1
- polyaxon_sdk/models/v1_list_run_connections_response.py +1 -1
- polyaxon_sdk/models/v1_list_run_edges_response.py +1 -1
- polyaxon_sdk/models/v1_list_runs_response.py +1 -1
- polyaxon_sdk/models/v1_list_searches_response.py +1 -1
- polyaxon_sdk/models/v1_list_service_accounts_response.py +1 -1
- polyaxon_sdk/models/v1_list_tags_response.py +1 -1
- polyaxon_sdk/models/v1_list_team_members_response.py +1 -1
- polyaxon_sdk/models/v1_list_teams_response.py +1 -1
- polyaxon_sdk/models/v1_list_token_response.py +1 -1
- polyaxon_sdk/models/v1_log.py +1 -1
- polyaxon_sdk/models/v1_log_handler.py +1 -1
- polyaxon_sdk/models/v1_logs.py +1 -1
- polyaxon_sdk/models/v1_managed_by.py +1 -1
- polyaxon_sdk/models/v1_mapping.py +1 -1
- polyaxon_sdk/models/v1_matrix.py +1 -1
- polyaxon_sdk/models/v1_matrix_kind.py +1 -1
- polyaxon_sdk/models/v1_median_stopping_policy.py +1 -1
- polyaxon_sdk/models/v1_metric_early_stopping.py +1 -1
- polyaxon_sdk/models/v1_mpi_job.py +1 -1
- polyaxon_sdk/models/v1_multi_events_response.py +1 -1
- polyaxon_sdk/models/v1_mx_job.py +1 -1
- polyaxon_sdk/models/v1_notification.py +1 -1
- polyaxon_sdk/models/v1_operation.py +1 -1
- polyaxon_sdk/models/v1_operation_body.py +1 -1
- polyaxon_sdk/models/v1_optimization.py +1 -1
- polyaxon_sdk/models/v1_optimization_metric.py +1 -1
- polyaxon_sdk/models/v1_optimization_resource.py +1 -1
- polyaxon_sdk/models/v1_organization.py +1 -1
- polyaxon_sdk/models/v1_organization_member.py +1 -1
- polyaxon_sdk/models/v1_paddle_elastic_polic.py +1 -1
- polyaxon_sdk/models/v1_paddle_job.py +1 -1
- polyaxon_sdk/models/v1_param.py +1 -1
- polyaxon_sdk/models/v1_password_change.py +1 -1
- polyaxon_sdk/models/v1_patch_strategy.py +1 -1
- polyaxon_sdk/models/v1_path_ref.py +1 -1
- polyaxon_sdk/models/v1_pipeline.py +1 -1
- polyaxon_sdk/models/v1_pipeline_kind.py +1 -1
- polyaxon_sdk/models/v1_plugins.py +1 -1
- polyaxon_sdk/models/v1_polyaxon_init_container.py +1 -1
- polyaxon_sdk/models/v1_polyaxon_sidecar_container.py +1 -1
- polyaxon_sdk/models/v1_preset.py +1 -1
- polyaxon_sdk/models/v1_project.py +1 -1
- polyaxon_sdk/models/v1_project_settings.py +1 -1
- polyaxon_sdk/models/v1_project_user_access.py +1 -1
- polyaxon_sdk/models/v1_project_version.py +1 -1
- polyaxon_sdk/models/v1_project_version_kind.py +1 -1
- polyaxon_sdk/models/v1_pytorch_elastic_policy.py +1 -1
- polyaxon_sdk/models/v1_pytorch_job.py +1 -1
- polyaxon_sdk/models/v1_queue.py +1 -1
- polyaxon_sdk/models/v1_random_search.py +1 -1
- polyaxon_sdk/models/v1_ray_job.py +1 -1
- polyaxon_sdk/models/v1_ray_replica.py +1 -1
- polyaxon_sdk/models/v1_reference.py +1 -1
- polyaxon_sdk/models/v1_resource_type.py +1 -1
- polyaxon_sdk/models/v1_run.py +1 -1
- polyaxon_sdk/models/v1_run_artifact.py +1 -1
- polyaxon_sdk/models/v1_run_artifacts.py +1 -1
- polyaxon_sdk/models/v1_run_connection.py +1 -1
- polyaxon_sdk/models/v1_run_edge.py +1 -1
- polyaxon_sdk/models/v1_run_edge_kind.py +1 -1
- polyaxon_sdk/models/v1_run_edge_lineage.py +1 -1
- polyaxon_sdk/models/v1_run_edges_graph.py +1 -1
- polyaxon_sdk/models/v1_run_kind.py +1 -1
- polyaxon_sdk/models/v1_run_pending.py +1 -1
- polyaxon_sdk/models/v1_run_reference_catalog.py +1 -1
- polyaxon_sdk/models/v1_run_resources.py +1 -1
- polyaxon_sdk/models/v1_run_schema.py +1 -1
- polyaxon_sdk/models/v1_run_settings.py +1 -1
- polyaxon_sdk/models/v1_s3_type.py +1 -1
- polyaxon_sdk/models/v1_schedule.py +1 -1
- polyaxon_sdk/models/v1_schedule_kind.py +1 -1
- polyaxon_sdk/models/v1_scheduling_policy.py +1 -1
- polyaxon_sdk/models/v1_schemas.py +1 -1
- polyaxon_sdk/models/v1_search.py +1 -1
- polyaxon_sdk/models/v1_search_spec.py +1 -1
- polyaxon_sdk/models/v1_section_spec.py +1 -1
- polyaxon_sdk/models/v1_service.py +1 -1
- polyaxon_sdk/models/v1_service_account.py +1 -1
- polyaxon_sdk/models/v1_settings_catalog.py +1 -1
- polyaxon_sdk/models/v1_stage.py +1 -1
- polyaxon_sdk/models/v1_stage_condition.py +1 -1
- polyaxon_sdk/models/v1_stages.py +1 -1
- polyaxon_sdk/models/v1_status.py +1 -1
- polyaxon_sdk/models/v1_status_condition.py +1 -1
- polyaxon_sdk/models/v1_statuses.py +1 -1
- polyaxon_sdk/models/v1_tag.py +1 -1
- polyaxon_sdk/models/v1_team.py +1 -1
- polyaxon_sdk/models/v1_team_member.py +1 -1
- polyaxon_sdk/models/v1_team_settings.py +1 -1
- polyaxon_sdk/models/v1_template.py +1 -1
- polyaxon_sdk/models/v1_tensorboard_type.py +1 -1
- polyaxon_sdk/models/v1_termination.py +1 -1
- polyaxon_sdk/models/v1_tf_job.py +1 -1
- polyaxon_sdk/models/v1_token.py +1 -1
- polyaxon_sdk/models/v1_trial_start.py +1 -1
- polyaxon_sdk/models/v1_trigger_policy.py +1 -1
- polyaxon_sdk/models/v1_truncation_stopping_policy.py +1 -1
- polyaxon_sdk/models/v1_tuner.py +1 -1
- polyaxon_sdk/models/v1_uri_type.py +1 -1
- polyaxon_sdk/models/v1_url_ref.py +1 -1
- polyaxon_sdk/models/v1_user.py +1 -1
- polyaxon_sdk/models/v1_user_email.py +1 -1
- polyaxon_sdk/models/v1_user_singup.py +1 -1
- polyaxon_sdk/models/v1_uuids.py +1 -1
- polyaxon_sdk/models/v1_validation.py +1 -1
- polyaxon_sdk/models/v1_version.py +1 -1
- polyaxon_sdk/models/v1_wasb_type.py +1 -1
- polyaxon_sdk/models/v1_xg_boost_job.py +1 -1
- polyaxon_sdk/rest.py +1 -1
- {polyaxon_sdk-2.1.0rc7.dist-info → polyaxon_sdk-2.1.0rc9.dist-info}/METADATA +1 -1
- polyaxon_sdk-2.1.0rc9.dist-info/RECORD +261 -0
- polyaxon_sdk-2.1.0rc7.dist-info/RECORD +0 -260
- {polyaxon_sdk-2.1.0rc7.dist-info → polyaxon_sdk-2.1.0rc9.dist-info}/WHEEL +0 -0
- {polyaxon_sdk-2.1.0rc7.dist-info → polyaxon_sdk-2.1.0rc9.dist-info}/top_level.txt +0 -0
polyaxon_sdk/__init__.py
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
# noqa: E501
|
9
9
|
|
10
|
-
The version of the OpenAPI document: 2.1.0-
|
10
|
+
The version of the OpenAPI document: 2.1.0-rc9
|
11
11
|
Contact: contact@polyaxon.com
|
12
12
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
13
13
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"""
|
16
16
|
|
17
17
|
|
18
|
-
__version__ = "2.1.0-
|
18
|
+
__version__ = "2.1.0-rc9"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from polyaxon_sdk.api.agents_v1_api import AgentsV1Api
|
@@ -56,6 +56,7 @@ from polyaxon_sdk.models.runtime_error import RuntimeError
|
|
56
56
|
from polyaxon_sdk.models.search_view import SearchView
|
57
57
|
from polyaxon_sdk.models.v1_activity import V1Activity
|
58
58
|
from polyaxon_sdk.models.v1_agent import V1Agent
|
59
|
+
from polyaxon_sdk.models.v1_agent_reconcile_body_request import V1AgentReconcileBodyRequest
|
59
60
|
from polyaxon_sdk.models.v1_agent_state_response import V1AgentStateResponse
|
60
61
|
from polyaxon_sdk.models.v1_agent_status_body_request import V1AgentStatusBodyRequest
|
61
62
|
from polyaxon_sdk.models.v1_analytics_spec import V1AnalyticsSpec
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.1.0-
|
8
|
+
The version of the OpenAPI document: 2.1.0-rc9
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -23,6 +23,7 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr
|
|
23
23
|
from typing import Any, Dict, Optional
|
24
24
|
|
25
25
|
from polyaxon_sdk.models.v1_agent import V1Agent
|
26
|
+
from polyaxon_sdk.models.v1_agent_reconcile_body_request import V1AgentReconcileBodyRequest
|
26
27
|
from polyaxon_sdk.models.v1_agent_state_response import V1AgentStateResponse
|
27
28
|
from polyaxon_sdk.models.v1_agent_status_body_request import V1AgentStatusBodyRequest
|
28
29
|
from polyaxon_sdk.models.v1_list_agents_response import V1ListAgentsResponse
|
@@ -190,7 +191,7 @@ class AgentsV1Api(object):
|
|
190
191
|
}
|
191
192
|
|
192
193
|
return self.api_client.call_api(
|
193
|
-
'/
|
194
|
+
'/internal/v1/{namespace}/{owner}/agents/{uuid}/collect', 'POST',
|
194
195
|
_path_params,
|
195
196
|
_query_params,
|
196
197
|
_header_params,
|
@@ -2524,7 +2525,7 @@ class AgentsV1Api(object):
|
|
2524
2525
|
_request_auth=_params.get('_request_auth'))
|
2525
2526
|
|
2526
2527
|
@validate_arguments
|
2527
|
-
def patch_agent_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
2528
|
+
def patch_agent_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs) -> V1Token: # noqa: E501
|
2528
2529
|
"""Patch agent token # noqa: E501
|
2529
2530
|
|
2530
2531
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -2535,7 +2536,7 @@ class AgentsV1Api(object):
|
|
2535
2536
|
|
2536
2537
|
:param owner: Owner of the namespace (required)
|
2537
2538
|
:type owner: str
|
2538
|
-
:param entity:
|
2539
|
+
:param entity: Entity (required)
|
2539
2540
|
:type entity: str
|
2540
2541
|
:param body: Token body (required)
|
2541
2542
|
:type body: V1Token
|
@@ -2558,7 +2559,7 @@ class AgentsV1Api(object):
|
|
2558
2559
|
return self.patch_agent_token_with_http_info(owner, entity, body, **kwargs) # noqa: E501
|
2559
2560
|
|
2560
2561
|
@validate_arguments
|
2561
|
-
def patch_agent_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
2562
|
+
def patch_agent_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs): # noqa: E501
|
2562
2563
|
"""Patch agent token # noqa: E501
|
2563
2564
|
|
2564
2565
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -2569,7 +2570,7 @@ class AgentsV1Api(object):
|
|
2569
2570
|
|
2570
2571
|
:param owner: Owner of the namespace (required)
|
2571
2572
|
:type owner: str
|
2572
|
-
:param entity:
|
2573
|
+
:param entity: Entity (required)
|
2573
2574
|
:type entity: str
|
2574
2575
|
:param body: Token body (required)
|
2575
2576
|
:type body: V1Token
|
@@ -2687,6 +2688,170 @@ class AgentsV1Api(object):
|
|
2687
2688
|
collection_formats=_collection_formats,
|
2688
2689
|
_request_auth=_params.get('_request_auth'))
|
2689
2690
|
|
2691
|
+
@validate_arguments
|
2692
|
+
def reconcile_agent(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], body : V1AgentReconcileBodyRequest, **kwargs) -> object: # noqa: E501
|
2693
|
+
"""Reconcile agent # noqa: E501
|
2694
|
+
|
2695
|
+
This method makes a synchronous HTTP request by default. To make an
|
2696
|
+
asynchronous HTTP request, please pass async_req=True
|
2697
|
+
|
2698
|
+
>>> thread = api.reconcile_agent(owner, uuid, body, async_req=True)
|
2699
|
+
>>> result = thread.get()
|
2700
|
+
|
2701
|
+
:param owner: Owner of the namespace (required)
|
2702
|
+
:type owner: str
|
2703
|
+
:param uuid: Uuid identifier of the entity (required)
|
2704
|
+
:type uuid: str
|
2705
|
+
:param body: (required)
|
2706
|
+
:type body: V1AgentReconcileBodyRequest
|
2707
|
+
:param async_req: Whether to execute the request asynchronously.
|
2708
|
+
:type async_req: bool, optional
|
2709
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2710
|
+
be returned without reading/decoding response
|
2711
|
+
data. Default is True.
|
2712
|
+
:type _preload_content: bool, optional
|
2713
|
+
:param _request_timeout: timeout setting for this request. If one
|
2714
|
+
number provided, it will be total request
|
2715
|
+
timeout. It can also be a pair (tuple) of
|
2716
|
+
(connection, read) timeouts.
|
2717
|
+
:return: Returns the result object.
|
2718
|
+
If the method is called asynchronously,
|
2719
|
+
returns the request thread.
|
2720
|
+
:rtype: object
|
2721
|
+
"""
|
2722
|
+
kwargs['_return_http_data_only'] = True
|
2723
|
+
return self.reconcile_agent_with_http_info(owner, uuid, body, **kwargs) # noqa: E501
|
2724
|
+
|
2725
|
+
@validate_arguments
|
2726
|
+
def reconcile_agent_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], body : V1AgentReconcileBodyRequest, **kwargs): # noqa: E501
|
2727
|
+
"""Reconcile agent # noqa: E501
|
2728
|
+
|
2729
|
+
This method makes a synchronous HTTP request by default. To make an
|
2730
|
+
asynchronous HTTP request, please pass async_req=True
|
2731
|
+
|
2732
|
+
>>> thread = api.reconcile_agent_with_http_info(owner, uuid, body, async_req=True)
|
2733
|
+
>>> result = thread.get()
|
2734
|
+
|
2735
|
+
:param owner: Owner of the namespace (required)
|
2736
|
+
:type owner: str
|
2737
|
+
:param uuid: Uuid identifier of the entity (required)
|
2738
|
+
:type uuid: str
|
2739
|
+
:param body: (required)
|
2740
|
+
:type body: V1AgentReconcileBodyRequest
|
2741
|
+
:param async_req: Whether to execute the request asynchronously.
|
2742
|
+
:type async_req: bool, optional
|
2743
|
+
:param _return_http_data_only: response data without head status code
|
2744
|
+
and headers
|
2745
|
+
:type _return_http_data_only: bool, optional
|
2746
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2747
|
+
be returned without reading/decoding response
|
2748
|
+
data. Default is True.
|
2749
|
+
:type _preload_content: bool, optional
|
2750
|
+
:param _request_timeout: timeout setting for this request. If one
|
2751
|
+
number provided, it will be total request
|
2752
|
+
timeout. It can also be a pair (tuple) of
|
2753
|
+
(connection, read) timeouts.
|
2754
|
+
:param _request_auth: set to override the auth_settings for an a single
|
2755
|
+
request; this effectively ignores the authentication
|
2756
|
+
in the spec for a single request.
|
2757
|
+
:type _request_auth: dict, optional
|
2758
|
+
:type _content_type: string, optional: force content-type for the request
|
2759
|
+
:return: Returns the result object.
|
2760
|
+
If the method is called asynchronously,
|
2761
|
+
returns the request thread.
|
2762
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
2763
|
+
"""
|
2764
|
+
|
2765
|
+
_params = locals()
|
2766
|
+
|
2767
|
+
_all_params = [
|
2768
|
+
'owner',
|
2769
|
+
'uuid',
|
2770
|
+
'body'
|
2771
|
+
]
|
2772
|
+
_all_params.extend(
|
2773
|
+
[
|
2774
|
+
'async_req',
|
2775
|
+
'_return_http_data_only',
|
2776
|
+
'_preload_content',
|
2777
|
+
'_request_timeout',
|
2778
|
+
'_request_auth',
|
2779
|
+
'_content_type',
|
2780
|
+
'_headers'
|
2781
|
+
]
|
2782
|
+
)
|
2783
|
+
|
2784
|
+
# validate the arguments
|
2785
|
+
for _key, _val in _params['kwargs'].items():
|
2786
|
+
if _key not in _all_params:
|
2787
|
+
raise ApiTypeError(
|
2788
|
+
"Got an unexpected keyword argument '%s'"
|
2789
|
+
" to method reconcile_agent" % _key
|
2790
|
+
)
|
2791
|
+
_params[_key] = _val
|
2792
|
+
del _params['kwargs']
|
2793
|
+
|
2794
|
+
_collection_formats = {}
|
2795
|
+
|
2796
|
+
# process the path parameters
|
2797
|
+
_path_params = {}
|
2798
|
+
if _params['owner']:
|
2799
|
+
_path_params['owner'] = _params['owner']
|
2800
|
+
|
2801
|
+
if _params['uuid']:
|
2802
|
+
_path_params['uuid'] = _params['uuid']
|
2803
|
+
|
2804
|
+
|
2805
|
+
# process the query parameters
|
2806
|
+
_query_params = []
|
2807
|
+
# process the header parameters
|
2808
|
+
_header_params = dict(_params.get('_headers', {}))
|
2809
|
+
# process the form parameters
|
2810
|
+
_form_params = []
|
2811
|
+
_files = {}
|
2812
|
+
# process the body parameter
|
2813
|
+
_body_params = None
|
2814
|
+
if _params['body']:
|
2815
|
+
_body_params = _params['body']
|
2816
|
+
|
2817
|
+
# set the HTTP header `Accept`
|
2818
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2819
|
+
['application/json']) # noqa: E501
|
2820
|
+
|
2821
|
+
# set the HTTP header `Content-Type`
|
2822
|
+
_content_types_list = _params.get('_content_type',
|
2823
|
+
self.api_client.select_header_content_type(
|
2824
|
+
['application/json']))
|
2825
|
+
if _content_types_list:
|
2826
|
+
_header_params['Content-Type'] = _content_types_list
|
2827
|
+
|
2828
|
+
# authentication setting
|
2829
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
2830
|
+
|
2831
|
+
_response_types_map = {
|
2832
|
+
'200': "object",
|
2833
|
+
'204': "object",
|
2834
|
+
'403': "object",
|
2835
|
+
'404': "object",
|
2836
|
+
}
|
2837
|
+
|
2838
|
+
return self.api_client.call_api(
|
2839
|
+
'/api/v1/orgs/{owner}/agents/{uuid}/reconcile', 'PATCH',
|
2840
|
+
_path_params,
|
2841
|
+
_query_params,
|
2842
|
+
_header_params,
|
2843
|
+
body=_body_params,
|
2844
|
+
post_params=_form_params,
|
2845
|
+
files=_files,
|
2846
|
+
response_types_map=_response_types_map,
|
2847
|
+
auth_settings=_auth_settings,
|
2848
|
+
async_req=_params.get('async_req'),
|
2849
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2850
|
+
_preload_content=_params.get('_preload_content', True),
|
2851
|
+
_request_timeout=_params.get('_request_timeout'),
|
2852
|
+
collection_formats=_collection_formats,
|
2853
|
+
_request_auth=_params.get('_request_auth'))
|
2854
|
+
|
2690
2855
|
@validate_arguments
|
2691
2856
|
def sync_agent(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], agent_uuid : Annotated[StrictStr, Field(..., description="UUID")], body : Annotated[V1Agent, Field(..., description="Agent body")], **kwargs) -> None: # noqa: E501
|
2692
2857
|
"""Sync agent # noqa: E501
|
@@ -3175,7 +3340,7 @@ class AgentsV1Api(object):
|
|
3175
3340
|
_request_auth=_params.get('_request_auth'))
|
3176
3341
|
|
3177
3342
|
@validate_arguments
|
3178
|
-
def update_agent_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
3343
|
+
def update_agent_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs) -> V1Token: # noqa: E501
|
3179
3344
|
"""Update agent token # noqa: E501
|
3180
3345
|
|
3181
3346
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -3186,7 +3351,7 @@ class AgentsV1Api(object):
|
|
3186
3351
|
|
3187
3352
|
:param owner: Owner of the namespace (required)
|
3188
3353
|
:type owner: str
|
3189
|
-
:param entity:
|
3354
|
+
:param entity: Entity (required)
|
3190
3355
|
:type entity: str
|
3191
3356
|
:param body: Token body (required)
|
3192
3357
|
:type body: V1Token
|
@@ -3209,7 +3374,7 @@ class AgentsV1Api(object):
|
|
3209
3374
|
return self.update_agent_token_with_http_info(owner, entity, body, **kwargs) # noqa: E501
|
3210
3375
|
|
3211
3376
|
@validate_arguments
|
3212
|
-
def update_agent_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
3377
|
+
def update_agent_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs): # noqa: E501
|
3213
3378
|
"""Update agent token # noqa: E501
|
3214
3379
|
|
3215
3380
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -3220,7 +3385,7 @@ class AgentsV1Api(object):
|
|
3220
3385
|
|
3221
3386
|
:param owner: Owner of the namespace (required)
|
3222
3387
|
:type owner: str
|
3223
|
-
:param entity:
|
3388
|
+
:param entity: Entity (required)
|
3224
3389
|
:type entity: str
|
3225
3390
|
:param body: Token body (required)
|
3226
3391
|
:type body: V1Token
|
polyaxon_sdk/api/auth_v1_api.py
CHANGED
polyaxon_sdk/api/runs_v1_api.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.1.0-
|
8
|
+
The version of the OpenAPI document: 2.1.0-rc9
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -203,7 +203,7 @@ class ServiceAccountsV1Api(object):
|
|
203
203
|
_request_auth=_params.get('_request_auth'))
|
204
204
|
|
205
205
|
@validate_arguments
|
206
|
-
def create_service_account_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
206
|
+
def create_service_account_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs) -> V1Token: # noqa: E501
|
207
207
|
"""Create service account token # noqa: E501
|
208
208
|
|
209
209
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -214,7 +214,7 @@ class ServiceAccountsV1Api(object):
|
|
214
214
|
|
215
215
|
:param owner: Owner of the namespace (required)
|
216
216
|
:type owner: str
|
217
|
-
:param entity:
|
217
|
+
:param entity: Entity (required)
|
218
218
|
:type entity: str
|
219
219
|
:param body: Token body (required)
|
220
220
|
:type body: V1Token
|
@@ -237,7 +237,7 @@ class ServiceAccountsV1Api(object):
|
|
237
237
|
return self.create_service_account_token_with_http_info(owner, entity, body, **kwargs) # noqa: E501
|
238
238
|
|
239
239
|
@validate_arguments
|
240
|
-
def create_service_account_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
240
|
+
def create_service_account_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs): # noqa: E501
|
241
241
|
"""Create service account token # noqa: E501
|
242
242
|
|
243
243
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -248,7 +248,7 @@ class ServiceAccountsV1Api(object):
|
|
248
248
|
|
249
249
|
:param owner: Owner of the namespace (required)
|
250
250
|
:type owner: str
|
251
|
-
:param entity:
|
251
|
+
:param entity: Entity (required)
|
252
252
|
:type entity: str
|
253
253
|
:param body: Token body (required)
|
254
254
|
:type body: V1Token
|
@@ -1724,7 +1724,7 @@ class ServiceAccountsV1Api(object):
|
|
1724
1724
|
_request_auth=_params.get('_request_auth'))
|
1725
1725
|
|
1726
1726
|
@validate_arguments
|
1727
|
-
def patch_service_account_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
1727
|
+
def patch_service_account_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], token_uuid : Annotated[StrictStr, Field(..., description="UUID")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs) -> V1Token: # noqa: E501
|
1728
1728
|
"""Patch service account token # noqa: E501
|
1729
1729
|
|
1730
1730
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1735,7 +1735,7 @@ class ServiceAccountsV1Api(object):
|
|
1735
1735
|
|
1736
1736
|
:param owner: Owner of the namespace (required)
|
1737
1737
|
:type owner: str
|
1738
|
-
:param entity:
|
1738
|
+
:param entity: Entity (required)
|
1739
1739
|
:type entity: str
|
1740
1740
|
:param token_uuid: UUID (required)
|
1741
1741
|
:type token_uuid: str
|
@@ -1760,7 +1760,7 @@ class ServiceAccountsV1Api(object):
|
|
1760
1760
|
return self.patch_service_account_token_with_http_info(owner, entity, token_uuid, body, **kwargs) # noqa: E501
|
1761
1761
|
|
1762
1762
|
@validate_arguments
|
1763
|
-
def patch_service_account_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
1763
|
+
def patch_service_account_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], token_uuid : Annotated[StrictStr, Field(..., description="UUID")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs): # noqa: E501
|
1764
1764
|
"""Patch service account token # noqa: E501
|
1765
1765
|
|
1766
1766
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1771,7 +1771,7 @@ class ServiceAccountsV1Api(object):
|
|
1771
1771
|
|
1772
1772
|
:param owner: Owner of the namespace (required)
|
1773
1773
|
:type owner: str
|
1774
|
-
:param entity:
|
1774
|
+
:param entity: Entity (required)
|
1775
1775
|
:type entity: str
|
1776
1776
|
:param token_uuid: UUID (required)
|
1777
1777
|
:type token_uuid: str
|
@@ -2060,7 +2060,7 @@ class ServiceAccountsV1Api(object):
|
|
2060
2060
|
_request_auth=_params.get('_request_auth'))
|
2061
2061
|
|
2062
2062
|
@validate_arguments
|
2063
|
-
def update_service_account_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
2063
|
+
def update_service_account_token(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], token_uuid : Annotated[StrictStr, Field(..., description="UUID")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs) -> V1Token: # noqa: E501
|
2064
2064
|
"""Update service account token # noqa: E501
|
2065
2065
|
|
2066
2066
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -2071,7 +2071,7 @@ class ServiceAccountsV1Api(object):
|
|
2071
2071
|
|
2072
2072
|
:param owner: Owner of the namespace (required)
|
2073
2073
|
:type owner: str
|
2074
|
-
:param entity:
|
2074
|
+
:param entity: Entity (required)
|
2075
2075
|
:type entity: str
|
2076
2076
|
:param token_uuid: UUID (required)
|
2077
2077
|
:type token_uuid: str
|
@@ -2096,7 +2096,7 @@ class ServiceAccountsV1Api(object):
|
|
2096
2096
|
return self.update_service_account_token_with_http_info(owner, entity, token_uuid, body, **kwargs) # noqa: E501
|
2097
2097
|
|
2098
2098
|
@validate_arguments
|
2099
|
-
def update_service_account_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="
|
2099
|
+
def update_service_account_token_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity")], token_uuid : Annotated[StrictStr, Field(..., description="UUID")], body : Annotated[V1Token, Field(..., description="Token body")], **kwargs): # noqa: E501
|
2100
2100
|
"""Update service account token # noqa: E501
|
2101
2101
|
|
2102
2102
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -2107,7 +2107,7 @@ class ServiceAccountsV1Api(object):
|
|
2107
2107
|
|
2108
2108
|
:param owner: Owner of the namespace (required)
|
2109
2109
|
:type owner: str
|
2110
|
-
:param entity:
|
2110
|
+
:param entity: Entity (required)
|
2111
2111
|
:type entity: str
|
2112
2112
|
:param token_uuid: UUID (required)
|
2113
2113
|
:type token_uuid: str
|
polyaxon_sdk/api/tags_v1_api.py
CHANGED
polyaxon_sdk/api/teams_v1_api.py
CHANGED
polyaxon_sdk/api/users_v1_api.py
CHANGED
polyaxon_sdk/api_client.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.1.0-
|
8
|
+
The version of the OpenAPI document: 2.1.0-rc9
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
76
76
|
self.default_headers[header_name] = header_value
|
77
77
|
self.cookie = cookie
|
78
78
|
# Set default User-Agent.
|
79
|
-
self.user_agent = 'OpenAPI-Generator/2.1.0-
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2.1.0-rc9/python'
|
80
80
|
self.client_side_validation = configuration.client_side_validation
|
81
81
|
|
82
82
|
def __enter__(self):
|
polyaxon_sdk/configuration.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.1.0-
|
8
|
+
The version of the OpenAPI document: 2.1.0-rc9
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -393,8 +393,8 @@ conf = polyaxon_sdk.Configuration(
|
|
393
393
|
return "Python SDK Debug Report:\n"\
|
394
394
|
"OS: {env}\n"\
|
395
395
|
"Python Version: {pyversion}\n"\
|
396
|
-
"Version of the API: 2.1.0-
|
397
|
-
"SDK Package Version: 2.1.0-
|
396
|
+
"Version of the API: 2.1.0-rc9\n"\
|
397
|
+
"SDK Package Version: 2.1.0-rc9".\
|
398
398
|
format(env=sys.platform, pyversion=sys.version)
|
399
399
|
|
400
400
|
def get_host_settings(self):
|
polyaxon_sdk/exceptions.py
CHANGED
polyaxon_sdk/models/__init__.py
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
# noqa: E501
|
8
8
|
|
9
|
-
The version of the OpenAPI document: 2.1.0-
|
9
|
+
The version of the OpenAPI document: 2.1.0-rc9
|
10
10
|
Contact: contact@polyaxon.com
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
@@ -23,6 +23,7 @@ from polyaxon_sdk.models.runtime_error import RuntimeError
|
|
23
23
|
from polyaxon_sdk.models.search_view import SearchView
|
24
24
|
from polyaxon_sdk.models.v1_activity import V1Activity
|
25
25
|
from polyaxon_sdk.models.v1_agent import V1Agent
|
26
|
+
from polyaxon_sdk.models.v1_agent_reconcile_body_request import V1AgentReconcileBodyRequest
|
26
27
|
from polyaxon_sdk.models.v1_agent_state_response import V1AgentStateResponse
|
27
28
|
from polyaxon_sdk.models.v1_agent_status_body_request import V1AgentStatusBodyRequest
|
28
29
|
from polyaxon_sdk.models.v1_analytics_spec import V1AnalyticsSpec
|