polyaxon-sdk 2.1.0rc5__py2.py3-none-any.whl → 2.1.0rc7__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 +2 -2
- polyaxon_sdk/api/agents_v1_api.py +537 -1
- 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 +1 -1
- 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 +1 -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_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.0rc5.dist-info → polyaxon_sdk-2.1.0rc7.dist-info}/METADATA +1 -1
- polyaxon_sdk-2.1.0rc7.dist-info/RECORD +260 -0
- polyaxon_sdk-2.1.0rc5.dist-info/RECORD +0 -260
- {polyaxon_sdk-2.1.0rc5.dist-info → polyaxon_sdk-2.1.0rc7.dist-info}/WHEEL +0 -0
- {polyaxon_sdk-2.1.0rc5.dist-info → polyaxon_sdk-2.1.0rc7.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-rc7
|
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-rc7"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from polyaxon_sdk.api.agents_v1_api import AgentsV1Api
|
@@ -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-rc7
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -26,6 +26,7 @@ from polyaxon_sdk.models.v1_agent import V1Agent
|
|
26
26
|
from polyaxon_sdk.models.v1_agent_state_response import V1AgentStateResponse
|
27
27
|
from polyaxon_sdk.models.v1_agent_status_body_request import V1AgentStatusBodyRequest
|
28
28
|
from polyaxon_sdk.models.v1_list_agents_response import V1ListAgentsResponse
|
29
|
+
from polyaxon_sdk.models.v1_logs import V1Logs
|
29
30
|
from polyaxon_sdk.models.v1_status import V1Status
|
30
31
|
from polyaxon_sdk.models.v1_token import V1Token
|
31
32
|
|
@@ -48,6 +49,163 @@ class AgentsV1Api(object):
|
|
48
49
|
api_client = ApiClient.get_default()
|
49
50
|
self.api_client = api_client
|
50
51
|
|
52
|
+
@validate_arguments
|
53
|
+
def collect_agent_data(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], **kwargs) -> object: # noqa: E501
|
54
|
+
"""collect agent # noqa: E501
|
55
|
+
|
56
|
+
This method makes a synchronous HTTP request by default. To make an
|
57
|
+
asynchronous HTTP request, please pass async_req=True
|
58
|
+
|
59
|
+
>>> thread = api.collect_agent_data(namespace, owner, uuid, async_req=True)
|
60
|
+
>>> result = thread.get()
|
61
|
+
|
62
|
+
:param namespace: namespace (required)
|
63
|
+
:type namespace: str
|
64
|
+
:param owner: Owner of the namespace (required)
|
65
|
+
:type owner: str
|
66
|
+
:param uuid: Uuid identifier of the entity (required)
|
67
|
+
:type uuid: str
|
68
|
+
:param async_req: Whether to execute the request asynchronously.
|
69
|
+
:type async_req: bool, optional
|
70
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
71
|
+
be returned without reading/decoding response
|
72
|
+
data. Default is True.
|
73
|
+
:type _preload_content: bool, optional
|
74
|
+
:param _request_timeout: timeout setting for this request. If one
|
75
|
+
number provided, it will be total request
|
76
|
+
timeout. It can also be a pair (tuple) of
|
77
|
+
(connection, read) timeouts.
|
78
|
+
:return: Returns the result object.
|
79
|
+
If the method is called asynchronously,
|
80
|
+
returns the request thread.
|
81
|
+
:rtype: object
|
82
|
+
"""
|
83
|
+
kwargs['_return_http_data_only'] = True
|
84
|
+
return self.collect_agent_data_with_http_info(namespace, owner, uuid, **kwargs) # noqa: E501
|
85
|
+
|
86
|
+
@validate_arguments
|
87
|
+
def collect_agent_data_with_http_info(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], **kwargs): # noqa: E501
|
88
|
+
"""collect agent # noqa: E501
|
89
|
+
|
90
|
+
This method makes a synchronous HTTP request by default. To make an
|
91
|
+
asynchronous HTTP request, please pass async_req=True
|
92
|
+
|
93
|
+
>>> thread = api.collect_agent_data_with_http_info(namespace, owner, uuid, async_req=True)
|
94
|
+
>>> result = thread.get()
|
95
|
+
|
96
|
+
:param namespace: namespace (required)
|
97
|
+
:type namespace: str
|
98
|
+
:param owner: Owner of the namespace (required)
|
99
|
+
:type owner: str
|
100
|
+
:param uuid: Uuid identifier of the entity (required)
|
101
|
+
:type uuid: str
|
102
|
+
:param async_req: Whether to execute the request asynchronously.
|
103
|
+
:type async_req: bool, optional
|
104
|
+
:param _return_http_data_only: response data without head status code
|
105
|
+
and headers
|
106
|
+
:type _return_http_data_only: bool, optional
|
107
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
108
|
+
be returned without reading/decoding response
|
109
|
+
data. Default is True.
|
110
|
+
:type _preload_content: bool, optional
|
111
|
+
:param _request_timeout: timeout setting for this request. If one
|
112
|
+
number provided, it will be total request
|
113
|
+
timeout. It can also be a pair (tuple) of
|
114
|
+
(connection, read) timeouts.
|
115
|
+
:param _request_auth: set to override the auth_settings for an a single
|
116
|
+
request; this effectively ignores the authentication
|
117
|
+
in the spec for a single request.
|
118
|
+
:type _request_auth: dict, optional
|
119
|
+
:type _content_type: string, optional: force content-type for the request
|
120
|
+
:return: Returns the result object.
|
121
|
+
If the method is called asynchronously,
|
122
|
+
returns the request thread.
|
123
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
124
|
+
"""
|
125
|
+
|
126
|
+
_params = locals()
|
127
|
+
|
128
|
+
_all_params = [
|
129
|
+
'namespace',
|
130
|
+
'owner',
|
131
|
+
'uuid'
|
132
|
+
]
|
133
|
+
_all_params.extend(
|
134
|
+
[
|
135
|
+
'async_req',
|
136
|
+
'_return_http_data_only',
|
137
|
+
'_preload_content',
|
138
|
+
'_request_timeout',
|
139
|
+
'_request_auth',
|
140
|
+
'_content_type',
|
141
|
+
'_headers'
|
142
|
+
]
|
143
|
+
)
|
144
|
+
|
145
|
+
# validate the arguments
|
146
|
+
for _key, _val in _params['kwargs'].items():
|
147
|
+
if _key not in _all_params:
|
148
|
+
raise ApiTypeError(
|
149
|
+
"Got an unexpected keyword argument '%s'"
|
150
|
+
" to method collect_agent_data" % _key
|
151
|
+
)
|
152
|
+
_params[_key] = _val
|
153
|
+
del _params['kwargs']
|
154
|
+
|
155
|
+
_collection_formats = {}
|
156
|
+
|
157
|
+
# process the path parameters
|
158
|
+
_path_params = {}
|
159
|
+
if _params['namespace']:
|
160
|
+
_path_params['namespace'] = _params['namespace']
|
161
|
+
|
162
|
+
if _params['owner']:
|
163
|
+
_path_params['owner'] = _params['owner']
|
164
|
+
|
165
|
+
if _params['uuid']:
|
166
|
+
_path_params['uuid'] = _params['uuid']
|
167
|
+
|
168
|
+
|
169
|
+
# process the query parameters
|
170
|
+
_query_params = []
|
171
|
+
# process the header parameters
|
172
|
+
_header_params = dict(_params.get('_headers', {}))
|
173
|
+
# process the form parameters
|
174
|
+
_form_params = []
|
175
|
+
_files = {}
|
176
|
+
# process the body parameter
|
177
|
+
_body_params = None
|
178
|
+
# set the HTTP header `Accept`
|
179
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
180
|
+
['application/json']) # noqa: E501
|
181
|
+
|
182
|
+
# authentication setting
|
183
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
184
|
+
|
185
|
+
_response_types_map = {
|
186
|
+
'200': "object",
|
187
|
+
'204': "object",
|
188
|
+
'403': "object",
|
189
|
+
'404': "object",
|
190
|
+
}
|
191
|
+
|
192
|
+
return self.api_client.call_api(
|
193
|
+
'/streams/v1/{namespace}/{owner}/agents/{uuid}/collect', 'POST',
|
194
|
+
_path_params,
|
195
|
+
_query_params,
|
196
|
+
_header_params,
|
197
|
+
body=_body_params,
|
198
|
+
post_params=_form_params,
|
199
|
+
files=_files,
|
200
|
+
response_types_map=_response_types_map,
|
201
|
+
auth_settings=_auth_settings,
|
202
|
+
async_req=_params.get('async_req'),
|
203
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
204
|
+
_preload_content=_params.get('_preload_content', True),
|
205
|
+
_request_timeout=_params.get('_request_timeout'),
|
206
|
+
collection_formats=_collection_formats,
|
207
|
+
_request_auth=_params.get('_request_auth'))
|
208
|
+
|
51
209
|
@validate_arguments
|
52
210
|
def create_agent(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], body : Annotated[V1Agent, Field(..., description="Agent body")], **kwargs) -> V1Agent: # noqa: E501
|
53
211
|
"""Create agent # noqa: E501
|
@@ -990,6 +1148,195 @@ class AgentsV1Api(object):
|
|
990
1148
|
collection_formats=_collection_formats,
|
991
1149
|
_request_auth=_params.get('_request_auth'))
|
992
1150
|
|
1151
|
+
@validate_arguments
|
1152
|
+
def get_agent_logs(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], service : Annotated[Optional[StrictStr], Field(description="Service.")] = None, last_file : Annotated[Optional[StrictStr], Field(description="last_file.")] = None, force : Annotated[Optional[StrictBool], Field(description="Force query param.")] = None, connection : Annotated[Optional[StrictStr], Field(description="Connection to use.")] = None, **kwargs) -> V1Logs: # noqa: E501
|
1153
|
+
"""Get run logs # noqa: E501
|
1154
|
+
|
1155
|
+
This method makes a synchronous HTTP request by default. To make an
|
1156
|
+
asynchronous HTTP request, please pass async_req=True
|
1157
|
+
|
1158
|
+
>>> thread = api.get_agent_logs(namespace, owner, uuid, service, last_file, force, connection, async_req=True)
|
1159
|
+
>>> result = thread.get()
|
1160
|
+
|
1161
|
+
:param namespace: namespace (required)
|
1162
|
+
:type namespace: str
|
1163
|
+
:param owner: Owner of the namespace (required)
|
1164
|
+
:type owner: str
|
1165
|
+
:param uuid: Uuid identifier of the entity (required)
|
1166
|
+
:type uuid: str
|
1167
|
+
:param service: Service.
|
1168
|
+
:type service: str
|
1169
|
+
:param last_file: last_file.
|
1170
|
+
:type last_file: str
|
1171
|
+
:param force: Force query param.
|
1172
|
+
:type force: bool
|
1173
|
+
:param connection: Connection to use.
|
1174
|
+
:type connection: str
|
1175
|
+
:param async_req: Whether to execute the request asynchronously.
|
1176
|
+
:type async_req: bool, optional
|
1177
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1178
|
+
be returned without reading/decoding response
|
1179
|
+
data. Default is True.
|
1180
|
+
:type _preload_content: bool, optional
|
1181
|
+
:param _request_timeout: timeout setting for this request. If one
|
1182
|
+
number provided, it will be total request
|
1183
|
+
timeout. It can also be a pair (tuple) of
|
1184
|
+
(connection, read) timeouts.
|
1185
|
+
:return: Returns the result object.
|
1186
|
+
If the method is called asynchronously,
|
1187
|
+
returns the request thread.
|
1188
|
+
:rtype: V1Logs
|
1189
|
+
"""
|
1190
|
+
kwargs['_return_http_data_only'] = True
|
1191
|
+
return self.get_agent_logs_with_http_info(namespace, owner, uuid, service, last_file, force, connection, **kwargs) # noqa: E501
|
1192
|
+
|
1193
|
+
@validate_arguments
|
1194
|
+
def get_agent_logs_with_http_info(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], service : Annotated[Optional[StrictStr], Field(description="Service.")] = None, last_file : Annotated[Optional[StrictStr], Field(description="last_file.")] = None, force : Annotated[Optional[StrictBool], Field(description="Force query param.")] = None, connection : Annotated[Optional[StrictStr], Field(description="Connection to use.")] = None, **kwargs): # noqa: E501
|
1195
|
+
"""Get run logs # noqa: E501
|
1196
|
+
|
1197
|
+
This method makes a synchronous HTTP request by default. To make an
|
1198
|
+
asynchronous HTTP request, please pass async_req=True
|
1199
|
+
|
1200
|
+
>>> thread = api.get_agent_logs_with_http_info(namespace, owner, uuid, service, last_file, force, connection, async_req=True)
|
1201
|
+
>>> result = thread.get()
|
1202
|
+
|
1203
|
+
:param namespace: namespace (required)
|
1204
|
+
:type namespace: str
|
1205
|
+
:param owner: Owner of the namespace (required)
|
1206
|
+
:type owner: str
|
1207
|
+
:param uuid: Uuid identifier of the entity (required)
|
1208
|
+
:type uuid: str
|
1209
|
+
:param service: Service.
|
1210
|
+
:type service: str
|
1211
|
+
:param last_file: last_file.
|
1212
|
+
:type last_file: str
|
1213
|
+
:param force: Force query param.
|
1214
|
+
:type force: bool
|
1215
|
+
:param connection: Connection to use.
|
1216
|
+
:type connection: str
|
1217
|
+
:param async_req: Whether to execute the request asynchronously.
|
1218
|
+
:type async_req: bool, optional
|
1219
|
+
:param _return_http_data_only: response data without head status code
|
1220
|
+
and headers
|
1221
|
+
:type _return_http_data_only: bool, optional
|
1222
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1223
|
+
be returned without reading/decoding response
|
1224
|
+
data. Default is True.
|
1225
|
+
:type _preload_content: bool, optional
|
1226
|
+
:param _request_timeout: timeout setting for this request. If one
|
1227
|
+
number provided, it will be total request
|
1228
|
+
timeout. It can also be a pair (tuple) of
|
1229
|
+
(connection, read) timeouts.
|
1230
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1231
|
+
request; this effectively ignores the authentication
|
1232
|
+
in the spec for a single request.
|
1233
|
+
:type _request_auth: dict, optional
|
1234
|
+
:type _content_type: string, optional: force content-type for the request
|
1235
|
+
:return: Returns the result object.
|
1236
|
+
If the method is called asynchronously,
|
1237
|
+
returns the request thread.
|
1238
|
+
:rtype: tuple(V1Logs, status_code(int), headers(HTTPHeaderDict))
|
1239
|
+
"""
|
1240
|
+
|
1241
|
+
_params = locals()
|
1242
|
+
|
1243
|
+
_all_params = [
|
1244
|
+
'namespace',
|
1245
|
+
'owner',
|
1246
|
+
'uuid',
|
1247
|
+
'service',
|
1248
|
+
'last_file',
|
1249
|
+
'force',
|
1250
|
+
'connection'
|
1251
|
+
]
|
1252
|
+
_all_params.extend(
|
1253
|
+
[
|
1254
|
+
'async_req',
|
1255
|
+
'_return_http_data_only',
|
1256
|
+
'_preload_content',
|
1257
|
+
'_request_timeout',
|
1258
|
+
'_request_auth',
|
1259
|
+
'_content_type',
|
1260
|
+
'_headers'
|
1261
|
+
]
|
1262
|
+
)
|
1263
|
+
|
1264
|
+
# validate the arguments
|
1265
|
+
for _key, _val in _params['kwargs'].items():
|
1266
|
+
if _key not in _all_params:
|
1267
|
+
raise ApiTypeError(
|
1268
|
+
"Got an unexpected keyword argument '%s'"
|
1269
|
+
" to method get_agent_logs" % _key
|
1270
|
+
)
|
1271
|
+
_params[_key] = _val
|
1272
|
+
del _params['kwargs']
|
1273
|
+
|
1274
|
+
_collection_formats = {}
|
1275
|
+
|
1276
|
+
# process the path parameters
|
1277
|
+
_path_params = {}
|
1278
|
+
if _params['namespace']:
|
1279
|
+
_path_params['namespace'] = _params['namespace']
|
1280
|
+
|
1281
|
+
if _params['owner']:
|
1282
|
+
_path_params['owner'] = _params['owner']
|
1283
|
+
|
1284
|
+
if _params['uuid']:
|
1285
|
+
_path_params['uuid'] = _params['uuid']
|
1286
|
+
|
1287
|
+
|
1288
|
+
# process the query parameters
|
1289
|
+
_query_params = []
|
1290
|
+
if _params.get('service') is not None: # noqa: E501
|
1291
|
+
_query_params.append(('service', _params['service']))
|
1292
|
+
|
1293
|
+
if _params.get('last_file') is not None: # noqa: E501
|
1294
|
+
_query_params.append(('last_file', _params['last_file']))
|
1295
|
+
|
1296
|
+
if _params.get('force') is not None: # noqa: E501
|
1297
|
+
_query_params.append(('force', _params['force']))
|
1298
|
+
|
1299
|
+
if _params.get('connection') is not None: # noqa: E501
|
1300
|
+
_query_params.append(('connection', _params['connection']))
|
1301
|
+
|
1302
|
+
# process the header parameters
|
1303
|
+
_header_params = dict(_params.get('_headers', {}))
|
1304
|
+
# process the form parameters
|
1305
|
+
_form_params = []
|
1306
|
+
_files = {}
|
1307
|
+
# process the body parameter
|
1308
|
+
_body_params = None
|
1309
|
+
# set the HTTP header `Accept`
|
1310
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1311
|
+
['application/json']) # noqa: E501
|
1312
|
+
|
1313
|
+
# authentication setting
|
1314
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
1315
|
+
|
1316
|
+
_response_types_map = {
|
1317
|
+
'200': "V1Logs",
|
1318
|
+
'204': "object",
|
1319
|
+
'403': "object",
|
1320
|
+
'404': "object",
|
1321
|
+
}
|
1322
|
+
|
1323
|
+
return self.api_client.call_api(
|
1324
|
+
'/streams/v1/{namespace}/{owner}/agents/{uuid}/logs', 'GET',
|
1325
|
+
_path_params,
|
1326
|
+
_query_params,
|
1327
|
+
_header_params,
|
1328
|
+
body=_body_params,
|
1329
|
+
post_params=_form_params,
|
1330
|
+
files=_files,
|
1331
|
+
response_types_map=_response_types_map,
|
1332
|
+
auth_settings=_auth_settings,
|
1333
|
+
async_req=_params.get('async_req'),
|
1334
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1335
|
+
_preload_content=_params.get('_preload_content', True),
|
1336
|
+
_request_timeout=_params.get('_request_timeout'),
|
1337
|
+
collection_formats=_collection_formats,
|
1338
|
+
_request_auth=_params.get('_request_auth'))
|
1339
|
+
|
993
1340
|
@validate_arguments
|
994
1341
|
def get_agent_state(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], **kwargs) -> V1AgentStateResponse: # noqa: E501
|
995
1342
|
"""Get State (queues/runs) # noqa: E501
|
@@ -1429,6 +1776,195 @@ class AgentsV1Api(object):
|
|
1429
1776
|
collection_formats=_collection_formats,
|
1430
1777
|
_request_auth=_params.get('_request_auth'))
|
1431
1778
|
|
1779
|
+
@validate_arguments
|
1780
|
+
def inspect_agent(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], service : Annotated[Optional[StrictStr], Field(description="Service.")] = None, last_file : Annotated[Optional[StrictStr], Field(description="last_file.")] = None, force : Annotated[Optional[StrictBool], Field(description="Force query param.")] = None, connection : Annotated[Optional[StrictStr], Field(description="Connection to use.")] = None, **kwargs) -> object: # noqa: E501
|
1781
|
+
"""Inspect an agent's service full conditions # noqa: E501
|
1782
|
+
|
1783
|
+
This method makes a synchronous HTTP request by default. To make an
|
1784
|
+
asynchronous HTTP request, please pass async_req=True
|
1785
|
+
|
1786
|
+
>>> thread = api.inspect_agent(namespace, owner, uuid, service, last_file, force, connection, async_req=True)
|
1787
|
+
>>> result = thread.get()
|
1788
|
+
|
1789
|
+
:param namespace: namespace (required)
|
1790
|
+
:type namespace: str
|
1791
|
+
:param owner: Owner of the namespace (required)
|
1792
|
+
:type owner: str
|
1793
|
+
:param uuid: Uuid identifier of the entity (required)
|
1794
|
+
:type uuid: str
|
1795
|
+
:param service: Service.
|
1796
|
+
:type service: str
|
1797
|
+
:param last_file: last_file.
|
1798
|
+
:type last_file: str
|
1799
|
+
:param force: Force query param.
|
1800
|
+
:type force: bool
|
1801
|
+
:param connection: Connection to use.
|
1802
|
+
:type connection: str
|
1803
|
+
:param async_req: Whether to execute the request asynchronously.
|
1804
|
+
:type async_req: bool, optional
|
1805
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1806
|
+
be returned without reading/decoding response
|
1807
|
+
data. Default is True.
|
1808
|
+
:type _preload_content: bool, optional
|
1809
|
+
:param _request_timeout: timeout setting for this request. If one
|
1810
|
+
number provided, it will be total request
|
1811
|
+
timeout. It can also be a pair (tuple) of
|
1812
|
+
(connection, read) timeouts.
|
1813
|
+
:return: Returns the result object.
|
1814
|
+
If the method is called asynchronously,
|
1815
|
+
returns the request thread.
|
1816
|
+
:rtype: object
|
1817
|
+
"""
|
1818
|
+
kwargs['_return_http_data_only'] = True
|
1819
|
+
return self.inspect_agent_with_http_info(namespace, owner, uuid, service, last_file, force, connection, **kwargs) # noqa: E501
|
1820
|
+
|
1821
|
+
@validate_arguments
|
1822
|
+
def inspect_agent_with_http_info(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the entity")], service : Annotated[Optional[StrictStr], Field(description="Service.")] = None, last_file : Annotated[Optional[StrictStr], Field(description="last_file.")] = None, force : Annotated[Optional[StrictBool], Field(description="Force query param.")] = None, connection : Annotated[Optional[StrictStr], Field(description="Connection to use.")] = None, **kwargs): # noqa: E501
|
1823
|
+
"""Inspect an agent's service full conditions # noqa: E501
|
1824
|
+
|
1825
|
+
This method makes a synchronous HTTP request by default. To make an
|
1826
|
+
asynchronous HTTP request, please pass async_req=True
|
1827
|
+
|
1828
|
+
>>> thread = api.inspect_agent_with_http_info(namespace, owner, uuid, service, last_file, force, connection, async_req=True)
|
1829
|
+
>>> result = thread.get()
|
1830
|
+
|
1831
|
+
:param namespace: namespace (required)
|
1832
|
+
:type namespace: str
|
1833
|
+
:param owner: Owner of the namespace (required)
|
1834
|
+
:type owner: str
|
1835
|
+
:param uuid: Uuid identifier of the entity (required)
|
1836
|
+
:type uuid: str
|
1837
|
+
:param service: Service.
|
1838
|
+
:type service: str
|
1839
|
+
:param last_file: last_file.
|
1840
|
+
:type last_file: str
|
1841
|
+
:param force: Force query param.
|
1842
|
+
:type force: bool
|
1843
|
+
:param connection: Connection to use.
|
1844
|
+
:type connection: str
|
1845
|
+
:param async_req: Whether to execute the request asynchronously.
|
1846
|
+
:type async_req: bool, optional
|
1847
|
+
:param _return_http_data_only: response data without head status code
|
1848
|
+
and headers
|
1849
|
+
:type _return_http_data_only: bool, optional
|
1850
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1851
|
+
be returned without reading/decoding response
|
1852
|
+
data. Default is True.
|
1853
|
+
:type _preload_content: bool, optional
|
1854
|
+
:param _request_timeout: timeout setting for this request. If one
|
1855
|
+
number provided, it will be total request
|
1856
|
+
timeout. It can also be a pair (tuple) of
|
1857
|
+
(connection, read) timeouts.
|
1858
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1859
|
+
request; this effectively ignores the authentication
|
1860
|
+
in the spec for a single request.
|
1861
|
+
:type _request_auth: dict, optional
|
1862
|
+
:type _content_type: string, optional: force content-type for the request
|
1863
|
+
:return: Returns the result object.
|
1864
|
+
If the method is called asynchronously,
|
1865
|
+
returns the request thread.
|
1866
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1867
|
+
"""
|
1868
|
+
|
1869
|
+
_params = locals()
|
1870
|
+
|
1871
|
+
_all_params = [
|
1872
|
+
'namespace',
|
1873
|
+
'owner',
|
1874
|
+
'uuid',
|
1875
|
+
'service',
|
1876
|
+
'last_file',
|
1877
|
+
'force',
|
1878
|
+
'connection'
|
1879
|
+
]
|
1880
|
+
_all_params.extend(
|
1881
|
+
[
|
1882
|
+
'async_req',
|
1883
|
+
'_return_http_data_only',
|
1884
|
+
'_preload_content',
|
1885
|
+
'_request_timeout',
|
1886
|
+
'_request_auth',
|
1887
|
+
'_content_type',
|
1888
|
+
'_headers'
|
1889
|
+
]
|
1890
|
+
)
|
1891
|
+
|
1892
|
+
# validate the arguments
|
1893
|
+
for _key, _val in _params['kwargs'].items():
|
1894
|
+
if _key not in _all_params:
|
1895
|
+
raise ApiTypeError(
|
1896
|
+
"Got an unexpected keyword argument '%s'"
|
1897
|
+
" to method inspect_agent" % _key
|
1898
|
+
)
|
1899
|
+
_params[_key] = _val
|
1900
|
+
del _params['kwargs']
|
1901
|
+
|
1902
|
+
_collection_formats = {}
|
1903
|
+
|
1904
|
+
# process the path parameters
|
1905
|
+
_path_params = {}
|
1906
|
+
if _params['namespace']:
|
1907
|
+
_path_params['namespace'] = _params['namespace']
|
1908
|
+
|
1909
|
+
if _params['owner']:
|
1910
|
+
_path_params['owner'] = _params['owner']
|
1911
|
+
|
1912
|
+
if _params['uuid']:
|
1913
|
+
_path_params['uuid'] = _params['uuid']
|
1914
|
+
|
1915
|
+
|
1916
|
+
# process the query parameters
|
1917
|
+
_query_params = []
|
1918
|
+
if _params.get('service') is not None: # noqa: E501
|
1919
|
+
_query_params.append(('service', _params['service']))
|
1920
|
+
|
1921
|
+
if _params.get('last_file') is not None: # noqa: E501
|
1922
|
+
_query_params.append(('last_file', _params['last_file']))
|
1923
|
+
|
1924
|
+
if _params.get('force') is not None: # noqa: E501
|
1925
|
+
_query_params.append(('force', _params['force']))
|
1926
|
+
|
1927
|
+
if _params.get('connection') is not None: # noqa: E501
|
1928
|
+
_query_params.append(('connection', _params['connection']))
|
1929
|
+
|
1930
|
+
# process the header parameters
|
1931
|
+
_header_params = dict(_params.get('_headers', {}))
|
1932
|
+
# process the form parameters
|
1933
|
+
_form_params = []
|
1934
|
+
_files = {}
|
1935
|
+
# process the body parameter
|
1936
|
+
_body_params = None
|
1937
|
+
# set the HTTP header `Accept`
|
1938
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1939
|
+
['application/json']) # noqa: E501
|
1940
|
+
|
1941
|
+
# authentication setting
|
1942
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
1943
|
+
|
1944
|
+
_response_types_map = {
|
1945
|
+
'200': "object",
|
1946
|
+
'204': "object",
|
1947
|
+
'403': "object",
|
1948
|
+
'404': "object",
|
1949
|
+
}
|
1950
|
+
|
1951
|
+
return self.api_client.call_api(
|
1952
|
+
'/streams/v1/{namespace}/{owner}/agents/{uuid}/k8s_inspect', 'GET',
|
1953
|
+
_path_params,
|
1954
|
+
_query_params,
|
1955
|
+
_header_params,
|
1956
|
+
body=_body_params,
|
1957
|
+
post_params=_form_params,
|
1958
|
+
files=_files,
|
1959
|
+
response_types_map=_response_types_map,
|
1960
|
+
auth_settings=_auth_settings,
|
1961
|
+
async_req=_params.get('async_req'),
|
1962
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
1963
|
+
_preload_content=_params.get('_preload_content', True),
|
1964
|
+
_request_timeout=_params.get('_request_timeout'),
|
1965
|
+
collection_formats=_collection_formats,
|
1966
|
+
_request_auth=_params.get('_request_auth'))
|
1967
|
+
|
1432
1968
|
@validate_arguments
|
1433
1969
|
def list_agent_names(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], offset : Annotated[Optional[StrictInt], Field(description="Pagination offset.")] = None, limit : Annotated[Optional[StrictInt], Field(description="Limit size.")] = None, sort : Annotated[Optional[StrictStr], Field(description="Sort to order the search.")] = None, query : Annotated[Optional[StrictStr], Field(description="Query filter the search.")] = None, bookmarks : Annotated[Optional[StrictBool], Field(description="Filter by bookmarks.")] = None, mode : Annotated[Optional[StrictStr], Field(description="Mode of the search.")] = None, no_page : Annotated[Optional[StrictBool], Field(description="No pagination.")] = None, **kwargs) -> V1ListAgentsResponse: # noqa: E501
|
1434
1970
|
"""List agents names # noqa: E501
|
polyaxon_sdk/api/auth_v1_api.py
CHANGED