polyaxon-sdk 2.2.0rc1__py2.py3-none-any.whl → 2.3.0__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 +1 -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 +601 -1
- polyaxon_sdk/api/policies_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 +27 -27
- 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 +601 -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 +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 +9 -3
- polyaxon_sdk/models/v1_preset_settings.py +88 -0
- 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_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.2.0rc1.dist-info → polyaxon_sdk-2.3.0.dist-info}/METADATA +1 -1
- polyaxon_sdk-2.3.0.dist-info/RECORD +265 -0
- polyaxon_sdk-2.2.0rc1.dist-info/RECORD +0 -264
- {polyaxon_sdk-2.2.0rc1.dist-info → polyaxon_sdk-2.3.0.dist-info}/WHEEL +0 -0
- {polyaxon_sdk-2.2.0rc1.dist-info → polyaxon_sdk-2.3.0.dist-info}/top_level.txt +0 -0
polyaxon_sdk/api/teams_v1_api.py
CHANGED
@@ -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.3.0
|
9
9
|
Contact: contact@polyaxon.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -26,9 +26,11 @@ from polyaxon_sdk.models.v1_entities_tags import V1EntitiesTags
|
|
26
26
|
from polyaxon_sdk.models.v1_entities_transfer import V1EntitiesTransfer
|
27
27
|
from polyaxon_sdk.models.v1_list_activities_response import V1ListActivitiesResponse
|
28
28
|
from polyaxon_sdk.models.v1_list_project_versions_response import V1ListProjectVersionsResponse
|
29
|
+
from polyaxon_sdk.models.v1_list_run_artifacts_response import V1ListRunArtifactsResponse
|
29
30
|
from polyaxon_sdk.models.v1_list_runs_response import V1ListRunsResponse
|
30
31
|
from polyaxon_sdk.models.v1_list_team_members_response import V1ListTeamMembersResponse
|
31
32
|
from polyaxon_sdk.models.v1_list_teams_response import V1ListTeamsResponse
|
33
|
+
from polyaxon_sdk.models.v1_multi_events_response import V1MultiEventsResponse
|
32
34
|
from polyaxon_sdk.models.v1_run import V1Run
|
33
35
|
from polyaxon_sdk.models.v1_team import V1Team
|
34
36
|
from polyaxon_sdk.models.v1_team_member import V1TeamMember
|
@@ -1816,6 +1818,399 @@ class TeamsV1Api(object):
|
|
1816
1818
|
collection_formats=_collection_formats,
|
1817
1819
|
_request_auth=_params.get('_request_auth'))
|
1818
1820
|
|
1821
|
+
@validate_arguments
|
1822
|
+
def get_team_multi_run_events(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity where the run will be assigned")], kind : Annotated[StrictStr, Field(..., description="The artifact kind")], names : Annotated[Optional[StrictStr], Field(description="Names query param.")] = None, runs : Annotated[Optional[StrictStr], Field(description="Runs query param.")] = None, orient : Annotated[Optional[StrictStr], Field(description="Orient query param.")] = None, force : Annotated[Optional[StrictBool], Field(description="Force query param.")] = None, sample : Annotated[Optional[StrictInt], Field(description="Sample query param.")] = None, connection : Annotated[Optional[StrictStr], Field(description="Connection to use.")] = None, status : Annotated[Optional[StrictStr], Field(description="Optional status.")] = None, **kwargs) -> V1MultiEventsResponse: # noqa: E501
|
1823
|
+
"""Get multi runs events # 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.get_team_multi_run_events(namespace, owner, entity, kind, names, runs, orient, force, sample, connection, status, 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 entity: Entity where the run will be assigned (required)
|
1836
|
+
:type entity: str
|
1837
|
+
:param kind: The artifact kind (required)
|
1838
|
+
:type kind: str
|
1839
|
+
:param names: Names query param.
|
1840
|
+
:type names: str
|
1841
|
+
:param runs: Runs query param.
|
1842
|
+
:type runs: str
|
1843
|
+
:param orient: Orient query param.
|
1844
|
+
:type orient: str
|
1845
|
+
:param force: Force query param.
|
1846
|
+
:type force: bool
|
1847
|
+
:param sample: Sample query param.
|
1848
|
+
:type sample: int
|
1849
|
+
:param connection: Connection to use.
|
1850
|
+
:type connection: str
|
1851
|
+
:param status: Optional status.
|
1852
|
+
:type status: str
|
1853
|
+
:param async_req: Whether to execute the request asynchronously.
|
1854
|
+
:type async_req: bool, optional
|
1855
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1856
|
+
be returned without reading/decoding response
|
1857
|
+
data. Default is True.
|
1858
|
+
:type _preload_content: bool, optional
|
1859
|
+
:param _request_timeout: timeout setting for this request. If one
|
1860
|
+
number provided, it will be total request
|
1861
|
+
timeout. It can also be a pair (tuple) of
|
1862
|
+
(connection, read) timeouts.
|
1863
|
+
:return: Returns the result object.
|
1864
|
+
If the method is called asynchronously,
|
1865
|
+
returns the request thread.
|
1866
|
+
:rtype: V1MultiEventsResponse
|
1867
|
+
"""
|
1868
|
+
kwargs['_return_http_data_only'] = True
|
1869
|
+
return self.get_team_multi_run_events_with_http_info(namespace, owner, entity, kind, names, runs, orient, force, sample, connection, status, **kwargs) # noqa: E501
|
1870
|
+
|
1871
|
+
@validate_arguments
|
1872
|
+
def get_team_multi_run_events_with_http_info(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity where the run will be assigned")], kind : Annotated[StrictStr, Field(..., description="The artifact kind")], names : Annotated[Optional[StrictStr], Field(description="Names query param.")] = None, runs : Annotated[Optional[StrictStr], Field(description="Runs query param.")] = None, orient : Annotated[Optional[StrictStr], Field(description="Orient query param.")] = None, force : Annotated[Optional[StrictBool], Field(description="Force query param.")] = None, sample : Annotated[Optional[StrictInt], Field(description="Sample query param.")] = None, connection : Annotated[Optional[StrictStr], Field(description="Connection to use.")] = None, status : Annotated[Optional[StrictStr], Field(description="Optional status.")] = None, **kwargs): # noqa: E501
|
1873
|
+
"""Get multi runs events # noqa: E501
|
1874
|
+
|
1875
|
+
This method makes a synchronous HTTP request by default. To make an
|
1876
|
+
asynchronous HTTP request, please pass async_req=True
|
1877
|
+
|
1878
|
+
>>> thread = api.get_team_multi_run_events_with_http_info(namespace, owner, entity, kind, names, runs, orient, force, sample, connection, status, async_req=True)
|
1879
|
+
>>> result = thread.get()
|
1880
|
+
|
1881
|
+
:param namespace: namespace (required)
|
1882
|
+
:type namespace: str
|
1883
|
+
:param owner: Owner of the namespace (required)
|
1884
|
+
:type owner: str
|
1885
|
+
:param entity: Entity where the run will be assigned (required)
|
1886
|
+
:type entity: str
|
1887
|
+
:param kind: The artifact kind (required)
|
1888
|
+
:type kind: str
|
1889
|
+
:param names: Names query param.
|
1890
|
+
:type names: str
|
1891
|
+
:param runs: Runs query param.
|
1892
|
+
:type runs: str
|
1893
|
+
:param orient: Orient query param.
|
1894
|
+
:type orient: str
|
1895
|
+
:param force: Force query param.
|
1896
|
+
:type force: bool
|
1897
|
+
:param sample: Sample query param.
|
1898
|
+
:type sample: int
|
1899
|
+
:param connection: Connection to use.
|
1900
|
+
:type connection: str
|
1901
|
+
:param status: Optional status.
|
1902
|
+
:type status: str
|
1903
|
+
:param async_req: Whether to execute the request asynchronously.
|
1904
|
+
:type async_req: bool, optional
|
1905
|
+
:param _return_http_data_only: response data without head status code
|
1906
|
+
and headers
|
1907
|
+
:type _return_http_data_only: bool, optional
|
1908
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
1909
|
+
be returned without reading/decoding response
|
1910
|
+
data. Default is True.
|
1911
|
+
:type _preload_content: bool, optional
|
1912
|
+
:param _request_timeout: timeout setting for this request. If one
|
1913
|
+
number provided, it will be total request
|
1914
|
+
timeout. It can also be a pair (tuple) of
|
1915
|
+
(connection, read) timeouts.
|
1916
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1917
|
+
request; this effectively ignores the authentication
|
1918
|
+
in the spec for a single request.
|
1919
|
+
:type _request_auth: dict, optional
|
1920
|
+
:type _content_type: string, optional: force content-type for the request
|
1921
|
+
:return: Returns the result object.
|
1922
|
+
If the method is called asynchronously,
|
1923
|
+
returns the request thread.
|
1924
|
+
:rtype: tuple(V1MultiEventsResponse, status_code(int), headers(HTTPHeaderDict))
|
1925
|
+
"""
|
1926
|
+
|
1927
|
+
_params = locals()
|
1928
|
+
|
1929
|
+
_all_params = [
|
1930
|
+
'namespace',
|
1931
|
+
'owner',
|
1932
|
+
'entity',
|
1933
|
+
'kind',
|
1934
|
+
'names',
|
1935
|
+
'runs',
|
1936
|
+
'orient',
|
1937
|
+
'force',
|
1938
|
+
'sample',
|
1939
|
+
'connection',
|
1940
|
+
'status'
|
1941
|
+
]
|
1942
|
+
_all_params.extend(
|
1943
|
+
[
|
1944
|
+
'async_req',
|
1945
|
+
'_return_http_data_only',
|
1946
|
+
'_preload_content',
|
1947
|
+
'_request_timeout',
|
1948
|
+
'_request_auth',
|
1949
|
+
'_content_type',
|
1950
|
+
'_headers'
|
1951
|
+
]
|
1952
|
+
)
|
1953
|
+
|
1954
|
+
# validate the arguments
|
1955
|
+
for _key, _val in _params['kwargs'].items():
|
1956
|
+
if _key not in _all_params:
|
1957
|
+
raise ApiTypeError(
|
1958
|
+
"Got an unexpected keyword argument '%s'"
|
1959
|
+
" to method get_team_multi_run_events" % _key
|
1960
|
+
)
|
1961
|
+
_params[_key] = _val
|
1962
|
+
del _params['kwargs']
|
1963
|
+
|
1964
|
+
_collection_formats = {}
|
1965
|
+
|
1966
|
+
# process the path parameters
|
1967
|
+
_path_params = {}
|
1968
|
+
if _params['namespace']:
|
1969
|
+
_path_params['namespace'] = _params['namespace']
|
1970
|
+
|
1971
|
+
if _params['owner']:
|
1972
|
+
_path_params['owner'] = _params['owner']
|
1973
|
+
|
1974
|
+
if _params['entity']:
|
1975
|
+
_path_params['entity'] = _params['entity']
|
1976
|
+
|
1977
|
+
if _params['kind']:
|
1978
|
+
_path_params['kind'] = _params['kind']
|
1979
|
+
|
1980
|
+
|
1981
|
+
# process the query parameters
|
1982
|
+
_query_params = []
|
1983
|
+
if _params.get('names') is not None: # noqa: E501
|
1984
|
+
_query_params.append(('names', _params['names']))
|
1985
|
+
|
1986
|
+
if _params.get('runs') is not None: # noqa: E501
|
1987
|
+
_query_params.append(('runs', _params['runs']))
|
1988
|
+
|
1989
|
+
if _params.get('orient') is not None: # noqa: E501
|
1990
|
+
_query_params.append(('orient', _params['orient']))
|
1991
|
+
|
1992
|
+
if _params.get('force') is not None: # noqa: E501
|
1993
|
+
_query_params.append(('force', _params['force']))
|
1994
|
+
|
1995
|
+
if _params.get('sample') is not None: # noqa: E501
|
1996
|
+
_query_params.append(('sample', _params['sample']))
|
1997
|
+
|
1998
|
+
if _params.get('connection') is not None: # noqa: E501
|
1999
|
+
_query_params.append(('connection', _params['connection']))
|
2000
|
+
|
2001
|
+
if _params.get('status') is not None: # noqa: E501
|
2002
|
+
_query_params.append(('status', _params['status']))
|
2003
|
+
|
2004
|
+
# process the header parameters
|
2005
|
+
_header_params = dict(_params.get('_headers', {}))
|
2006
|
+
# process the form parameters
|
2007
|
+
_form_params = []
|
2008
|
+
_files = {}
|
2009
|
+
# process the body parameter
|
2010
|
+
_body_params = None
|
2011
|
+
# set the HTTP header `Accept`
|
2012
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2013
|
+
['application/json']) # noqa: E501
|
2014
|
+
|
2015
|
+
# authentication setting
|
2016
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
2017
|
+
|
2018
|
+
_response_types_map = {
|
2019
|
+
'200': "V1MultiEventsResponse",
|
2020
|
+
'204': "object",
|
2021
|
+
'403': "object",
|
2022
|
+
'404': "object",
|
2023
|
+
}
|
2024
|
+
|
2025
|
+
return self.api_client.call_api(
|
2026
|
+
'/streams/v1/{namespace}/orgs/{owner}/teams/{entity}/runs/multi/events/{kind}', 'GET',
|
2027
|
+
_path_params,
|
2028
|
+
_query_params,
|
2029
|
+
_header_params,
|
2030
|
+
body=_body_params,
|
2031
|
+
post_params=_form_params,
|
2032
|
+
files=_files,
|
2033
|
+
response_types_map=_response_types_map,
|
2034
|
+
auth_settings=_auth_settings,
|
2035
|
+
async_req=_params.get('async_req'),
|
2036
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2037
|
+
_preload_content=_params.get('_preload_content', True),
|
2038
|
+
_request_timeout=_params.get('_request_timeout'),
|
2039
|
+
collection_formats=_collection_formats,
|
2040
|
+
_request_auth=_params.get('_request_auth'))
|
2041
|
+
|
2042
|
+
@validate_arguments
|
2043
|
+
def get_team_multi_run_importance(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity where the run will be assigned")], body : Annotated[Dict[str, Any], Field(..., description="Params/Metrics data")], **kwargs) -> V1MultiEventsResponse: # noqa: E501
|
2044
|
+
"""Get multi run importance # noqa: E501
|
2045
|
+
|
2046
|
+
This method makes a synchronous HTTP request by default. To make an
|
2047
|
+
asynchronous HTTP request, please pass async_req=True
|
2048
|
+
|
2049
|
+
>>> thread = api.get_team_multi_run_importance(namespace, owner, entity, body, async_req=True)
|
2050
|
+
>>> result = thread.get()
|
2051
|
+
|
2052
|
+
:param namespace: namespace (required)
|
2053
|
+
:type namespace: str
|
2054
|
+
:param owner: Owner of the namespace (required)
|
2055
|
+
:type owner: str
|
2056
|
+
:param entity: Entity where the run will be assigned (required)
|
2057
|
+
:type entity: str
|
2058
|
+
:param body: Params/Metrics data (required)
|
2059
|
+
:type body: object
|
2060
|
+
:param async_req: Whether to execute the request asynchronously.
|
2061
|
+
:type async_req: bool, optional
|
2062
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2063
|
+
be returned without reading/decoding response
|
2064
|
+
data. Default is True.
|
2065
|
+
:type _preload_content: bool, optional
|
2066
|
+
:param _request_timeout: timeout setting for this request. If one
|
2067
|
+
number provided, it will be total request
|
2068
|
+
timeout. It can also be a pair (tuple) of
|
2069
|
+
(connection, read) timeouts.
|
2070
|
+
:return: Returns the result object.
|
2071
|
+
If the method is called asynchronously,
|
2072
|
+
returns the request thread.
|
2073
|
+
:rtype: V1MultiEventsResponse
|
2074
|
+
"""
|
2075
|
+
kwargs['_return_http_data_only'] = True
|
2076
|
+
return self.get_team_multi_run_importance_with_http_info(namespace, owner, entity, body, **kwargs) # noqa: E501
|
2077
|
+
|
2078
|
+
@validate_arguments
|
2079
|
+
def get_team_multi_run_importance_with_http_info(self, namespace : Annotated[StrictStr, Field(..., description="namespace")], owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], entity : Annotated[StrictStr, Field(..., description="Entity where the run will be assigned")], body : Annotated[Dict[str, Any], Field(..., description="Params/Metrics data")], **kwargs): # noqa: E501
|
2080
|
+
"""Get multi run importance # noqa: E501
|
2081
|
+
|
2082
|
+
This method makes a synchronous HTTP request by default. To make an
|
2083
|
+
asynchronous HTTP request, please pass async_req=True
|
2084
|
+
|
2085
|
+
>>> thread = api.get_team_multi_run_importance_with_http_info(namespace, owner, entity, body, async_req=True)
|
2086
|
+
>>> result = thread.get()
|
2087
|
+
|
2088
|
+
:param namespace: namespace (required)
|
2089
|
+
:type namespace: str
|
2090
|
+
:param owner: Owner of the namespace (required)
|
2091
|
+
:type owner: str
|
2092
|
+
:param entity: Entity where the run will be assigned (required)
|
2093
|
+
:type entity: str
|
2094
|
+
:param body: Params/Metrics data (required)
|
2095
|
+
:type body: object
|
2096
|
+
:param async_req: Whether to execute the request asynchronously.
|
2097
|
+
:type async_req: bool, optional
|
2098
|
+
:param _return_http_data_only: response data without head status code
|
2099
|
+
and headers
|
2100
|
+
:type _return_http_data_only: bool, optional
|
2101
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2102
|
+
be returned without reading/decoding response
|
2103
|
+
data. Default is True.
|
2104
|
+
:type _preload_content: bool, optional
|
2105
|
+
:param _request_timeout: timeout setting for this request. If one
|
2106
|
+
number provided, it will be total request
|
2107
|
+
timeout. It can also be a pair (tuple) of
|
2108
|
+
(connection, read) timeouts.
|
2109
|
+
:param _request_auth: set to override the auth_settings for an a single
|
2110
|
+
request; this effectively ignores the authentication
|
2111
|
+
in the spec for a single request.
|
2112
|
+
:type _request_auth: dict, optional
|
2113
|
+
:type _content_type: string, optional: force content-type for the request
|
2114
|
+
:return: Returns the result object.
|
2115
|
+
If the method is called asynchronously,
|
2116
|
+
returns the request thread.
|
2117
|
+
:rtype: tuple(V1MultiEventsResponse, status_code(int), headers(HTTPHeaderDict))
|
2118
|
+
"""
|
2119
|
+
|
2120
|
+
_params = locals()
|
2121
|
+
|
2122
|
+
_all_params = [
|
2123
|
+
'namespace',
|
2124
|
+
'owner',
|
2125
|
+
'entity',
|
2126
|
+
'body'
|
2127
|
+
]
|
2128
|
+
_all_params.extend(
|
2129
|
+
[
|
2130
|
+
'async_req',
|
2131
|
+
'_return_http_data_only',
|
2132
|
+
'_preload_content',
|
2133
|
+
'_request_timeout',
|
2134
|
+
'_request_auth',
|
2135
|
+
'_content_type',
|
2136
|
+
'_headers'
|
2137
|
+
]
|
2138
|
+
)
|
2139
|
+
|
2140
|
+
# validate the arguments
|
2141
|
+
for _key, _val in _params['kwargs'].items():
|
2142
|
+
if _key not in _all_params:
|
2143
|
+
raise ApiTypeError(
|
2144
|
+
"Got an unexpected keyword argument '%s'"
|
2145
|
+
" to method get_team_multi_run_importance" % _key
|
2146
|
+
)
|
2147
|
+
_params[_key] = _val
|
2148
|
+
del _params['kwargs']
|
2149
|
+
|
2150
|
+
_collection_formats = {}
|
2151
|
+
|
2152
|
+
# process the path parameters
|
2153
|
+
_path_params = {}
|
2154
|
+
if _params['namespace']:
|
2155
|
+
_path_params['namespace'] = _params['namespace']
|
2156
|
+
|
2157
|
+
if _params['owner']:
|
2158
|
+
_path_params['owner'] = _params['owner']
|
2159
|
+
|
2160
|
+
if _params['entity']:
|
2161
|
+
_path_params['entity'] = _params['entity']
|
2162
|
+
|
2163
|
+
|
2164
|
+
# process the query parameters
|
2165
|
+
_query_params = []
|
2166
|
+
# process the header parameters
|
2167
|
+
_header_params = dict(_params.get('_headers', {}))
|
2168
|
+
# process the form parameters
|
2169
|
+
_form_params = []
|
2170
|
+
_files = {}
|
2171
|
+
# process the body parameter
|
2172
|
+
_body_params = None
|
2173
|
+
if _params['body']:
|
2174
|
+
_body_params = _params['body']
|
2175
|
+
|
2176
|
+
# set the HTTP header `Accept`
|
2177
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2178
|
+
['application/json']) # noqa: E501
|
2179
|
+
|
2180
|
+
# set the HTTP header `Content-Type`
|
2181
|
+
_content_types_list = _params.get('_content_type',
|
2182
|
+
self.api_client.select_header_content_type(
|
2183
|
+
['application/json']))
|
2184
|
+
if _content_types_list:
|
2185
|
+
_header_params['Content-Type'] = _content_types_list
|
2186
|
+
|
2187
|
+
# authentication setting
|
2188
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
2189
|
+
|
2190
|
+
_response_types_map = {
|
2191
|
+
'200': "V1MultiEventsResponse",
|
2192
|
+
'204': "object",
|
2193
|
+
'403': "object",
|
2194
|
+
'404': "object",
|
2195
|
+
}
|
2196
|
+
|
2197
|
+
return self.api_client.call_api(
|
2198
|
+
'/streams/v1/{namespace}/orgs/{owner}/teams/{entity}/runs/multi/importance', 'POST',
|
2199
|
+
_path_params,
|
2200
|
+
_query_params,
|
2201
|
+
_header_params,
|
2202
|
+
body=_body_params,
|
2203
|
+
post_params=_form_params,
|
2204
|
+
files=_files,
|
2205
|
+
response_types_map=_response_types_map,
|
2206
|
+
auth_settings=_auth_settings,
|
2207
|
+
async_req=_params.get('async_req'),
|
2208
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2209
|
+
_preload_content=_params.get('_preload_content', True),
|
2210
|
+
_request_timeout=_params.get('_request_timeout'),
|
2211
|
+
collection_formats=_collection_formats,
|
2212
|
+
_request_auth=_params.get('_request_auth'))
|
2213
|
+
|
1819
2214
|
@validate_arguments
|
1820
2215
|
def get_team_run(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) -> V1Run: # noqa: E501
|
1821
2216
|
"""Get a run in a team # noqa: E501
|
@@ -2178,6 +2573,211 @@ class TeamsV1Api(object):
|
|
2178
2573
|
collection_formats=_collection_formats,
|
2179
2574
|
_request_auth=_params.get('_request_auth'))
|
2180
2575
|
|
2576
|
+
@validate_arguments
|
2577
|
+
def get_team_runs_artifacts_lineage(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Entity managing the resource")], 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) -> V1ListRunArtifactsResponse: # noqa: E501
|
2578
|
+
"""Get runs artifacts lineage # noqa: E501
|
2579
|
+
|
2580
|
+
This method makes a synchronous HTTP request by default. To make an
|
2581
|
+
asynchronous HTTP request, please pass async_req=True
|
2582
|
+
|
2583
|
+
>>> thread = api.get_team_runs_artifacts_lineage(owner, name, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
|
2584
|
+
>>> result = thread.get()
|
2585
|
+
|
2586
|
+
:param owner: Owner of the namespace (required)
|
2587
|
+
:type owner: str
|
2588
|
+
:param name: Entity managing the resource (required)
|
2589
|
+
:type name: str
|
2590
|
+
:param offset: Pagination offset.
|
2591
|
+
:type offset: int
|
2592
|
+
:param limit: Limit size.
|
2593
|
+
:type limit: int
|
2594
|
+
:param sort: Sort to order the search.
|
2595
|
+
:type sort: str
|
2596
|
+
:param query: Query filter the search.
|
2597
|
+
:type query: str
|
2598
|
+
:param bookmarks: Filter by bookmarks.
|
2599
|
+
:type bookmarks: bool
|
2600
|
+
:param mode: Mode of the search.
|
2601
|
+
:type mode: str
|
2602
|
+
:param no_page: No pagination.
|
2603
|
+
:type no_page: bool
|
2604
|
+
:param async_req: Whether to execute the request asynchronously.
|
2605
|
+
:type async_req: bool, optional
|
2606
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2607
|
+
be returned without reading/decoding response
|
2608
|
+
data. Default is True.
|
2609
|
+
:type _preload_content: bool, optional
|
2610
|
+
:param _request_timeout: timeout setting for this request. If one
|
2611
|
+
number provided, it will be total request
|
2612
|
+
timeout. It can also be a pair (tuple) of
|
2613
|
+
(connection, read) timeouts.
|
2614
|
+
:return: Returns the result object.
|
2615
|
+
If the method is called asynchronously,
|
2616
|
+
returns the request thread.
|
2617
|
+
:rtype: V1ListRunArtifactsResponse
|
2618
|
+
"""
|
2619
|
+
kwargs['_return_http_data_only'] = True
|
2620
|
+
return self.get_team_runs_artifacts_lineage_with_http_info(owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs) # noqa: E501
|
2621
|
+
|
2622
|
+
@validate_arguments
|
2623
|
+
def get_team_runs_artifacts_lineage_with_http_info(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Entity managing the resource")], 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): # noqa: E501
|
2624
|
+
"""Get runs artifacts lineage # noqa: E501
|
2625
|
+
|
2626
|
+
This method makes a synchronous HTTP request by default. To make an
|
2627
|
+
asynchronous HTTP request, please pass async_req=True
|
2628
|
+
|
2629
|
+
>>> thread = api.get_team_runs_artifacts_lineage_with_http_info(owner, name, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
|
2630
|
+
>>> result = thread.get()
|
2631
|
+
|
2632
|
+
:param owner: Owner of the namespace (required)
|
2633
|
+
:type owner: str
|
2634
|
+
:param name: Entity managing the resource (required)
|
2635
|
+
:type name: str
|
2636
|
+
:param offset: Pagination offset.
|
2637
|
+
:type offset: int
|
2638
|
+
:param limit: Limit size.
|
2639
|
+
:type limit: int
|
2640
|
+
:param sort: Sort to order the search.
|
2641
|
+
:type sort: str
|
2642
|
+
:param query: Query filter the search.
|
2643
|
+
:type query: str
|
2644
|
+
:param bookmarks: Filter by bookmarks.
|
2645
|
+
:type bookmarks: bool
|
2646
|
+
:param mode: Mode of the search.
|
2647
|
+
:type mode: str
|
2648
|
+
:param no_page: No pagination.
|
2649
|
+
:type no_page: bool
|
2650
|
+
:param async_req: Whether to execute the request asynchronously.
|
2651
|
+
:type async_req: bool, optional
|
2652
|
+
:param _return_http_data_only: response data without head status code
|
2653
|
+
and headers
|
2654
|
+
:type _return_http_data_only: bool, optional
|
2655
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
2656
|
+
be returned without reading/decoding response
|
2657
|
+
data. Default is True.
|
2658
|
+
:type _preload_content: bool, optional
|
2659
|
+
:param _request_timeout: timeout setting for this request. If one
|
2660
|
+
number provided, it will be total request
|
2661
|
+
timeout. It can also be a pair (tuple) of
|
2662
|
+
(connection, read) timeouts.
|
2663
|
+
:param _request_auth: set to override the auth_settings for an a single
|
2664
|
+
request; this effectively ignores the authentication
|
2665
|
+
in the spec for a single request.
|
2666
|
+
:type _request_auth: dict, optional
|
2667
|
+
:type _content_type: string, optional: force content-type for the request
|
2668
|
+
:return: Returns the result object.
|
2669
|
+
If the method is called asynchronously,
|
2670
|
+
returns the request thread.
|
2671
|
+
:rtype: tuple(V1ListRunArtifactsResponse, status_code(int), headers(HTTPHeaderDict))
|
2672
|
+
"""
|
2673
|
+
|
2674
|
+
_params = locals()
|
2675
|
+
|
2676
|
+
_all_params = [
|
2677
|
+
'owner',
|
2678
|
+
'name',
|
2679
|
+
'offset',
|
2680
|
+
'limit',
|
2681
|
+
'sort',
|
2682
|
+
'query',
|
2683
|
+
'bookmarks',
|
2684
|
+
'mode',
|
2685
|
+
'no_page'
|
2686
|
+
]
|
2687
|
+
_all_params.extend(
|
2688
|
+
[
|
2689
|
+
'async_req',
|
2690
|
+
'_return_http_data_only',
|
2691
|
+
'_preload_content',
|
2692
|
+
'_request_timeout',
|
2693
|
+
'_request_auth',
|
2694
|
+
'_content_type',
|
2695
|
+
'_headers'
|
2696
|
+
]
|
2697
|
+
)
|
2698
|
+
|
2699
|
+
# validate the arguments
|
2700
|
+
for _key, _val in _params['kwargs'].items():
|
2701
|
+
if _key not in _all_params:
|
2702
|
+
raise ApiTypeError(
|
2703
|
+
"Got an unexpected keyword argument '%s'"
|
2704
|
+
" to method get_team_runs_artifacts_lineage" % _key
|
2705
|
+
)
|
2706
|
+
_params[_key] = _val
|
2707
|
+
del _params['kwargs']
|
2708
|
+
|
2709
|
+
_collection_formats = {}
|
2710
|
+
|
2711
|
+
# process the path parameters
|
2712
|
+
_path_params = {}
|
2713
|
+
if _params['owner']:
|
2714
|
+
_path_params['owner'] = _params['owner']
|
2715
|
+
|
2716
|
+
if _params['name']:
|
2717
|
+
_path_params['name'] = _params['name']
|
2718
|
+
|
2719
|
+
|
2720
|
+
# process the query parameters
|
2721
|
+
_query_params = []
|
2722
|
+
if _params.get('offset') is not None: # noqa: E501
|
2723
|
+
_query_params.append(('offset', _params['offset']))
|
2724
|
+
|
2725
|
+
if _params.get('limit') is not None: # noqa: E501
|
2726
|
+
_query_params.append(('limit', _params['limit']))
|
2727
|
+
|
2728
|
+
if _params.get('sort') is not None: # noqa: E501
|
2729
|
+
_query_params.append(('sort', _params['sort']))
|
2730
|
+
|
2731
|
+
if _params.get('query') is not None: # noqa: E501
|
2732
|
+
_query_params.append(('query', _params['query']))
|
2733
|
+
|
2734
|
+
if _params.get('bookmarks') is not None: # noqa: E501
|
2735
|
+
_query_params.append(('bookmarks', _params['bookmarks']))
|
2736
|
+
|
2737
|
+
if _params.get('mode') is not None: # noqa: E501
|
2738
|
+
_query_params.append(('mode', _params['mode']))
|
2739
|
+
|
2740
|
+
if _params.get('no_page') is not None: # noqa: E501
|
2741
|
+
_query_params.append(('no_page', _params['no_page']))
|
2742
|
+
|
2743
|
+
# process the header parameters
|
2744
|
+
_header_params = dict(_params.get('_headers', {}))
|
2745
|
+
# process the form parameters
|
2746
|
+
_form_params = []
|
2747
|
+
_files = {}
|
2748
|
+
# process the body parameter
|
2749
|
+
_body_params = None
|
2750
|
+
# set the HTTP header `Accept`
|
2751
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2752
|
+
['application/json']) # noqa: E501
|
2753
|
+
|
2754
|
+
# authentication setting
|
2755
|
+
_auth_settings = ['ApiKey'] # noqa: E501
|
2756
|
+
|
2757
|
+
_response_types_map = {
|
2758
|
+
'200': "V1ListRunArtifactsResponse",
|
2759
|
+
'204': "object",
|
2760
|
+
'403': "object",
|
2761
|
+
'404': "object",
|
2762
|
+
}
|
2763
|
+
|
2764
|
+
return self.api_client.call_api(
|
2765
|
+
'/api/v1/orgs/{owner}/teams/{name}/runs/lineage/artifacts', 'GET',
|
2766
|
+
_path_params,
|
2767
|
+
_query_params,
|
2768
|
+
_header_params,
|
2769
|
+
body=_body_params,
|
2770
|
+
post_params=_form_params,
|
2771
|
+
files=_files,
|
2772
|
+
response_types_map=_response_types_map,
|
2773
|
+
auth_settings=_auth_settings,
|
2774
|
+
async_req=_params.get('async_req'),
|
2775
|
+
_return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
|
2776
|
+
_preload_content=_params.get('_preload_content', True),
|
2777
|
+
_request_timeout=_params.get('_request_timeout'),
|
2778
|
+
collection_formats=_collection_formats,
|
2779
|
+
_request_auth=_params.get('_request_auth'))
|
2780
|
+
|
2181
2781
|
@validate_arguments
|
2182
2782
|
def get_team_stats(self, owner : Annotated[StrictStr, Field(..., description="Owner of the namespace")], name : Annotated[StrictStr, Field(..., description="Entity managing the resource")], 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="Stats Mode.")] = None, kind : Annotated[Optional[StrictStr], Field(description="Stats Kind.")] = None, aggregate : Annotated[Optional[StrictStr], Field(description="Stats aggregate.")] = None, groupby : Annotated[Optional[StrictStr], Field(description="Stats group.")] = None, trunc : Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None, **kwargs) -> object: # noqa: E501
|
2183
2783
|
"""Get team stats # noqa: E501
|
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.
|
8
|
+
The version of the OpenAPI document: 2.3.0
|
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.
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2.3.0/python'
|
80
80
|
self.client_side_validation = configuration.client_side_validation
|
81
81
|
|
82
82
|
def __enter__(self):
|