polyaxon-sdk 2.3.3rc0__py2.py3-none-any.whl → 2.4.0rc0__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 +19 -9
- polyaxon_sdk/api/artifacts_stores_v1_api.py +1 -1
- polyaxon_sdk/api/auth_v1_api.py +30 -13
- polyaxon_sdk/api/connections_v1_api.py +11 -6
- polyaxon_sdk/api/dashboards_v1_api.py +11 -6
- polyaxon_sdk/api/organizations_v1_api.py +118 -53
- polyaxon_sdk/api/policies_v1_api.py +11 -6
- polyaxon_sdk/api/presets_v1_api.py +11 -6
- polyaxon_sdk/api/project_dashboards_v1_api.py +20 -10
- polyaxon_sdk/api/project_searches_v1_api.py +20 -10
- polyaxon_sdk/api/projects_v1_api.py +82 -37
- polyaxon_sdk/api/queues_v1_api.py +11 -6
- polyaxon_sdk/api/runs_v1_api.py +253 -113
- polyaxon_sdk/api/schemas_v1_api.py +1 -1
- polyaxon_sdk/api/searches_v1_api.py +11 -6
- polyaxon_sdk/api/service_accounts_v1_api.py +20 -10
- polyaxon_sdk/api/tags_v1_api.py +19 -9
- polyaxon_sdk/api/teams_v1_api.py +109 -49
- polyaxon_sdk/api/users_v1_api.py +10 -5
- 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_reconcile_body_request.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_policies_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_policy.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_preset_settings.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_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_access.py +1 -1
- polyaxon_sdk/models/v1_user_access_data.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.3.3rc0.dist-info → polyaxon_sdk-2.4.0rc0.dist-info}/METADATA +1 -1
- polyaxon_sdk-2.4.0rc0.dist-info/RECORD +266 -0
- polyaxon_sdk-2.3.3rc0.dist-info/RECORD +0 -266
- {polyaxon_sdk-2.3.3rc0.dist-info → polyaxon_sdk-2.4.0rc0.dist-info}/WHEEL +0 -0
- {polyaxon_sdk-2.3.3rc0.dist-info → polyaxon_sdk-2.4.0rc0.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.
|
8
|
+
The version of the OpenAPI document: 2.4.0-rc0
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -20,7 +20,7 @@ from typing_extensions import Annotated
|
|
20
20
|
|
21
21
|
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
22
22
|
|
23
|
-
from typing import Optional
|
23
|
+
from typing import Any, Dict, Optional
|
24
24
|
|
25
25
|
from polyaxon_sdk.models.v1_dashboard import V1Dashboard
|
26
26
|
from polyaxon_sdk.models.v1_list_dashboards_response import V1ListDashboardsResponse
|
@@ -209,7 +209,7 @@ class ProjectDashboardsV1Api(object):
|
|
209
209
|
_request_auth=_params.get('_request_auth'))
|
210
210
|
|
211
211
|
@validate_arguments
|
212
|
-
def delete_project_dashboard(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) ->
|
212
|
+
def delete_project_dashboard(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) -> object: # noqa: E501
|
213
213
|
"""Delete project dashboard # noqa: E501
|
214
214
|
|
215
215
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -237,7 +237,7 @@ class ProjectDashboardsV1Api(object):
|
|
237
237
|
:return: Returns the result object.
|
238
238
|
If the method is called asynchronously,
|
239
239
|
returns the request thread.
|
240
|
-
:rtype:
|
240
|
+
:rtype: object
|
241
241
|
"""
|
242
242
|
kwargs['_return_http_data_only'] = True
|
243
243
|
return self.delete_project_dashboard_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
@@ -279,7 +279,7 @@ class ProjectDashboardsV1Api(object):
|
|
279
279
|
:return: Returns the result object.
|
280
280
|
If the method is called asynchronously,
|
281
281
|
returns the request thread.
|
282
|
-
:rtype:
|
282
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
283
283
|
"""
|
284
284
|
|
285
285
|
_params = locals()
|
@@ -341,7 +341,12 @@ class ProjectDashboardsV1Api(object):
|
|
341
341
|
# authentication setting
|
342
342
|
_auth_settings = ['ApiKey'] # noqa: E501
|
343
343
|
|
344
|
-
_response_types_map = {
|
344
|
+
_response_types_map = {
|
345
|
+
'200': "object",
|
346
|
+
'204': "object",
|
347
|
+
'403': "object",
|
348
|
+
'404': "object",
|
349
|
+
}
|
345
350
|
|
346
351
|
return self.api_client.call_api(
|
347
352
|
'/api/v1/{owner}/{entity}/dashboards/{uuid}', 'DELETE',
|
@@ -1100,7 +1105,7 @@ class ProjectDashboardsV1Api(object):
|
|
1100
1105
|
_request_auth=_params.get('_request_auth'))
|
1101
1106
|
|
1102
1107
|
@validate_arguments
|
1103
|
-
def promote_project_dashboard(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) ->
|
1108
|
+
def promote_project_dashboard(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) -> object: # noqa: E501
|
1104
1109
|
"""Promote project dashboard # noqa: E501
|
1105
1110
|
|
1106
1111
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1128,7 +1133,7 @@ class ProjectDashboardsV1Api(object):
|
|
1128
1133
|
:return: Returns the result object.
|
1129
1134
|
If the method is called asynchronously,
|
1130
1135
|
returns the request thread.
|
1131
|
-
:rtype:
|
1136
|
+
:rtype: object
|
1132
1137
|
"""
|
1133
1138
|
kwargs['_return_http_data_only'] = True
|
1134
1139
|
return self.promote_project_dashboard_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
@@ -1170,7 +1175,7 @@ class ProjectDashboardsV1Api(object):
|
|
1170
1175
|
:return: Returns the result object.
|
1171
1176
|
If the method is called asynchronously,
|
1172
1177
|
returns the request thread.
|
1173
|
-
:rtype:
|
1178
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1174
1179
|
"""
|
1175
1180
|
|
1176
1181
|
_params = locals()
|
@@ -1232,7 +1237,12 @@ class ProjectDashboardsV1Api(object):
|
|
1232
1237
|
# authentication setting
|
1233
1238
|
_auth_settings = ['ApiKey'] # noqa: E501
|
1234
1239
|
|
1235
|
-
_response_types_map = {
|
1240
|
+
_response_types_map = {
|
1241
|
+
'200': "object",
|
1242
|
+
'204': "object",
|
1243
|
+
'403': "object",
|
1244
|
+
'404': "object",
|
1245
|
+
}
|
1236
1246
|
|
1237
1247
|
return self.api_client.call_api(
|
1238
1248
|
'/api/v1/{owner}/{entity}/dashboards/{uuid}/promote', 'POST',
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.
|
8
|
+
The version of the OpenAPI document: 2.4.0-rc0
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -20,7 +20,7 @@ from typing_extensions import Annotated
|
|
20
20
|
|
21
21
|
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
22
22
|
|
23
|
-
from typing import Optional
|
23
|
+
from typing import Any, Dict, Optional
|
24
24
|
|
25
25
|
from polyaxon_sdk.models.v1_list_searches_response import V1ListSearchesResponse
|
26
26
|
from polyaxon_sdk.models.v1_search import V1Search
|
@@ -209,7 +209,7 @@ class ProjectSearchesV1Api(object):
|
|
209
209
|
_request_auth=_params.get('_request_auth'))
|
210
210
|
|
211
211
|
@validate_arguments
|
212
|
-
def delete_project_search(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) ->
|
212
|
+
def delete_project_search(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) -> object: # noqa: E501
|
213
213
|
"""Delete project search # noqa: E501
|
214
214
|
|
215
215
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -237,7 +237,7 @@ class ProjectSearchesV1Api(object):
|
|
237
237
|
:return: Returns the result object.
|
238
238
|
If the method is called asynchronously,
|
239
239
|
returns the request thread.
|
240
|
-
:rtype:
|
240
|
+
:rtype: object
|
241
241
|
"""
|
242
242
|
kwargs['_return_http_data_only'] = True
|
243
243
|
return self.delete_project_search_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
@@ -279,7 +279,7 @@ class ProjectSearchesV1Api(object):
|
|
279
279
|
:return: Returns the result object.
|
280
280
|
If the method is called asynchronously,
|
281
281
|
returns the request thread.
|
282
|
-
:rtype:
|
282
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
283
283
|
"""
|
284
284
|
|
285
285
|
_params = locals()
|
@@ -341,7 +341,12 @@ class ProjectSearchesV1Api(object):
|
|
341
341
|
# authentication setting
|
342
342
|
_auth_settings = ['ApiKey'] # noqa: E501
|
343
343
|
|
344
|
-
_response_types_map = {
|
344
|
+
_response_types_map = {
|
345
|
+
'200': "object",
|
346
|
+
'204': "object",
|
347
|
+
'403': "object",
|
348
|
+
'404': "object",
|
349
|
+
}
|
345
350
|
|
346
351
|
return self.api_client.call_api(
|
347
352
|
'/api/v1/{owner}/{entity}/searches/{uuid}', 'DELETE',
|
@@ -1100,7 +1105,7 @@ class ProjectSearchesV1Api(object):
|
|
1100
1105
|
_request_auth=_params.get('_request_auth'))
|
1101
1106
|
|
1102
1107
|
@validate_arguments
|
1103
|
-
def promote_project_search(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) ->
|
1108
|
+
def promote_project_search(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) -> object: # noqa: E501
|
1104
1109
|
"""Promote project search # noqa: E501
|
1105
1110
|
|
1106
1111
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1128,7 +1133,7 @@ class ProjectSearchesV1Api(object):
|
|
1128
1133
|
:return: Returns the result object.
|
1129
1134
|
If the method is called asynchronously,
|
1130
1135
|
returns the request thread.
|
1131
|
-
:rtype:
|
1136
|
+
:rtype: object
|
1132
1137
|
"""
|
1133
1138
|
kwargs['_return_http_data_only'] = True
|
1134
1139
|
return self.promote_project_search_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
@@ -1170,7 +1175,7 @@ class ProjectSearchesV1Api(object):
|
|
1170
1175
|
:return: Returns the result object.
|
1171
1176
|
If the method is called asynchronously,
|
1172
1177
|
returns the request thread.
|
1173
|
-
:rtype:
|
1178
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1174
1179
|
"""
|
1175
1180
|
|
1176
1181
|
_params = locals()
|
@@ -1232,7 +1237,12 @@ class ProjectSearchesV1Api(object):
|
|
1232
1237
|
# authentication setting
|
1233
1238
|
_auth_settings = ['ApiKey'] # noqa: E501
|
1234
1239
|
|
1235
|
-
_response_types_map = {
|
1240
|
+
_response_types_map = {
|
1241
|
+
'200': "object",
|
1242
|
+
'204': "object",
|
1243
|
+
'403': "object",
|
1244
|
+
'404': "object",
|
1245
|
+
}
|
1236
1246
|
|
1237
1247
|
return self.api_client.call_api(
|
1238
1248
|
'/api/v1/{owner}/{entity}/searches/{uuid}/promote', 'POST',
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.
|
8
|
+
The version of the OpenAPI document: 2.4.0-rc0
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -52,7 +52,7 @@ class ProjectsV1Api(object):
|
|
52
52
|
self.api_client = api_client
|
53
53
|
|
54
54
|
@validate_arguments
|
55
|
-
def archive_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
55
|
+
def archive_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
56
56
|
"""Archive project # noqa: E501
|
57
57
|
|
58
58
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -78,7 +78,7 @@ class ProjectsV1Api(object):
|
|
78
78
|
:return: Returns the result object.
|
79
79
|
If the method is called asynchronously,
|
80
80
|
returns the request thread.
|
81
|
-
:rtype:
|
81
|
+
:rtype: object
|
82
82
|
"""
|
83
83
|
kwargs['_return_http_data_only'] = True
|
84
84
|
return self.archive_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -118,7 +118,7 @@ class ProjectsV1Api(object):
|
|
118
118
|
:return: Returns the result object.
|
119
119
|
If the method is called asynchronously,
|
120
120
|
returns the request thread.
|
121
|
-
:rtype:
|
121
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
122
122
|
"""
|
123
123
|
|
124
124
|
_params = locals()
|
@@ -176,7 +176,12 @@ class ProjectsV1Api(object):
|
|
176
176
|
# authentication setting
|
177
177
|
_auth_settings = ['ApiKey'] # noqa: E501
|
178
178
|
|
179
|
-
_response_types_map = {
|
179
|
+
_response_types_map = {
|
180
|
+
'200': "object",
|
181
|
+
'204': "object",
|
182
|
+
'403': "object",
|
183
|
+
'404': "object",
|
184
|
+
}
|
180
185
|
|
181
186
|
return self.api_client.call_api(
|
182
187
|
'/api/v1/{owner}/{name}/archive', 'POST',
|
@@ -196,7 +201,7 @@ class ProjectsV1Api(object):
|
|
196
201
|
_request_auth=_params.get('_request_auth'))
|
197
202
|
|
198
203
|
@validate_arguments
|
199
|
-
def bookmark_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
204
|
+
def bookmark_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
200
205
|
"""Bookmark project # noqa: E501
|
201
206
|
|
202
207
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -222,7 +227,7 @@ class ProjectsV1Api(object):
|
|
222
227
|
:return: Returns the result object.
|
223
228
|
If the method is called asynchronously,
|
224
229
|
returns the request thread.
|
225
|
-
:rtype:
|
230
|
+
:rtype: object
|
226
231
|
"""
|
227
232
|
kwargs['_return_http_data_only'] = True
|
228
233
|
return self.bookmark_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -262,7 +267,7 @@ class ProjectsV1Api(object):
|
|
262
267
|
:return: Returns the result object.
|
263
268
|
If the method is called asynchronously,
|
264
269
|
returns the request thread.
|
265
|
-
:rtype:
|
270
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
266
271
|
"""
|
267
272
|
|
268
273
|
_params = locals()
|
@@ -320,7 +325,12 @@ class ProjectsV1Api(object):
|
|
320
325
|
# authentication setting
|
321
326
|
_auth_settings = ['ApiKey'] # noqa: E501
|
322
327
|
|
323
|
-
_response_types_map = {
|
328
|
+
_response_types_map = {
|
329
|
+
'200': "object",
|
330
|
+
'204': "object",
|
331
|
+
'403': "object",
|
332
|
+
'404': "object",
|
333
|
+
}
|
324
334
|
|
325
335
|
return self.api_client.call_api(
|
326
336
|
'/api/v1/{owner}/{name}/bookmark', 'POST',
|
@@ -1012,7 +1022,7 @@ class ProjectsV1Api(object):
|
|
1012
1022
|
_request_auth=_params.get('_request_auth'))
|
1013
1023
|
|
1014
1024
|
@validate_arguments
|
1015
|
-
def delete_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
1025
|
+
def delete_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
1016
1026
|
"""Delete project # noqa: E501
|
1017
1027
|
|
1018
1028
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1038,7 +1048,7 @@ class ProjectsV1Api(object):
|
|
1038
1048
|
:return: Returns the result object.
|
1039
1049
|
If the method is called asynchronously,
|
1040
1050
|
returns the request thread.
|
1041
|
-
:rtype:
|
1051
|
+
:rtype: object
|
1042
1052
|
"""
|
1043
1053
|
kwargs['_return_http_data_only'] = True
|
1044
1054
|
return self.delete_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -1078,7 +1088,7 @@ class ProjectsV1Api(object):
|
|
1078
1088
|
:return: Returns the result object.
|
1079
1089
|
If the method is called asynchronously,
|
1080
1090
|
returns the request thread.
|
1081
|
-
:rtype:
|
1091
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1082
1092
|
"""
|
1083
1093
|
|
1084
1094
|
_params = locals()
|
@@ -1136,7 +1146,12 @@ class ProjectsV1Api(object):
|
|
1136
1146
|
# authentication setting
|
1137
1147
|
_auth_settings = ['ApiKey'] # noqa: E501
|
1138
1148
|
|
1139
|
-
_response_types_map = {
|
1149
|
+
_response_types_map = {
|
1150
|
+
'200': "object",
|
1151
|
+
'204': "object",
|
1152
|
+
'403': "object",
|
1153
|
+
'404': "object",
|
1154
|
+
}
|
1140
1155
|
|
1141
1156
|
return self.api_client.call_api(
|
1142
1157
|
'/api/v1/{owner}/{name}', 'DELETE',
|
@@ -1156,7 +1171,7 @@ class ProjectsV1Api(object):
|
|
1156
1171
|
_request_auth=_params.get('_request_auth'))
|
1157
1172
|
|
1158
1173
|
@validate_arguments
|
1159
|
-
def delete_version(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], kind : Annotated[StrictStr, Field(..., description="Version Kind")], name : Annotated[StrictStr, Field(..., description="Sub-entity name")], **kwargs) ->
|
1174
|
+
def delete_version(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], kind : Annotated[StrictStr, Field(..., description="Version Kind")], name : Annotated[StrictStr, Field(..., description="Sub-entity name")], **kwargs) -> object: # noqa: E501
|
1160
1175
|
"""Delete version # noqa: E501
|
1161
1176
|
|
1162
1177
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1186,7 +1201,7 @@ class ProjectsV1Api(object):
|
|
1186
1201
|
:return: Returns the result object.
|
1187
1202
|
If the method is called asynchronously,
|
1188
1203
|
returns the request thread.
|
1189
|
-
:rtype:
|
1204
|
+
:rtype: object
|
1190
1205
|
"""
|
1191
1206
|
kwargs['_return_http_data_only'] = True
|
1192
1207
|
return self.delete_version_with_http_info(owner, entity, kind, name, **kwargs) # noqa: E501
|
@@ -1230,7 +1245,7 @@ class ProjectsV1Api(object):
|
|
1230
1245
|
:return: Returns the result object.
|
1231
1246
|
If the method is called asynchronously,
|
1232
1247
|
returns the request thread.
|
1233
|
-
:rtype:
|
1248
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1234
1249
|
"""
|
1235
1250
|
|
1236
1251
|
_params = locals()
|
@@ -1296,7 +1311,12 @@ class ProjectsV1Api(object):
|
|
1296
1311
|
# authentication setting
|
1297
1312
|
_auth_settings = ['ApiKey'] # noqa: E501
|
1298
1313
|
|
1299
|
-
_response_types_map = {
|
1314
|
+
_response_types_map = {
|
1315
|
+
'200': "object",
|
1316
|
+
'204': "object",
|
1317
|
+
'403': "object",
|
1318
|
+
'404': "object",
|
1319
|
+
}
|
1300
1320
|
|
1301
1321
|
return self.api_client.call_api(
|
1302
1322
|
'/api/v1/{owner}/{entity}/versions/{kind}/{name}', 'DELETE',
|
@@ -1316,7 +1336,7 @@ class ProjectsV1Api(object):
|
|
1316
1336
|
_request_auth=_params.get('_request_auth'))
|
1317
1337
|
|
1318
1338
|
@validate_arguments
|
1319
|
-
def disable_project_ci(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
1339
|
+
def disable_project_ci(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
1320
1340
|
"""Disbale project CI # noqa: E501
|
1321
1341
|
|
1322
1342
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1342,7 +1362,7 @@ class ProjectsV1Api(object):
|
|
1342
1362
|
:return: Returns the result object.
|
1343
1363
|
If the method is called asynchronously,
|
1344
1364
|
returns the request thread.
|
1345
|
-
:rtype:
|
1365
|
+
:rtype: object
|
1346
1366
|
"""
|
1347
1367
|
kwargs['_return_http_data_only'] = True
|
1348
1368
|
return self.disable_project_ci_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -1382,7 +1402,7 @@ class ProjectsV1Api(object):
|
|
1382
1402
|
:return: Returns the result object.
|
1383
1403
|
If the method is called asynchronously,
|
1384
1404
|
returns the request thread.
|
1385
|
-
:rtype:
|
1405
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1386
1406
|
"""
|
1387
1407
|
|
1388
1408
|
_params = locals()
|
@@ -1440,7 +1460,12 @@ class ProjectsV1Api(object):
|
|
1440
1460
|
# authentication setting
|
1441
1461
|
_auth_settings = ['ApiKey'] # noqa: E501
|
1442
1462
|
|
1443
|
-
_response_types_map = {
|
1463
|
+
_response_types_map = {
|
1464
|
+
'200': "object",
|
1465
|
+
'204': "object",
|
1466
|
+
'403': "object",
|
1467
|
+
'404': "object",
|
1468
|
+
}
|
1444
1469
|
|
1445
1470
|
return self.api_client.call_api(
|
1446
1471
|
'/api/v1/{owner}/{name}/ci', 'DELETE',
|
@@ -1460,7 +1485,7 @@ class ProjectsV1Api(object):
|
|
1460
1485
|
_request_auth=_params.get('_request_auth'))
|
1461
1486
|
|
1462
1487
|
@validate_arguments
|
1463
|
-
def enable_project_ci(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
1488
|
+
def enable_project_ci(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
1464
1489
|
"""Enable project CI # noqa: E501
|
1465
1490
|
|
1466
1491
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -1486,7 +1511,7 @@ class ProjectsV1Api(object):
|
|
1486
1511
|
:return: Returns the result object.
|
1487
1512
|
If the method is called asynchronously,
|
1488
1513
|
returns the request thread.
|
1489
|
-
:rtype:
|
1514
|
+
:rtype: object
|
1490
1515
|
"""
|
1491
1516
|
kwargs['_return_http_data_only'] = True
|
1492
1517
|
return self.enable_project_ci_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -1526,7 +1551,7 @@ class ProjectsV1Api(object):
|
|
1526
1551
|
:return: Returns the result object.
|
1527
1552
|
If the method is called asynchronously,
|
1528
1553
|
returns the request thread.
|
1529
|
-
:rtype:
|
1554
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
1530
1555
|
"""
|
1531
1556
|
|
1532
1557
|
_params = locals()
|
@@ -1584,7 +1609,12 @@ class ProjectsV1Api(object):
|
|
1584
1609
|
# authentication setting
|
1585
1610
|
_auth_settings = ['ApiKey'] # noqa: E501
|
1586
1611
|
|
1587
|
-
_response_types_map = {
|
1612
|
+
_response_types_map = {
|
1613
|
+
'200': "object",
|
1614
|
+
'204': "object",
|
1615
|
+
'403': "object",
|
1616
|
+
'404': "object",
|
1617
|
+
}
|
1588
1618
|
|
1589
1619
|
return self.api_client.call_api(
|
1590
1620
|
'/api/v1/{owner}/{name}/ci', 'POST',
|
@@ -4324,7 +4354,7 @@ class ProjectsV1Api(object):
|
|
4324
4354
|
_request_auth=_params.get('_request_auth'))
|
4325
4355
|
|
4326
4356
|
@validate_arguments
|
4327
|
-
def restore_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
4357
|
+
def restore_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
4328
4358
|
"""Restore project # noqa: E501
|
4329
4359
|
|
4330
4360
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -4350,7 +4380,7 @@ class ProjectsV1Api(object):
|
|
4350
4380
|
:return: Returns the result object.
|
4351
4381
|
If the method is called asynchronously,
|
4352
4382
|
returns the request thread.
|
4353
|
-
:rtype:
|
4383
|
+
:rtype: object
|
4354
4384
|
"""
|
4355
4385
|
kwargs['_return_http_data_only'] = True
|
4356
4386
|
return self.restore_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -4390,7 +4420,7 @@ class ProjectsV1Api(object):
|
|
4390
4420
|
:return: Returns the result object.
|
4391
4421
|
If the method is called asynchronously,
|
4392
4422
|
returns the request thread.
|
4393
|
-
:rtype:
|
4423
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
4394
4424
|
"""
|
4395
4425
|
|
4396
4426
|
_params = locals()
|
@@ -4448,7 +4478,12 @@ class ProjectsV1Api(object):
|
|
4448
4478
|
# authentication setting
|
4449
4479
|
_auth_settings = ['ApiKey'] # noqa: E501
|
4450
4480
|
|
4451
|
-
_response_types_map = {
|
4481
|
+
_response_types_map = {
|
4482
|
+
'200': "object",
|
4483
|
+
'204': "object",
|
4484
|
+
'403': "object",
|
4485
|
+
'404': "object",
|
4486
|
+
}
|
4452
4487
|
|
4453
4488
|
return self.api_client.call_api(
|
4454
4489
|
'/api/v1/{owner}/{name}/restore', 'POST',
|
@@ -4468,7 +4503,7 @@ class ProjectsV1Api(object):
|
|
4468
4503
|
_request_auth=_params.get('_request_auth'))
|
4469
4504
|
|
4470
4505
|
@validate_arguments
|
4471
|
-
def transfer_version(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], project : Annotated[StrictStr, Field(..., description="Project name")], version_kind : Annotated[StrictStr, Field(..., description="Optional kind to tell the kind of this version")], version_name : Annotated[StrictStr, Field(..., description="Optional component name, should be a valid fully qualified value: name[:version]")], body : Annotated[V1ProjectVersion, Field(..., description="Project version body")], **kwargs) ->
|
4506
|
+
def transfer_version(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], project : Annotated[StrictStr, Field(..., description="Project name")], version_kind : Annotated[StrictStr, Field(..., description="Optional kind to tell the kind of this version")], version_name : Annotated[StrictStr, Field(..., description="Optional component name, should be a valid fully qualified value: name[:version]")], body : Annotated[V1ProjectVersion, Field(..., description="Project version body")], **kwargs) -> object: # noqa: E501
|
4472
4507
|
"""Transfer version # noqa: E501
|
4473
4508
|
|
4474
4509
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -4500,7 +4535,7 @@ class ProjectsV1Api(object):
|
|
4500
4535
|
:return: Returns the result object.
|
4501
4536
|
If the method is called asynchronously,
|
4502
4537
|
returns the request thread.
|
4503
|
-
:rtype:
|
4538
|
+
:rtype: object
|
4504
4539
|
"""
|
4505
4540
|
kwargs['_return_http_data_only'] = True
|
4506
4541
|
return self.transfer_version_with_http_info(owner, project, version_kind, version_name, body, **kwargs) # noqa: E501
|
@@ -4546,7 +4581,7 @@ class ProjectsV1Api(object):
|
|
4546
4581
|
:return: Returns the result object.
|
4547
4582
|
If the method is called asynchronously,
|
4548
4583
|
returns the request thread.
|
4549
|
-
:rtype:
|
4584
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
4550
4585
|
"""
|
4551
4586
|
|
4552
4587
|
_params = locals()
|
@@ -4623,7 +4658,12 @@ class ProjectsV1Api(object):
|
|
4623
4658
|
# authentication setting
|
4624
4659
|
_auth_settings = ['ApiKey'] # noqa: E501
|
4625
4660
|
|
4626
|
-
_response_types_map = {
|
4661
|
+
_response_types_map = {
|
4662
|
+
'200': "object",
|
4663
|
+
'204': "object",
|
4664
|
+
'403': "object",
|
4665
|
+
'404': "object",
|
4666
|
+
}
|
4627
4667
|
|
4628
4668
|
return self.api_client.call_api(
|
4629
4669
|
'/api/v1/{owner}/{project}/versions/{version.kind}/{version.name}/transfer', 'POST',
|
@@ -4643,7 +4683,7 @@ class ProjectsV1Api(object):
|
|
4643
4683
|
_request_auth=_params.get('_request_auth'))
|
4644
4684
|
|
4645
4685
|
@validate_arguments
|
4646
|
-
def unbookmark_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) ->
|
4686
|
+
def unbookmark_project(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Component under namespace")], **kwargs) -> object: # noqa: E501
|
4647
4687
|
"""Unbookmark project # noqa: E501
|
4648
4688
|
|
4649
4689
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -4669,7 +4709,7 @@ class ProjectsV1Api(object):
|
|
4669
4709
|
:return: Returns the result object.
|
4670
4710
|
If the method is called asynchronously,
|
4671
4711
|
returns the request thread.
|
4672
|
-
:rtype:
|
4712
|
+
:rtype: object
|
4673
4713
|
"""
|
4674
4714
|
kwargs['_return_http_data_only'] = True
|
4675
4715
|
return self.unbookmark_project_with_http_info(owner, name, **kwargs) # noqa: E501
|
@@ -4709,7 +4749,7 @@ class ProjectsV1Api(object):
|
|
4709
4749
|
:return: Returns the result object.
|
4710
4750
|
If the method is called asynchronously,
|
4711
4751
|
returns the request thread.
|
4712
|
-
:rtype:
|
4752
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
4713
4753
|
"""
|
4714
4754
|
|
4715
4755
|
_params = locals()
|
@@ -4767,7 +4807,12 @@ class ProjectsV1Api(object):
|
|
4767
4807
|
# authentication setting
|
4768
4808
|
_auth_settings = ['ApiKey'] # noqa: E501
|
4769
4809
|
|
4770
|
-
_response_types_map = {
|
4810
|
+
_response_types_map = {
|
4811
|
+
'200': "object",
|
4812
|
+
'204': "object",
|
4813
|
+
'403': "object",
|
4814
|
+
'404': "object",
|
4815
|
+
}
|
4771
4816
|
|
4772
4817
|
return self.api_client.call_api(
|
4773
4818
|
'/api/v1/{owner}/{name}/unbookmark', 'DELETE',
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 2.
|
8
|
+
The version of the OpenAPI document: 2.4.0-rc0
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -20,7 +20,7 @@ from typing_extensions import Annotated
|
|
20
20
|
|
21
21
|
from pydantic import Field, StrictBool, StrictInt, StrictStr
|
22
22
|
|
23
|
-
from typing import Optional
|
23
|
+
from typing import Any, Dict, Optional
|
24
24
|
|
25
25
|
from polyaxon_sdk.models.v1_list_queues_response import V1ListQueuesResponse
|
26
26
|
from polyaxon_sdk.models.v1_queue import V1Queue
|
@@ -209,7 +209,7 @@ class QueuesV1Api(object):
|
|
209
209
|
_request_auth=_params.get('_request_auth'))
|
210
210
|
|
211
211
|
@validate_arguments
|
212
|
-
def delete_queue(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) ->
|
212
|
+
def delete_queue(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity: project name, hub name, registry name, ...")], uuid : Annotated[StrictStr, Field(..., description="Uuid identifier of the sub-entity")], **kwargs) -> object: # noqa: E501
|
213
213
|
"""Delete queue # noqa: E501
|
214
214
|
|
215
215
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -237,7 +237,7 @@ class QueuesV1Api(object):
|
|
237
237
|
:return: Returns the result object.
|
238
238
|
If the method is called asynchronously,
|
239
239
|
returns the request thread.
|
240
|
-
:rtype:
|
240
|
+
:rtype: object
|
241
241
|
"""
|
242
242
|
kwargs['_return_http_data_only'] = True
|
243
243
|
return self.delete_queue_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
|
@@ -279,7 +279,7 @@ class QueuesV1Api(object):
|
|
279
279
|
:return: Returns the result object.
|
280
280
|
If the method is called asynchronously,
|
281
281
|
returns the request thread.
|
282
|
-
:rtype:
|
282
|
+
:rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
|
283
283
|
"""
|
284
284
|
|
285
285
|
_params = locals()
|
@@ -341,7 +341,12 @@ class QueuesV1Api(object):
|
|
341
341
|
# authentication setting
|
342
342
|
_auth_settings = ['ApiKey'] # noqa: E501
|
343
343
|
|
344
|
-
_response_types_map = {
|
344
|
+
_response_types_map = {
|
345
|
+
'200': "object",
|
346
|
+
'204': "object",
|
347
|
+
'403': "object",
|
348
|
+
'404': "object",
|
349
|
+
}
|
345
350
|
|
346
351
|
return self.api_client.call_api(
|
347
352
|
'/api/v1/orgs/{owner}/agents/{entity}/queues/{uuid}', 'DELETE',
|