polyaxon 2.0.0rc49__py3-none-any.whl → 2.4.0rc1__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.
Files changed (177) hide show
  1. polyaxon/_auxiliaries/cleaner.py +8 -3
  2. polyaxon/_auxiliaries/init.py +7 -2
  3. polyaxon/_auxiliaries/notifier.py +8 -2
  4. polyaxon/_auxiliaries/sidecar.py +30 -2
  5. polyaxon/_cli/artifacts.py +96 -11
  6. polyaxon/_cli/components.py +96 -11
  7. polyaxon/_cli/config.py +118 -22
  8. polyaxon/_cli/dashboard.py +15 -2
  9. polyaxon/_cli/init.py +1 -1
  10. polyaxon/_cli/models.py +96 -11
  11. polyaxon/_cli/operations.py +267 -90
  12. polyaxon/_cli/project_versions.py +139 -6
  13. polyaxon/_cli/projects.py +23 -9
  14. polyaxon/_cli/run.py +37 -9
  15. polyaxon/_cli/services/agent.py +2 -2
  16. polyaxon/_cli/services/clean_artifacts.py +1 -1
  17. polyaxon/_cli/services/sidecar.py +8 -1
  18. polyaxon/_client/client.py +17 -0
  19. polyaxon/_client/mixin.py +39 -0
  20. polyaxon/_client/project.py +218 -23
  21. polyaxon/_client/run.py +131 -33
  22. polyaxon/_compiler/contexts/contexts.py +2 -2
  23. polyaxon/_compiler/contexts/ray_job.py +4 -2
  24. polyaxon/_compiler/resolver/agent.py +12 -2
  25. polyaxon/_compiler/resolver/runtime.py +2 -2
  26. polyaxon/_contexts/paths.py +4 -7
  27. polyaxon/_deploy/operators/compose.py +1 -27
  28. polyaxon/_deploy/schemas/deployment.py +4 -1
  29. polyaxon/_deploy/schemas/intervals.py +0 -7
  30. polyaxon/_deploy/schemas/proxy.py +1 -0
  31. polyaxon/_deploy/schemas/service.py +11 -1
  32. polyaxon/_docker/converter/base/base.py +8 -0
  33. polyaxon/_docker/executor.py +10 -4
  34. polyaxon/_env_vars/getters/owner_entity.py +4 -2
  35. polyaxon/_env_vars/getters/project.py +4 -2
  36. polyaxon/_env_vars/getters/run.py +5 -2
  37. polyaxon/_env_vars/keys.py +7 -1
  38. polyaxon/_flow/__init__.py +2 -0
  39. polyaxon/_flow/builds/__init__.py +19 -6
  40. polyaxon/_flow/component/base.py +1 -0
  41. polyaxon/_flow/component/component.py +14 -0
  42. polyaxon/_flow/environment/__init__.py +8 -8
  43. polyaxon/_flow/hooks/__init__.py +19 -6
  44. polyaxon/_flow/init/__init__.py +6 -6
  45. polyaxon/_flow/matrix/iterative.py +0 -1
  46. polyaxon/_flow/matrix/tuner.py +18 -6
  47. polyaxon/_flow/operations/operation.py +44 -17
  48. polyaxon/_flow/plugins/__init__.py +6 -0
  49. polyaxon/_flow/run/__init__.py +2 -2
  50. polyaxon/_flow/run/dag.py +2 -2
  51. polyaxon/_flow/run/dask/dask.py +0 -1
  52. polyaxon/_flow/run/dask/replica.py +3 -3
  53. polyaxon/_flow/run/enums.py +5 -0
  54. polyaxon/_flow/run/job.py +4 -4
  55. polyaxon/_flow/run/kubeflow/mpi_job.py +1 -2
  56. polyaxon/_flow/run/kubeflow/mx_job.py +1 -2
  57. polyaxon/_flow/run/kubeflow/paddle_job.py +35 -4
  58. polyaxon/_flow/run/kubeflow/pytorch_job.py +51 -5
  59. polyaxon/_flow/run/kubeflow/replica.py +4 -4
  60. polyaxon/_flow/run/kubeflow/scheduling_policy.py +12 -0
  61. polyaxon/_flow/run/kubeflow/tf_job.py +3 -3
  62. polyaxon/_flow/run/kubeflow/xgboost_job.py +1 -2
  63. polyaxon/_flow/run/ray/ray.py +2 -3
  64. polyaxon/_flow/run/ray/replica.py +3 -3
  65. polyaxon/_flow/run/service.py +4 -4
  66. polyaxon/_fs/fs.py +7 -2
  67. polyaxon/_fs/utils.py +3 -2
  68. polyaxon/_k8s/converter/base/base.py +2 -1
  69. polyaxon/_k8s/converter/base/main.py +1 -0
  70. polyaxon/_k8s/converter/base/sidecar.py +16 -1
  71. polyaxon/_k8s/converter/common/accelerators.py +7 -4
  72. polyaxon/_k8s/converter/converters/job.py +1 -1
  73. polyaxon/_k8s/converter/converters/kubeflow/paddle_job.py +1 -0
  74. polyaxon/_k8s/converter/converters/kubeflow/pytroch_job.py +2 -0
  75. polyaxon/_k8s/converter/converters/kubeflow/tf_job.py +1 -0
  76. polyaxon/_k8s/converter/converters/ray_job.py +4 -2
  77. polyaxon/_k8s/custom_resources/dask_job.py +3 -0
  78. polyaxon/_k8s/custom_resources/kubeflow/common.py +4 -1
  79. polyaxon/_k8s/custom_resources/kubeflow/paddle_job.py +10 -1
  80. polyaxon/_k8s/custom_resources/kubeflow/pytorch_job.py +14 -1
  81. polyaxon/_k8s/custom_resources/kubeflow/tf_job.py +4 -0
  82. polyaxon/_k8s/custom_resources/ray_job.py +3 -0
  83. polyaxon/_k8s/custom_resources/setter.py +1 -1
  84. polyaxon/_k8s/executor/async_executor.py +2 -0
  85. polyaxon/_k8s/executor/base.py +23 -6
  86. polyaxon/_k8s/logging/async_monitor.py +150 -5
  87. polyaxon/_k8s/manager/async_manager.py +96 -23
  88. polyaxon/_k8s/manager/base.py +4 -0
  89. polyaxon/_k8s/manager/manager.py +282 -134
  90. polyaxon/_local_process/__init__.py +0 -0
  91. polyaxon/_local_process/agent.py +6 -0
  92. polyaxon/_local_process/converter/__init__.py +1 -0
  93. polyaxon/_local_process/converter/base/__init__.py +1 -0
  94. polyaxon/_local_process/converter/base/base.py +140 -0
  95. polyaxon/_local_process/converter/base/containers.py +69 -0
  96. polyaxon/_local_process/converter/base/env_vars.py +253 -0
  97. polyaxon/_local_process/converter/base/init.py +414 -0
  98. polyaxon/_local_process/converter/base/main.py +74 -0
  99. polyaxon/_local_process/converter/base/mounts.py +82 -0
  100. polyaxon/_local_process/converter/converters/__init__.py +8 -0
  101. polyaxon/_local_process/converter/converters/job.py +40 -0
  102. polyaxon/_local_process/converter/converters/service.py +41 -0
  103. polyaxon/_local_process/converter/mixins.py +38 -0
  104. polyaxon/_local_process/executor.py +132 -0
  105. polyaxon/_local_process/process_types.py +39 -0
  106. polyaxon/_managers/agent.py +2 -0
  107. polyaxon/_managers/home.py +2 -1
  108. polyaxon/_operations/tuner.py +1 -0
  109. polyaxon/_polyaxonfile/check.py +2 -0
  110. polyaxon/_polyaxonfile/manager/operations.py +3 -0
  111. polyaxon/_polyaxonfile/manager/workflows.py +2 -0
  112. polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -0
  113. polyaxon/_polyaxonfile/specs/operation.py +1 -0
  114. polyaxon/_polyaxonfile/specs/sections.py +3 -0
  115. polyaxon/_pql/manager.py +1 -1
  116. polyaxon/_runner/agent/async_agent.py +97 -21
  117. polyaxon/_runner/agent/base_agent.py +27 -9
  118. polyaxon/_runner/agent/client.py +15 -1
  119. polyaxon/_runner/agent/sync_agent.py +85 -20
  120. polyaxon/_runner/converter/converter.py +6 -2
  121. polyaxon/_runner/executor.py +13 -7
  122. polyaxon/_schemas/agent.py +27 -1
  123. polyaxon/_schemas/client.py +30 -3
  124. polyaxon/_schemas/installation.py +4 -3
  125. polyaxon/_schemas/lifecycle.py +10 -5
  126. polyaxon/_schemas/log_handler.py +2 -3
  127. polyaxon/_schemas/types/artifacts.py +3 -3
  128. polyaxon/_schemas/types/dockerfile.py +3 -3
  129. polyaxon/_schemas/types/file.py +3 -3
  130. polyaxon/_schemas/types/git.py +3 -3
  131. polyaxon/_schemas/types/tensorboard.py +3 -3
  132. polyaxon/_sdk/api/agents_v1_api.py +1076 -73
  133. polyaxon/_sdk/api/organizations_v1_api.py +371 -10
  134. polyaxon/_sdk/api/project_dashboards_v1_api.py +12 -12
  135. polyaxon/_sdk/api/project_searches_v1_api.py +12 -12
  136. polyaxon/_sdk/api/projects_v1_api.py +221 -44
  137. polyaxon/_sdk/api/runs_v1_api.py +917 -445
  138. polyaxon/_sdk/api/service_accounts_v1_api.py +16 -16
  139. polyaxon/_sdk/api/teams_v1_api.py +2827 -375
  140. polyaxon/_sdk/api/users_v1_api.py +231 -55
  141. polyaxon/_sdk/async_client/api_client.py +4 -0
  142. polyaxon/_sdk/schemas/__init__.py +10 -2
  143. polyaxon/_sdk/schemas/v1_agent.py +2 -1
  144. polyaxon/_sdk/schemas/v1_agent_reconcile_body_request.py +14 -0
  145. polyaxon/_sdk/schemas/v1_artifact_tree.py +1 -1
  146. polyaxon/_sdk/schemas/v1_dashboard_spec.py +4 -0
  147. polyaxon/_sdk/schemas/v1_events_response.py +4 -0
  148. polyaxon/_sdk/schemas/v1_organization.py +1 -0
  149. polyaxon/_sdk/schemas/v1_preset.py +8 -0
  150. polyaxon/_sdk/schemas/v1_project.py +1 -0
  151. polyaxon/_sdk/schemas/v1_project_settings.py +4 -2
  152. polyaxon/_sdk/schemas/v1_run.py +2 -2
  153. polyaxon/_sdk/schemas/v1_run_edge_lineage.py +14 -0
  154. polyaxon/_sdk/schemas/v1_run_edges_graph.py +9 -0
  155. polyaxon/_sdk/schemas/v1_section_spec.py +7 -2
  156. polyaxon/_sdk/schemas/v1_settings_catalog.py +1 -0
  157. polyaxon/_sdk/schemas/v1_team.py +3 -0
  158. polyaxon/_sdk/schemas/v1_user.py +1 -2
  159. polyaxon/_sdk/schemas/v1_user_access.py +17 -0
  160. polyaxon/_services/values.py +1 -0
  161. polyaxon/_sidecar/container/__init__.py +39 -18
  162. polyaxon/_sidecar/container/monitors/__init__.py +1 -0
  163. polyaxon/_sidecar/container/monitors/logs.py +10 -13
  164. polyaxon/_sidecar/container/monitors/spec.py +24 -0
  165. polyaxon/_sidecar/ignore.py +0 -1
  166. polyaxon/_utils/fqn_utils.py +25 -2
  167. polyaxon/client.py +1 -1
  168. polyaxon/pkg.py +1 -1
  169. polyaxon/schemas.py +8 -1
  170. polyaxon/settings.py +6 -0
  171. {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/METADATA +43 -43
  172. {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/RECORD +176 -155
  173. {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/WHEEL +1 -1
  174. polyaxon/_sdk/schemas/v1_project_user_access.py +0 -10
  175. {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/LICENSE +0 -0
  176. {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/entry_points.txt +0 -0
  177. {polyaxon-2.0.0rc49.dist-info → polyaxon-2.4.0rc1.dist-info}/top_level.txt +0 -0
@@ -1,11 +1,12 @@
1
1
  from datetime import datetime
2
- from typing import Dict, Optional
2
+ from typing import Any, Dict, Optional
3
3
  from typing_extensions import Annotated
4
4
 
5
5
  from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_arguments
6
6
 
7
7
  from polyaxon._schemas.lifecycle import V1Status
8
8
  from polyaxon._sdk.base_api import BaseApi
9
+ from polyaxon._sdk.schemas import V1RunEdgesGraph
9
10
  from polyaxon._sdk.schemas.v1_artifact_tree import V1ArtifactTree
10
11
  from polyaxon._sdk.schemas.v1_auth import V1Auth
11
12
  from polyaxon._sdk.schemas.v1_entities_tags import V1EntitiesTags
@@ -14,7 +15,10 @@ from polyaxon._sdk.schemas.v1_entity_notification_body import V1EntityNotificati
14
15
  from polyaxon._sdk.schemas.v1_entity_status_body_request import (
15
16
  V1EntityStatusBodyRequest,
16
17
  )
17
- from polyaxon._sdk.schemas.v1_events_response import V1EventsResponse
18
+ from polyaxon._sdk.schemas.v1_events_response import (
19
+ V1EventsResponse,
20
+ V1MultiEventsResponse,
21
+ )
18
22
  from polyaxon._sdk.schemas.v1_list_bookmarks_response import V1ListBookmarksResponse
19
23
  from polyaxon._sdk.schemas.v1_list_run_artifacts_response import (
20
24
  V1ListRunArtifactsResponse,
@@ -218,9 +222,7 @@ class RunsV1Api(BaseApi):
218
222
  def approve_runs(
219
223
  self,
220
224
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
221
- project: Annotated[
222
- StrictStr, Field(..., description="Project under namesapce")
223
- ],
225
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
224
226
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
225
227
  **kwargs
226
228
  ) -> None: # noqa: E501
@@ -229,13 +231,13 @@ class RunsV1Api(BaseApi):
229
231
  This method makes a synchronous HTTP request by default. To make an
230
232
  asynchronous HTTP request, please pass async_req=True
231
233
 
232
- >>> thread = api.approve_runs(owner, project, body, async_req=True)
234
+ >>> thread = api.approve_runs(owner, name, body, async_req=True)
233
235
  >>> result = thread.get()
234
236
 
235
237
  :param owner: Owner of the namespace (required)
236
238
  :type owner: str
237
- :param project: Project under namesapce (required)
238
- :type project: str
239
+ :param name: Entity under namespace (required)
240
+ :type name: str
239
241
  :param body: Uuids of the entities (required)
240
242
  :type body: V1Uuids
241
243
  :param async_req: Whether to execute the request asynchronously.
@@ -255,16 +257,14 @@ class RunsV1Api(BaseApi):
255
257
  """
256
258
  kwargs["_return_http_data_only"] = True
257
259
  return self.approve_runs_with_http_info(
258
- owner, project, body, **kwargs
260
+ owner, name, body, **kwargs
259
261
  ) # noqa: E501
260
262
 
261
263
  @validate_arguments
262
264
  def approve_runs_with_http_info(
263
265
  self,
264
266
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
265
- project: Annotated[
266
- StrictStr, Field(..., description="Project under namesapce")
267
- ],
267
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
268
268
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
269
269
  **kwargs
270
270
  ): # noqa: E501
@@ -273,13 +273,13 @@ class RunsV1Api(BaseApi):
273
273
  This method makes a synchronous HTTP request by default. To make an
274
274
  asynchronous HTTP request, please pass async_req=True
275
275
 
276
- >>> thread = api.approve_runs_with_http_info(owner, project, body, async_req=True)
276
+ >>> thread = api.approve_runs_with_http_info(owner, name, body, async_req=True)
277
277
  >>> result = thread.get()
278
278
 
279
279
  :param owner: Owner of the namespace (required)
280
280
  :type owner: str
281
- :param project: Project under namesapce (required)
282
- :type project: str
281
+ :param name: Entity under namespace (required)
282
+ :type name: str
283
283
  :param body: Uuids of the entities (required)
284
284
  :type body: V1Uuids
285
285
  :param async_req: Whether to execute the request asynchronously.
@@ -308,7 +308,7 @@ class RunsV1Api(BaseApi):
308
308
 
309
309
  _params = locals()
310
310
 
311
- _all_params = ["owner", "project", "body"]
311
+ _all_params = ["owner", "name", "body"]
312
312
  _all_params.extend(
313
313
  [
314
314
  "async_req",
@@ -337,8 +337,8 @@ class RunsV1Api(BaseApi):
337
337
  _path_params = {}
338
338
  if _params["owner"]:
339
339
  _path_params["owner"] = _params["owner"]
340
- if _params["project"]:
341
- _path_params["project"] = _params["project"]
340
+ if _params["name"]:
341
+ _path_params["name"] = _params["name"]
342
342
 
343
343
  # process the query parameters
344
344
  _query_params = []
@@ -374,7 +374,7 @@ class RunsV1Api(BaseApi):
374
374
  _response_types_map = {}
375
375
 
376
376
  return self.api_client.call_api(
377
- "/api/v1/{owner}/{project}/runs/approve",
377
+ "/api/v1/{owner}/{name}/runs/approve",
378
378
  "POST",
379
379
  _path_params,
380
380
  _query_params,
@@ -576,9 +576,7 @@ class RunsV1Api(BaseApi):
576
576
  def archive_runs(
577
577
  self,
578
578
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
579
- project: Annotated[
580
- StrictStr, Field(..., description="Project under namesapce")
581
- ],
579
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
582
580
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
583
581
  **kwargs
584
582
  ) -> None: # noqa: E501
@@ -587,13 +585,13 @@ class RunsV1Api(BaseApi):
587
585
  This method makes a synchronous HTTP request by default. To make an
588
586
  asynchronous HTTP request, please pass async_req=True
589
587
 
590
- >>> thread = api.archive_runs(owner, project, body, async_req=True)
588
+ >>> thread = api.archive_runs(owner, name, body, async_req=True)
591
589
  >>> result = thread.get()
592
590
 
593
591
  :param owner: Owner of the namespace (required)
594
592
  :type owner: str
595
- :param project: Project under namesapce (required)
596
- :type project: str
593
+ :param name: Entity under namespace (required)
594
+ :type name: str
597
595
  :param body: Uuids of the entities (required)
598
596
  :type body: V1Uuids
599
597
  :param async_req: Whether to execute the request asynchronously.
@@ -613,16 +611,14 @@ class RunsV1Api(BaseApi):
613
611
  """
614
612
  kwargs["_return_http_data_only"] = True
615
613
  return self.archive_runs_with_http_info(
616
- owner, project, body, **kwargs
614
+ owner, name, body, **kwargs
617
615
  ) # noqa: E501
618
616
 
619
617
  @validate_arguments
620
618
  def archive_runs_with_http_info(
621
619
  self,
622
620
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
623
- project: Annotated[
624
- StrictStr, Field(..., description="Project under namesapce")
625
- ],
621
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
626
622
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
627
623
  **kwargs
628
624
  ): # noqa: E501
@@ -631,13 +627,13 @@ class RunsV1Api(BaseApi):
631
627
  This method makes a synchronous HTTP request by default. To make an
632
628
  asynchronous HTTP request, please pass async_req=True
633
629
 
634
- >>> thread = api.archive_runs_with_http_info(owner, project, body, async_req=True)
630
+ >>> thread = api.archive_runs_with_http_info(owner, name, body, async_req=True)
635
631
  >>> result = thread.get()
636
632
 
637
633
  :param owner: Owner of the namespace (required)
638
634
  :type owner: str
639
- :param project: Project under namesapce (required)
640
- :type project: str
635
+ :param name: Entity under namespace (required)
636
+ :type name: str
641
637
  :param body: Uuids of the entities (required)
642
638
  :type body: V1Uuids
643
639
  :param async_req: Whether to execute the request asynchronously.
@@ -666,7 +662,7 @@ class RunsV1Api(BaseApi):
666
662
 
667
663
  _params = locals()
668
664
 
669
- _all_params = ["owner", "project", "body"]
665
+ _all_params = ["owner", "name", "body"]
670
666
  _all_params.extend(
671
667
  [
672
668
  "async_req",
@@ -695,8 +691,8 @@ class RunsV1Api(BaseApi):
695
691
  _path_params = {}
696
692
  if _params["owner"]:
697
693
  _path_params["owner"] = _params["owner"]
698
- if _params["project"]:
699
- _path_params["project"] = _params["project"]
694
+ if _params["name"]:
695
+ _path_params["name"] = _params["name"]
700
696
 
701
697
  # process the query parameters
702
698
  _query_params = []
@@ -732,7 +728,7 @@ class RunsV1Api(BaseApi):
732
728
  _response_types_map = {}
733
729
 
734
730
  return self.api_client.call_api(
735
- "/api/v1/{owner}/{project}/runs/archive",
731
+ "/api/v1/{owner}/{name}/runs/archive",
736
732
  "POST",
737
733
  _path_params,
738
734
  _query_params,
@@ -934,9 +930,7 @@ class RunsV1Api(BaseApi):
934
930
  def bookmark_runs(
935
931
  self,
936
932
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
937
- project: Annotated[
938
- StrictStr, Field(..., description="Project under namesapce")
939
- ],
933
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
940
934
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
941
935
  **kwargs
942
936
  ) -> None: # noqa: E501
@@ -945,13 +939,13 @@ class RunsV1Api(BaseApi):
945
939
  This method makes a synchronous HTTP request by default. To make an
946
940
  asynchronous HTTP request, please pass async_req=True
947
941
 
948
- >>> thread = api.bookmark_runs(owner, project, body, async_req=True)
942
+ >>> thread = api.bookmark_runs(owner, name, body, async_req=True)
949
943
  >>> result = thread.get()
950
944
 
951
945
  :param owner: Owner of the namespace (required)
952
946
  :type owner: str
953
- :param project: Project under namesapce (required)
954
- :type project: str
947
+ :param name: Entity under namespace (required)
948
+ :type name: str
955
949
  :param body: Uuids of the entities (required)
956
950
  :type body: V1Uuids
957
951
  :param async_req: Whether to execute the request asynchronously.
@@ -971,16 +965,14 @@ class RunsV1Api(BaseApi):
971
965
  """
972
966
  kwargs["_return_http_data_only"] = True
973
967
  return self.bookmark_runs_with_http_info(
974
- owner, project, body, **kwargs
968
+ owner, name, body, **kwargs
975
969
  ) # noqa: E501
976
970
 
977
971
  @validate_arguments
978
972
  def bookmark_runs_with_http_info(
979
973
  self,
980
974
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
981
- project: Annotated[
982
- StrictStr, Field(..., description="Project under namesapce")
983
- ],
975
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
984
976
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
985
977
  **kwargs
986
978
  ): # noqa: E501
@@ -989,13 +981,13 @@ class RunsV1Api(BaseApi):
989
981
  This method makes a synchronous HTTP request by default. To make an
990
982
  asynchronous HTTP request, please pass async_req=True
991
983
 
992
- >>> thread = api.bookmark_runs_with_http_info(owner, project, body, async_req=True)
984
+ >>> thread = api.bookmark_runs_with_http_info(owner, name, body, async_req=True)
993
985
  >>> result = thread.get()
994
986
 
995
987
  :param owner: Owner of the namespace (required)
996
988
  :type owner: str
997
- :param project: Project under namesapce (required)
998
- :type project: str
989
+ :param name: Entity under namespace (required)
990
+ :type name: str
999
991
  :param body: Uuids of the entities (required)
1000
992
  :type body: V1Uuids
1001
993
  :param async_req: Whether to execute the request asynchronously.
@@ -1024,7 +1016,7 @@ class RunsV1Api(BaseApi):
1024
1016
 
1025
1017
  _params = locals()
1026
1018
 
1027
- _all_params = ["owner", "project", "body"]
1019
+ _all_params = ["owner", "name", "body"]
1028
1020
  _all_params.extend(
1029
1021
  [
1030
1022
  "async_req",
@@ -1053,8 +1045,8 @@ class RunsV1Api(BaseApi):
1053
1045
  _path_params = {}
1054
1046
  if _params["owner"]:
1055
1047
  _path_params["owner"] = _params["owner"]
1056
- if _params["project"]:
1057
- _path_params["project"] = _params["project"]
1048
+ if _params["name"]:
1049
+ _path_params["name"] = _params["name"]
1058
1050
 
1059
1051
  # process the query parameters
1060
1052
  _query_params = []
@@ -1090,7 +1082,7 @@ class RunsV1Api(BaseApi):
1090
1082
  _response_types_map = {}
1091
1083
 
1092
1084
  return self.api_client.call_api(
1093
- "/api/v1/{owner}/{project}/runs/bookmark",
1085
+ "/api/v1/{owner}/{name}/runs/bookmark",
1094
1086
  "POST",
1095
1087
  _path_params,
1096
1088
  _query_params,
@@ -2847,9 +2839,7 @@ class RunsV1Api(BaseApi):
2847
2839
  def delete_runs(
2848
2840
  self,
2849
2841
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2850
- project: Annotated[
2851
- StrictStr, Field(..., description="Project under namesapce")
2852
- ],
2842
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
2853
2843
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
2854
2844
  **kwargs
2855
2845
  ) -> None: # noqa: E501
@@ -2863,8 +2853,8 @@ class RunsV1Api(BaseApi):
2863
2853
 
2864
2854
  :param owner: Owner of the namespace (required)
2865
2855
  :type owner: str
2866
- :param project: Project under namesapce (required)
2867
- :type project: str
2856
+ :param name: Entity under namespace (required)
2857
+ :type name: str
2868
2858
  :param body: Uuids of the entities (required)
2869
2859
  :type body: V1Uuids
2870
2860
  :param async_req: Whether to execute the request asynchronously.
@@ -2884,16 +2874,14 @@ class RunsV1Api(BaseApi):
2884
2874
  """
2885
2875
  kwargs["_return_http_data_only"] = True
2886
2876
  return self.delete_runs_with_http_info(
2887
- owner, project, body, **kwargs
2877
+ owner, name, body, **kwargs
2888
2878
  ) # noqa: E501
2889
2879
 
2890
2880
  @validate_arguments
2891
2881
  def delete_runs_with_http_info(
2892
2882
  self,
2893
2883
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2894
- project: Annotated[
2895
- StrictStr, Field(..., description="Project under namesapce")
2896
- ],
2884
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
2897
2885
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
2898
2886
  **kwargs
2899
2887
  ): # noqa: E501
@@ -2902,13 +2890,13 @@ class RunsV1Api(BaseApi):
2902
2890
  This method makes a synchronous HTTP request by default. To make an
2903
2891
  asynchronous HTTP request, please pass async_req=True
2904
2892
 
2905
- >>> thread = api.delete_runs_with_http_info(owner, project, body, async_req=True)
2893
+ >>> thread = api.delete_runs_with_http_info(owner, name, body, async_req=True)
2906
2894
  >>> result = thread.get()
2907
2895
 
2908
2896
  :param owner: Owner of the namespace (required)
2909
2897
  :type owner: str
2910
- :param project: Project under namesapce (required)
2911
- :type project: str
2898
+ :param name: Entity under namespace (required)
2899
+ :type name: str
2912
2900
  :param body: Uuids of the entities (required)
2913
2901
  :type body: V1Uuids
2914
2902
  :param async_req: Whether to execute the request asynchronously.
@@ -2937,7 +2925,7 @@ class RunsV1Api(BaseApi):
2937
2925
 
2938
2926
  _params = locals()
2939
2927
 
2940
- _all_params = ["owner", "project", "body"]
2928
+ _all_params = ["owner", "name", "body"]
2941
2929
  _all_params.extend(
2942
2930
  [
2943
2931
  "async_req",
@@ -2966,8 +2954,8 @@ class RunsV1Api(BaseApi):
2966
2954
  _path_params = {}
2967
2955
  if _params["owner"]:
2968
2956
  _path_params["owner"] = _params["owner"]
2969
- if _params["project"]:
2970
- _path_params["project"] = _params["project"]
2957
+ if _params["name"]:
2958
+ _path_params["name"] = _params["name"]
2971
2959
 
2972
2960
  # process the query parameters
2973
2961
  _query_params = []
@@ -3003,7 +2991,7 @@ class RunsV1Api(BaseApi):
3003
2991
  _response_types_map = {}
3004
2992
 
3005
2993
  return self.api_client.call_api(
3006
- "/api/v1/{owner}/{project}/runs/delete",
2994
+ "/api/v1/{owner}/{name}/runs/delete",
3007
2995
  "DELETE",
3008
2996
  _path_params,
3009
2997
  _query_params,
@@ -3026,8 +3014,8 @@ class RunsV1Api(BaseApi):
3026
3014
  self,
3027
3015
  namespace: Annotated[StrictStr, Field(..., description="namespace")],
3028
3016
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3029
- project: Annotated[
3030
- StrictStr, Field(..., description="Project where the run will be assigned")
3017
+ entity: Annotated[
3018
+ StrictStr, Field(..., description="Entity where the run will be assigned")
3031
3019
  ],
3032
3020
  kind: Annotated[str, Field(..., description="The artifact kind")],
3033
3021
  names: Annotated[
@@ -3052,21 +3040,21 @@ class RunsV1Api(BaseApi):
3052
3040
  Optional[StrictStr], Field(description="Optional status.")
3053
3041
  ] = None,
3054
3042
  **kwargs
3055
- ) -> V1EventsResponse: # noqa: E501
3043
+ ) -> V1MultiEventsResponse: # noqa: E501
3056
3044
  """Get multi runs events # noqa: E501
3057
3045
 
3058
3046
  This method makes a synchronous HTTP request by default. To make an
3059
3047
  asynchronous HTTP request, please pass async_req=True
3060
3048
 
3061
- >>> thread = api.get_multi_run_events(namespace, owner, project, kind, names, runs, orient, force, sample, connection, status, async_req=True)
3049
+ >>> thread = api.get_multi_run_events(namespace, owner, entity, kind, names, runs, orient, force, sample, connection, status, async_req=True)
3062
3050
  >>> result = thread.get()
3063
3051
 
3064
3052
  :param namespace: namespace (required)
3065
3053
  :type namespace: str
3066
3054
  :param owner: Owner of the namespace (required)
3067
3055
  :type owner: str
3068
- :param project: Project where the run will be assigned (required)
3069
- :type project: str
3056
+ :param entity: Entity where the run will be assigned (required)
3057
+ :type entity: str
3070
3058
  :param kind: The artifact kind (required)
3071
3059
  :type kind: str
3072
3060
  :param names: Names query param.
@@ -3096,13 +3084,13 @@ class RunsV1Api(BaseApi):
3096
3084
  :return: Returns the result object.
3097
3085
  If the method is called asynchronously,
3098
3086
  returns the request thread.
3099
- :rtype: V1EventsResponse
3087
+ :rtype: V1MultiEventsResponse
3100
3088
  """
3101
3089
  kwargs["_return_http_data_only"] = True
3102
3090
  return self.get_multi_run_events_with_http_info(
3103
3091
  namespace,
3104
3092
  owner,
3105
- project,
3093
+ entity,
3106
3094
  kind,
3107
3095
  names,
3108
3096
  runs,
@@ -3119,8 +3107,8 @@ class RunsV1Api(BaseApi):
3119
3107
  self,
3120
3108
  namespace: Annotated[StrictStr, Field(..., description="namespace")],
3121
3109
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3122
- project: Annotated[
3123
- StrictStr, Field(..., description="Project where the run will be assigned")
3110
+ entity: Annotated[
3111
+ StrictStr, Field(..., description="Entity where the run will be assigned")
3124
3112
  ],
3125
3113
  kind: Annotated[str, Field(..., description="The artifact kind")],
3126
3114
  names: Annotated[
@@ -3151,15 +3139,15 @@ class RunsV1Api(BaseApi):
3151
3139
  This method makes a synchronous HTTP request by default. To make an
3152
3140
  asynchronous HTTP request, please pass async_req=True
3153
3141
 
3154
- >>> thread = api.get_multi_run_events_with_http_info(namespace, owner, project, kind, names, runs, orient, force, sample, connection, status, async_req=True)
3142
+ >>> thread = api.get_multi_run_events_with_http_info(namespace, owner, entity, kind, names, runs, orient, force, sample, connection, status, async_req=True)
3155
3143
  >>> result = thread.get()
3156
3144
 
3157
3145
  :param namespace: namespace (required)
3158
3146
  :type namespace: str
3159
3147
  :param owner: Owner of the namespace (required)
3160
3148
  :type owner: str
3161
- :param project: Project where the run will be assigned (required)
3162
- :type project: str
3149
+ :param entity: Entity where the run will be assigned (required)
3150
+ :type entity: str
3163
3151
  :param kind: The artifact kind (required)
3164
3152
  :type kind: str
3165
3153
  :param names: Names query param.
@@ -3197,7 +3185,7 @@ class RunsV1Api(BaseApi):
3197
3185
  :return: Returns the result object.
3198
3186
  If the method is called asynchronously,
3199
3187
  returns the request thread.
3200
- :rtype: tuple(V1EventsResponse, status_code(int), headers(HTTPHeaderDict))
3188
+ :rtype: tuple(V1MultiEventsResponse, status_code(int), headers(HTTPHeaderDict))
3201
3189
  """
3202
3190
 
3203
3191
  _params = locals()
@@ -3205,7 +3193,7 @@ class RunsV1Api(BaseApi):
3205
3193
  _all_params = [
3206
3194
  "namespace",
3207
3195
  "owner",
3208
- "project",
3196
+ "entity",
3209
3197
  "kind",
3210
3198
  "names",
3211
3199
  "runs",
@@ -3245,8 +3233,8 @@ class RunsV1Api(BaseApi):
3245
3233
  _path_params["namespace"] = _params["namespace"]
3246
3234
  if _params["owner"]:
3247
3235
  _path_params["owner"] = _params["owner"]
3248
- if _params["project"]:
3249
- _path_params["project"] = _params["project"]
3236
+ if _params["entity"]:
3237
+ _path_params["entity"] = _params["entity"]
3250
3238
  if _params["kind"]:
3251
3239
  _path_params["kind"] = _params["kind"]
3252
3240
 
@@ -3286,14 +3274,14 @@ class RunsV1Api(BaseApi):
3286
3274
  _auth_settings = ["ApiKey"] # noqa: E501
3287
3275
 
3288
3276
  _response_types_map = {
3289
- "200": "V1EventsResponse",
3277
+ "200": "V1MultiEventsResponse",
3290
3278
  "204": "object",
3291
3279
  "403": "object",
3292
3280
  "404": "object",
3293
3281
  }
3294
3282
 
3295
3283
  return self.api_client.call_api(
3296
- "/streams/v1/{namespace}/{owner}/{project}/runs/multi/events/{kind}",
3284
+ "/streams/v1/{namespace}/{owner}/{entity}/runs/multi/events/{kind}",
3297
3285
  "GET",
3298
3286
  _path_params,
3299
3287
  _query_params,
@@ -3311,6 +3299,196 @@ class RunsV1Api(BaseApi):
3311
3299
  _request_auth=_params.get("_request_auth"),
3312
3300
  )
3313
3301
 
3302
+ @validate_arguments
3303
+ def get_multi_run_importance(
3304
+ self,
3305
+ namespace: Annotated[StrictStr, Field(..., description="namespace")],
3306
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3307
+ entity: Annotated[
3308
+ StrictStr, Field(..., description="Entity where the run will be assigned")
3309
+ ],
3310
+ body: Annotated[Dict[str, Any], Field(..., description="Params/Metrics data")],
3311
+ **kwargs
3312
+ ) -> V1MultiEventsResponse: # noqa: E501
3313
+ """Get multi run importance # noqa: E501
3314
+
3315
+ This method makes a synchronous HTTP request by default. To make an
3316
+ asynchronous HTTP request, please pass async_req=True
3317
+
3318
+ >>> thread = api.get_multi_run_importance(namespace, owner, entity, body, async_req=True)
3319
+ >>> result = thread.get()
3320
+
3321
+ :param namespace: namespace (required)
3322
+ :type namespace: str
3323
+ :param owner: Owner of the namespace (required)
3324
+ :type owner: str
3325
+ :param entity: Entity where the run will be assigned (required)
3326
+ :type entity: str
3327
+ :param body: Params/Metrics data (required)
3328
+ :type body: object
3329
+ :param async_req: Whether to execute the request asynchronously.
3330
+ :type async_req: bool, optional
3331
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3332
+ be returned without reading/decoding response
3333
+ data. Default is True.
3334
+ :type _preload_content: bool, optional
3335
+ :param _request_timeout: timeout setting for this request. If one
3336
+ number provided, it will be total request
3337
+ timeout. It can also be a pair (tuple) of
3338
+ (connection, read) timeouts.
3339
+ :return: Returns the result object.
3340
+ If the method is called asynchronously,
3341
+ returns the request thread.
3342
+ :rtype: V1MultiEventsResponse
3343
+ """
3344
+ kwargs["_return_http_data_only"] = True
3345
+ return self.get_multi_run_importance_with_http_info(
3346
+ namespace, owner, entity, body, **kwargs
3347
+ ) # noqa: E501
3348
+
3349
+ @validate_arguments
3350
+ def get_multi_run_importance_with_http_info(
3351
+ self,
3352
+ namespace: Annotated[StrictStr, Field(..., description="namespace")],
3353
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3354
+ entity: Annotated[
3355
+ StrictStr, Field(..., description="Entity where the run will be assigned")
3356
+ ],
3357
+ body: Annotated[Dict[str, Any], Field(..., description="Params/Metrics data")],
3358
+ **kwargs
3359
+ ): # noqa: E501
3360
+ """Get multi run importance # noqa: E501
3361
+
3362
+ This method makes a synchronous HTTP request by default. To make an
3363
+ asynchronous HTTP request, please pass async_req=True
3364
+
3365
+ >>> thread = api.get_multi_run_importance_with_http_info(namespace, owner, entity, body, async_req=True)
3366
+ >>> result = thread.get()
3367
+
3368
+ :param namespace: namespace (required)
3369
+ :type namespace: str
3370
+ :param owner: Owner of the namespace (required)
3371
+ :type owner: str
3372
+ :param entity: Entity where the run will be assigned (required)
3373
+ :type entity: str
3374
+ :param body: Params/Metrics data (required)
3375
+ :type body: object
3376
+ :param async_req: Whether to execute the request asynchronously.
3377
+ :type async_req: bool, optional
3378
+ :param _return_http_data_only: response data without head status code
3379
+ and headers
3380
+ :type _return_http_data_only: bool, optional
3381
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3382
+ be returned without reading/decoding response
3383
+ data. Default is True.
3384
+ :type _preload_content: bool, optional
3385
+ :param _request_timeout: timeout setting for this request. If one
3386
+ number provided, it will be total request
3387
+ timeout. It can also be a pair (tuple) of
3388
+ (connection, read) timeouts.
3389
+ :param _request_auth: set to override the auth_settings for an a single
3390
+ request; this effectively ignores the authentication
3391
+ in the spec for a single request.
3392
+ :type _request_auth: dict, optional
3393
+ :type _content_type: string, optional: force content-type for the request
3394
+ :return: Returns the result object.
3395
+ If the method is called asynchronously,
3396
+ returns the request thread.
3397
+ :rtype: tuple(V1MultiEventsResponse, status_code(int), headers(HTTPHeaderDict))
3398
+ """
3399
+
3400
+ _params = locals()
3401
+
3402
+ _all_params = ["namespace", "owner", "entity", "body"]
3403
+ _all_params.extend(
3404
+ [
3405
+ "async_req",
3406
+ "_return_http_data_only",
3407
+ "_preload_content",
3408
+ "_request_timeout",
3409
+ "_request_auth",
3410
+ "_content_type",
3411
+ "_headers",
3412
+ ]
3413
+ )
3414
+
3415
+ # validate the arguments
3416
+ for _key, _val in _params["kwargs"].items():
3417
+ if _key not in _all_params:
3418
+ raise ApiTypeError(
3419
+ "Got an unexpected keyword argument '%s'"
3420
+ " to method get_multi_run_importance" % _key
3421
+ )
3422
+ _params[_key] = _val
3423
+ del _params["kwargs"]
3424
+
3425
+ _collection_formats = {}
3426
+
3427
+ # process the path parameters
3428
+ _path_params = {}
3429
+ if _params["namespace"]:
3430
+ _path_params["namespace"] = _params["namespace"]
3431
+
3432
+ if _params["owner"]:
3433
+ _path_params["owner"] = _params["owner"]
3434
+
3435
+ if _params["entity"]:
3436
+ _path_params["entity"] = _params["entity"]
3437
+
3438
+ # process the query parameters
3439
+ _query_params = []
3440
+ # process the header parameters
3441
+ _header_params = dict(_params.get("_headers", {}))
3442
+ # process the form parameters
3443
+ _form_params = []
3444
+ _files = {}
3445
+ # process the body parameter
3446
+ _body_params = None
3447
+ if _params["body"]:
3448
+ _body_params = _params["body"]
3449
+
3450
+ # set the HTTP header `Accept`
3451
+ _header_params["Accept"] = self.api_client.select_header_accept(
3452
+ ["application/json"]
3453
+ ) # noqa: E501
3454
+
3455
+ # set the HTTP header `Content-Type`
3456
+ _content_types_list = _params.get(
3457
+ "_content_type",
3458
+ self.api_client.select_header_content_type(["application/json"]),
3459
+ )
3460
+ if _content_types_list:
3461
+ _header_params["Content-Type"] = _content_types_list
3462
+
3463
+ # authentication setting
3464
+ _auth_settings = ["ApiKey"] # noqa: E501
3465
+
3466
+ _response_types_map = {
3467
+ "200": "V1MultiEventsResponse",
3468
+ "204": "object",
3469
+ "403": "object",
3470
+ "404": "object",
3471
+ }
3472
+
3473
+ return self.api_client.call_api(
3474
+ "/streams/v1/{namespace}/{owner}/{entity}/runs/multi/importance",
3475
+ "POST",
3476
+ _path_params,
3477
+ _query_params,
3478
+ _header_params,
3479
+ body=_body_params,
3480
+ post_params=_form_params,
3481
+ files=_files,
3482
+ response_types_map=_response_types_map,
3483
+ auth_settings=_auth_settings,
3484
+ async_req=_params.get("async_req"),
3485
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
3486
+ _preload_content=_params.get("_preload_content", True),
3487
+ _request_timeout=_params.get("_request_timeout"),
3488
+ collection_formats=_collection_formats,
3489
+ _request_auth=_params.get("_request_auth"),
3490
+ )
3491
+
3314
3492
  @validate_arguments
3315
3493
  def get_run(
3316
3494
  self,
@@ -4179,7 +4357,7 @@ class RunsV1Api(BaseApi):
4179
4357
  self,
4180
4358
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4181
4359
  entity: Annotated[
4182
- StrictStr, Field(..., description="Entity name under namesapce")
4360
+ StrictStr, Field(..., description="Entity name under namespace")
4183
4361
  ],
4184
4362
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
4185
4363
  offset: Annotated[
@@ -4205,7 +4383,7 @@ class RunsV1Api(BaseApi):
4205
4383
 
4206
4384
  :param owner: Owner of the namespace (required)
4207
4385
  :type owner: str
4208
- :param entity: Entity name under namesapce (required)
4386
+ :param entity: Entity name under namespace (required)
4209
4387
  :type entity: str
4210
4388
  :param uuid: SubEntity uuid (required)
4211
4389
  :type uuid: str
@@ -4244,7 +4422,7 @@ class RunsV1Api(BaseApi):
4244
4422
  self,
4245
4423
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4246
4424
  entity: Annotated[
4247
- StrictStr, Field(..., description="Entity name under namesapce")
4425
+ StrictStr, Field(..., description="Entity name under namespace")
4248
4426
  ],
4249
4427
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
4250
4428
  offset: Annotated[
@@ -4270,7 +4448,7 @@ class RunsV1Api(BaseApi):
4270
4448
 
4271
4449
  :param owner: Owner of the namespace (required)
4272
4450
  :type owner: str
4273
- :param entity: Entity name under namesapce (required)
4451
+ :param entity: Entity name under namespace (required)
4274
4452
  :type entity: str
4275
4453
  :param uuid: SubEntity uuid (required)
4276
4454
  :type uuid: str
@@ -4415,7 +4593,7 @@ class RunsV1Api(BaseApi):
4415
4593
  self,
4416
4594
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4417
4595
  entity: Annotated[
4418
- StrictStr, Field(..., description="Entity name under namesapce")
4596
+ StrictStr, Field(..., description="Entity name under namespace")
4419
4597
  ],
4420
4598
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
4421
4599
  offset: Annotated[
@@ -4441,7 +4619,7 @@ class RunsV1Api(BaseApi):
4441
4619
 
4442
4620
  :param owner: Owner of the namespace (required)
4443
4621
  :type owner: str
4444
- :param entity: Entity name under namesapce (required)
4622
+ :param entity: Entity name under namespace (required)
4445
4623
  :type entity: str
4446
4624
  :param uuid: SubEntity uuid (required)
4447
4625
  :type uuid: str
@@ -4480,7 +4658,7 @@ class RunsV1Api(BaseApi):
4480
4658
  self,
4481
4659
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4482
4660
  entity: Annotated[
4483
- StrictStr, Field(..., description="Entity name under namesapce")
4661
+ StrictStr, Field(..., description="Entity name under namespace")
4484
4662
  ],
4485
4663
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
4486
4664
  offset: Annotated[
@@ -4506,7 +4684,7 @@ class RunsV1Api(BaseApi):
4506
4684
 
4507
4685
  :param owner: Owner of the namespace (required)
4508
4686
  :type owner: str
4509
- :param entity: Entity name under namesapce (required)
4687
+ :param entity: Entity name under namespace (required)
4510
4688
  :type entity: str
4511
4689
  :param uuid: SubEntity uuid (required)
4512
4690
  :type uuid: str
@@ -4862,7 +5040,7 @@ class RunsV1Api(BaseApi):
4862
5040
  self,
4863
5041
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4864
5042
  entity: Annotated[
4865
- StrictStr, Field(..., description="Entity name under namesapce")
5043
+ StrictStr, Field(..., description="Entity name under namespace")
4866
5044
  ],
4867
5045
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
4868
5046
  offset: Annotated[
@@ -4888,7 +5066,7 @@ class RunsV1Api(BaseApi):
4888
5066
 
4889
5067
  :param owner: Owner of the namespace (required)
4890
5068
  :type owner: str
4891
- :param entity: Entity name under namesapce (required)
5069
+ :param entity: Entity name under namespace (required)
4892
5070
  :type entity: str
4893
5071
  :param uuid: SubEntity uuid (required)
4894
5072
  :type uuid: str
@@ -4927,7 +5105,7 @@ class RunsV1Api(BaseApi):
4927
5105
  self,
4928
5106
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4929
5107
  entity: Annotated[
4930
- StrictStr, Field(..., description="Entity name under namesapce")
5108
+ StrictStr, Field(..., description="Entity name under namespace")
4931
5109
  ],
4932
5110
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
4933
5111
  offset: Annotated[
@@ -4953,7 +5131,7 @@ class RunsV1Api(BaseApi):
4953
5131
 
4954
5132
  :param owner: Owner of the namespace (required)
4955
5133
  :type owner: str
4956
- :param entity: Entity name under namesapce (required)
5134
+ :param entity: Entity name under namespace (required)
4957
5135
  :type entity: str
4958
5136
  :param uuid: SubEntity uuid (required)
4959
5137
  :type uuid: str
@@ -5098,7 +5276,7 @@ class RunsV1Api(BaseApi):
5098
5276
  self,
5099
5277
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5100
5278
  entity: Annotated[
5101
- StrictStr, Field(..., description="Entity name under namesapce")
5279
+ StrictStr, Field(..., description="Entity name under namespace")
5102
5280
  ],
5103
5281
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
5104
5282
  offset: Annotated[
@@ -5124,7 +5302,7 @@ class RunsV1Api(BaseApi):
5124
5302
 
5125
5303
  :param owner: Owner of the namespace (required)
5126
5304
  :type owner: str
5127
- :param entity: Entity name under namesapce (required)
5305
+ :param entity: Entity name under namespace (required)
5128
5306
  :type entity: str
5129
5307
  :param uuid: SubEntity uuid (required)
5130
5308
  :type uuid: str
@@ -5163,7 +5341,7 @@ class RunsV1Api(BaseApi):
5163
5341
  self,
5164
5342
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5165
5343
  entity: Annotated[
5166
- StrictStr, Field(..., description="Entity name under namesapce")
5344
+ StrictStr, Field(..., description="Entity name under namespace")
5167
5345
  ],
5168
5346
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
5169
5347
  offset: Annotated[
@@ -5189,7 +5367,7 @@ class RunsV1Api(BaseApi):
5189
5367
 
5190
5368
  :param owner: Owner of the namespace (required)
5191
5369
  :type owner: str
5192
- :param entity: Entity name under namesapce (required)
5370
+ :param entity: Entity name under namespace (required)
5193
5371
  :type entity: str
5194
5372
  :param uuid: SubEntity uuid (required)
5195
5373
  :type uuid: str
@@ -5334,7 +5512,7 @@ class RunsV1Api(BaseApi):
5334
5512
  self,
5335
5513
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5336
5514
  entity: Annotated[
5337
- StrictStr, Field(..., description="Entity name under namesapce")
5515
+ StrictStr, Field(..., description="Entity name under namespace")
5338
5516
  ],
5339
5517
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
5340
5518
  offset: Annotated[
@@ -5360,7 +5538,7 @@ class RunsV1Api(BaseApi):
5360
5538
 
5361
5539
  :param owner: Owner of the namespace (required)
5362
5540
  :type owner: str
5363
- :param entity: Entity name under namesapce (required)
5541
+ :param entity: Entity name under namespace (required)
5364
5542
  :type entity: str
5365
5543
  :param uuid: SubEntity uuid (required)
5366
5544
  :type uuid: str
@@ -5399,7 +5577,7 @@ class RunsV1Api(BaseApi):
5399
5577
  self,
5400
5578
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5401
5579
  entity: Annotated[
5402
- StrictStr, Field(..., description="Entity name under namesapce")
5580
+ StrictStr, Field(..., description="Entity name under namespace")
5403
5581
  ],
5404
5582
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
5405
5583
  offset: Annotated[
@@ -5425,7 +5603,7 @@ class RunsV1Api(BaseApi):
5425
5603
 
5426
5604
  :param owner: Owner of the namespace (required)
5427
5605
  :type owner: str
5428
- :param entity: Entity name under namesapce (required)
5606
+ :param entity: Entity name under namespace (required)
5429
5607
  :type entity: str
5430
5608
  :param uuid: SubEntity uuid (required)
5431
5609
  :type uuid: str
@@ -5856,216 +6034,9 @@ class RunsV1Api(BaseApi):
5856
6034
  )
5857
6035
 
5858
6036
  @validate_arguments
5859
- def get_run_importance(
6037
+ def get_run_logs(
5860
6038
  self,
5861
- namespace: Annotated[StrictStr, Field(..., description="namespace")],
5862
- owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5863
- project: Annotated[
5864
- StrictStr, Field(..., description="Project where the run will be assigned")
5865
- ],
5866
- uuid: Annotated[
5867
- StrictStr, Field(..., description="Uuid identifier of the entity")
5868
- ],
5869
- body: Annotated[
5870
- Dict[str, StrictStr], Field(..., description="Params/Metrics data")
5871
- ],
5872
- **kwargs
5873
- ) -> V1EventsResponse: # noqa: E501
5874
- """Get run importance # noqa: E501
5875
-
5876
- This method makes a synchronous HTTP request by default. To make an
5877
- asynchronous HTTP request, please pass async_req=True
5878
-
5879
- >>> thread = api.get_run_importance(namespace, owner, project, uuid, body, async_req=True)
5880
- >>> result = thread.get()
5881
-
5882
- :param namespace: namespace (required)
5883
- :type namespace: str
5884
- :param owner: Owner of the namespace (required)
5885
- :type owner: str
5886
- :param project: Project where the run will be assigned (required)
5887
- :type project: str
5888
- :param uuid: Uuid identifier of the entity (required)
5889
- :type uuid: str
5890
- :param body: Params/Metrics data (required)
5891
- :type body: object
5892
- :param async_req: Whether to execute the request asynchronously.
5893
- :type async_req: bool, optional
5894
- :param _preload_content: if False, the urllib3.HTTPResponse object will
5895
- be returned without reading/decoding response
5896
- data. Default is True.
5897
- :type _preload_content: bool, optional
5898
- :param _request_timeout: timeout setting for this request. If one
5899
- number provided, it will be total request
5900
- timeout. It can also be a pair (tuple) of
5901
- (connection, read) timeouts.
5902
- :return: Returns the result object.
5903
- If the method is called asynchronously,
5904
- returns the request thread.
5905
- :rtype: V1EventsResponse
5906
- """
5907
- kwargs["_return_http_data_only"] = True
5908
- return self.get_run_importance_with_http_info(
5909
- namespace, owner, project, uuid, body, **kwargs
5910
- ) # noqa: E501
5911
-
5912
- @validate_arguments
5913
- def get_run_importance_with_http_info(
5914
- self,
5915
- namespace: Annotated[StrictStr, Field(..., description="namespace")],
5916
- owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5917
- project: Annotated[
5918
- StrictStr, Field(..., description="Project where the run will be assigned")
5919
- ],
5920
- uuid: Annotated[
5921
- StrictStr, Field(..., description="Uuid identifier of the entity")
5922
- ],
5923
- body: Annotated[
5924
- Dict[str, StrictStr], Field(..., description="Params/Metrics data")
5925
- ],
5926
- **kwargs
5927
- ): # noqa: E501
5928
- """Get run importance # noqa: E501
5929
-
5930
- This method makes a synchronous HTTP request by default. To make an
5931
- asynchronous HTTP request, please pass async_req=True
5932
-
5933
- >>> thread = api.get_run_importance_with_http_info(namespace, owner, project, uuid, body, async_req=True)
5934
- >>> result = thread.get()
5935
-
5936
- :param namespace: namespace (required)
5937
- :type namespace: str
5938
- :param owner: Owner of the namespace (required)
5939
- :type owner: str
5940
- :param project: Project where the run will be assigned (required)
5941
- :type project: str
5942
- :param uuid: Uuid identifier of the entity (required)
5943
- :type uuid: str
5944
- :param body: Params/Metrics data (required)
5945
- :type body: object
5946
- :param async_req: Whether to execute the request asynchronously.
5947
- :type async_req: bool, optional
5948
- :param _return_http_data_only: response data without head status code
5949
- and headers
5950
- :type _return_http_data_only: bool, optional
5951
- :param _preload_content: if False, the urllib3.HTTPResponse object will
5952
- be returned without reading/decoding response
5953
- data. Default is True.
5954
- :type _preload_content: bool, optional
5955
- :param _request_timeout: timeout setting for this request. If one
5956
- number provided, it will be total request
5957
- timeout. It can also be a pair (tuple) of
5958
- (connection, read) timeouts.
5959
- :param _request_auth: set to override the auth_settings for an a single
5960
- request; this effectively ignores the authentication
5961
- in the spec for a single request.
5962
- :type _request_auth: dict, optional
5963
- :type _content_type: string, optional: force content-type for the request
5964
- :return: Returns the result object.
5965
- If the method is called asynchronously,
5966
- returns the request thread.
5967
- :rtype: tuple(V1EventsResponse, status_code(int), headers(HTTPHeaderDict))
5968
- """
5969
-
5970
- _params = locals()
5971
-
5972
- _all_params = ["namespace", "owner", "project", "uuid", "body"]
5973
- _all_params.extend(
5974
- [
5975
- "async_req",
5976
- "_return_http_data_only",
5977
- "_preload_content",
5978
- "_request_timeout",
5979
- "_request_auth",
5980
- "_content_type",
5981
- "_headers",
5982
- ]
5983
- )
5984
-
5985
- # validate the arguments
5986
- for _key, _val in _params["kwargs"].items():
5987
- if _key not in _all_params:
5988
- raise ApiTypeError(
5989
- "Got an unexpected keyword argument '%s'"
5990
- " to method get_run_importance" % _key
5991
- )
5992
- _params[_key] = _val
5993
- del _params["kwargs"]
5994
-
5995
- _collection_formats = {}
5996
-
5997
- # process the path parameters
5998
- _path_params = {}
5999
- if _params["namespace"]:
6000
- _path_params["namespace"] = _params["namespace"]
6001
- if _params["owner"]:
6002
- _path_params["owner"] = _params["owner"]
6003
- if _params["project"]:
6004
- _path_params["project"] = _params["project"]
6005
- if _params["uuid"]:
6006
- _path_params["uuid"] = _params["uuid"]
6007
-
6008
- # process the query parameters
6009
- _query_params = []
6010
-
6011
- # process the header parameters
6012
- _header_params = dict(_params.get("_headers", {}))
6013
-
6014
- # process the form parameters
6015
- _form_params = []
6016
- _files = {}
6017
-
6018
- # process the body parameter
6019
- _body_params = None
6020
- if _params["body"]:
6021
- _body_params = _params["body"]
6022
-
6023
- # set the HTTP header `Accept`
6024
- _header_params["Accept"] = self.api_client.select_header_accept(
6025
- ["application/json"]
6026
- ) # noqa: E501
6027
-
6028
- # set the HTTP header `Content-Type`
6029
- _content_types_list = _params.get(
6030
- "_content_type",
6031
- self.api_client.select_header_content_type(["application/json"]),
6032
- )
6033
- if _content_types_list:
6034
- _header_params["Content-Type"] = _content_types_list
6035
-
6036
- # authentication setting
6037
- _auth_settings = ["ApiKey"] # noqa: E501
6038
-
6039
- _response_types_map = {
6040
- "200": "V1EventsResponse",
6041
- "204": "object",
6042
- "403": "object",
6043
- "404": "object",
6044
- }
6045
-
6046
- return self.api_client.call_api(
6047
- "/streams/v1/{namespace}/{owner}/{project}/runs/{uuid}/importance",
6048
- "POST",
6049
- _path_params,
6050
- _query_params,
6051
- _header_params,
6052
- body=_body_params,
6053
- post_params=_form_params,
6054
- files=_files,
6055
- response_types_map=_response_types_map,
6056
- auth_settings=_auth_settings,
6057
- async_req=_params.get("async_req"),
6058
- _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
6059
- _preload_content=_params.get("_preload_content", True),
6060
- _request_timeout=_params.get("_request_timeout"),
6061
- collection_formats=_collection_formats,
6062
- _request_auth=_params.get("_request_auth"),
6063
- )
6064
-
6065
- @validate_arguments
6066
- def get_run_logs(
6067
- self,
6068
- namespace: StrictStr,
6039
+ namespace: StrictStr,
6069
6040
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6070
6041
  project: Annotated[
6071
6042
  StrictStr, Field(..., description="Project where the run will be assigned")
@@ -6979,7 +6950,7 @@ class RunsV1Api(BaseApi):
6979
6950
  self,
6980
6951
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6981
6952
  entity: Annotated[
6982
- StrictStr, Field(..., description="Entity name under namesapce")
6953
+ StrictStr, Field(..., description="Entity name under namespace")
6983
6954
  ],
6984
6955
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
6985
6956
  offset: Annotated[
@@ -7016,7 +6987,7 @@ class RunsV1Api(BaseApi):
7016
6987
 
7017
6988
  :param owner: Owner of the namespace (required)
7018
6989
  :type owner: str
7019
- :param entity: Entity name under namesapce (required)
6990
+ :param entity: Entity name under namespace (required)
7020
6991
  :type entity: str
7021
6992
  :param uuid: SubEntity uuid (required)
7022
6993
  :type uuid: str
@@ -7078,7 +7049,7 @@ class RunsV1Api(BaseApi):
7078
7049
  self,
7079
7050
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
7080
7051
  entity: Annotated[
7081
- StrictStr, Field(..., description="Entity name under namesapce")
7052
+ StrictStr, Field(..., description="Entity name under namespace")
7082
7053
  ],
7083
7054
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
7084
7055
  offset: Annotated[
@@ -7115,7 +7086,7 @@ class RunsV1Api(BaseApi):
7115
7086
 
7116
7087
  :param owner: Owner of the namespace (required)
7117
7088
  :type owner: str
7118
- :param entity: Entity name under namesapce (required)
7089
+ :param entity: Entity name under namespace (required)
7119
7090
  :type entity: str
7120
7091
  :param uuid: SubEntity uuid (required)
7121
7092
  :type uuid: str
@@ -7470,7 +7441,7 @@ class RunsV1Api(BaseApi):
7470
7441
  self,
7471
7442
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
7472
7443
  entity: Annotated[
7473
- StrictStr, Field(..., description="Entity name under namesapce")
7444
+ StrictStr, Field(..., description="Entity name under namespace")
7474
7445
  ],
7475
7446
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
7476
7447
  offset: Annotated[
@@ -7496,7 +7467,7 @@ class RunsV1Api(BaseApi):
7496
7467
 
7497
7468
  :param owner: Owner of the namespace (required)
7498
7469
  :type owner: str
7499
- :param entity: Entity name under namesapce (required)
7470
+ :param entity: Entity name under namespace (required)
7500
7471
  :type entity: str
7501
7472
  :param uuid: SubEntity uuid (required)
7502
7473
  :type uuid: str
@@ -7535,7 +7506,7 @@ class RunsV1Api(BaseApi):
7535
7506
  self,
7536
7507
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
7537
7508
  entity: Annotated[
7538
- StrictStr, Field(..., description="Entity name under namesapce")
7509
+ StrictStr, Field(..., description="Entity name under namespace")
7539
7510
  ],
7540
7511
  uuid: Annotated[StrictStr, Field(..., description="SubEntity uuid")],
7541
7512
  offset: Annotated[
@@ -7561,7 +7532,7 @@ class RunsV1Api(BaseApi):
7561
7532
 
7562
7533
  :param owner: Owner of the namespace (required)
7563
7534
  :type owner: str
7564
- :param entity: Entity name under namesapce (required)
7535
+ :param entity: Entity name under namespace (required)
7565
7536
  :type entity: str
7566
7537
  :param uuid: SubEntity uuid (required)
7567
7538
  :type uuid: str
@@ -8603,9 +8574,7 @@ class RunsV1Api(BaseApi):
8603
8574
  def invalidate_runs(
8604
8575
  self,
8605
8576
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
8606
- project: Annotated[
8607
- StrictStr, Field(..., description="Project under namesapce")
8608
- ],
8577
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
8609
8578
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
8610
8579
  **kwargs
8611
8580
  ) -> None: # noqa: E501
@@ -8614,13 +8583,13 @@ class RunsV1Api(BaseApi):
8614
8583
  This method makes a synchronous HTTP request by default. To make an
8615
8584
  asynchronous HTTP request, please pass async_req=True
8616
8585
 
8617
- >>> thread = api.invalidate_runs(owner, project, body, async_req=True)
8586
+ >>> thread = api.invalidate_runs(owner, name, body, async_req=True)
8618
8587
  >>> result = thread.get()
8619
8588
 
8620
8589
  :param owner: Owner of the namespace (required)
8621
8590
  :type owner: str
8622
- :param project: Project under namesapce (required)
8623
- :type project: str
8591
+ :param name: Entity under namespace (required)
8592
+ :type name: str
8624
8593
  :param body: Uuids of the entities (required)
8625
8594
  :type body: V1Uuids
8626
8595
  :param async_req: Whether to execute the request asynchronously.
@@ -8640,16 +8609,14 @@ class RunsV1Api(BaseApi):
8640
8609
  """
8641
8610
  kwargs["_return_http_data_only"] = True
8642
8611
  return self.invalidate_runs_with_http_info(
8643
- owner, project, body, **kwargs
8612
+ owner, name, body, **kwargs
8644
8613
  ) # noqa: E501
8645
8614
 
8646
8615
  @validate_arguments
8647
8616
  def invalidate_runs_with_http_info(
8648
8617
  self,
8649
8618
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
8650
- project: Annotated[
8651
- StrictStr, Field(..., description="Project under namesapce")
8652
- ],
8619
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
8653
8620
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
8654
8621
  **kwargs
8655
8622
  ): # noqa: E501
@@ -8658,13 +8625,13 @@ class RunsV1Api(BaseApi):
8658
8625
  This method makes a synchronous HTTP request by default. To make an
8659
8626
  asynchronous HTTP request, please pass async_req=True
8660
8627
 
8661
- >>> thread = api.invalidate_runs_with_http_info(owner, project, body, async_req=True)
8628
+ >>> thread = api.invalidate_runs_with_http_info(owner, name, body, async_req=True)
8662
8629
  >>> result = thread.get()
8663
8630
 
8664
8631
  :param owner: Owner of the namespace (required)
8665
8632
  :type owner: str
8666
- :param project: Project under namesapce (required)
8667
- :type project: str
8633
+ :param name: Entity under namespace (required)
8634
+ :type name: str
8668
8635
  :param body: Uuids of the entities (required)
8669
8636
  :type body: V1Uuids
8670
8637
  :param async_req: Whether to execute the request asynchronously.
@@ -8693,7 +8660,7 @@ class RunsV1Api(BaseApi):
8693
8660
 
8694
8661
  _params = locals()
8695
8662
 
8696
- _all_params = ["owner", "project", "body"]
8663
+ _all_params = ["owner", "name", "body"]
8697
8664
  _all_params.extend(
8698
8665
  [
8699
8666
  "async_req",
@@ -8722,8 +8689,8 @@ class RunsV1Api(BaseApi):
8722
8689
  _path_params = {}
8723
8690
  if _params["owner"]:
8724
8691
  _path_params["owner"] = _params["owner"]
8725
- if _params["project"]:
8726
- _path_params["project"] = _params["project"]
8692
+ if _params["name"]:
8693
+ _path_params["name"] = _params["name"]
8727
8694
 
8728
8695
  # process the query parameters
8729
8696
  _query_params = []
@@ -8759,7 +8726,7 @@ class RunsV1Api(BaseApi):
8759
8726
  _response_types_map = {}
8760
8727
 
8761
8728
  return self.api_client.call_api(
8762
- "/api/v1/{owner}/{project}/runs/invalidate",
8729
+ "/api/v1/{owner}/{name}/runs/invalidate",
8763
8730
  "POST",
8764
8731
  _path_params,
8765
8732
  _query_params,
@@ -10208,9 +10175,7 @@ class RunsV1Api(BaseApi):
10208
10175
  def restore_runs(
10209
10176
  self,
10210
10177
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10211
- project: Annotated[
10212
- StrictStr, Field(..., description="Project under namesapce")
10213
- ],
10178
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
10214
10179
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
10215
10180
  **kwargs
10216
10181
  ) -> None: # noqa: E501
@@ -10219,13 +10184,13 @@ class RunsV1Api(BaseApi):
10219
10184
  This method makes a synchronous HTTP request by default. To make an
10220
10185
  asynchronous HTTP request, please pass async_req=True
10221
10186
 
10222
- >>> thread = api.restore_runs(owner, project, body, async_req=True)
10187
+ >>> thread = api.restore_runs(owner, name, body, async_req=True)
10223
10188
  >>> result = thread.get()
10224
10189
 
10225
10190
  :param owner: Owner of the namespace (required)
10226
10191
  :type owner: str
10227
- :param project: Project under namesapce (required)
10228
- :type project: str
10192
+ :param name: Entity under namespace (required)
10193
+ :type name: str
10229
10194
  :param body: Uuids of the entities (required)
10230
10195
  :type body: V1Uuids
10231
10196
  :param async_req: Whether to execute the request asynchronously.
@@ -10245,16 +10210,14 @@ class RunsV1Api(BaseApi):
10245
10210
  """
10246
10211
  kwargs["_return_http_data_only"] = True
10247
10212
  return self.restore_runs_with_http_info(
10248
- owner, project, body, **kwargs
10213
+ owner, name, body, **kwargs
10249
10214
  ) # noqa: E501
10250
10215
 
10251
10216
  @validate_arguments
10252
10217
  def restore_runs_with_http_info(
10253
10218
  self,
10254
10219
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10255
- project: Annotated[
10256
- StrictStr, Field(..., description="Project under namesapce")
10257
- ],
10220
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
10258
10221
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
10259
10222
  **kwargs
10260
10223
  ): # noqa: E501
@@ -10263,13 +10226,13 @@ class RunsV1Api(BaseApi):
10263
10226
  This method makes a synchronous HTTP request by default. To make an
10264
10227
  asynchronous HTTP request, please pass async_req=True
10265
10228
 
10266
- >>> thread = api.restore_runs_with_http_info(owner, project, body, async_req=True)
10229
+ >>> thread = api.restore_runs_with_http_info(owner, name, body, async_req=True)
10267
10230
  >>> result = thread.get()
10268
10231
 
10269
10232
  :param owner: Owner of the namespace (required)
10270
10233
  :type owner: str
10271
- :param project: Project under namesapce (required)
10272
- :type project: str
10234
+ :param name: Entity under namespace (required)
10235
+ :type name: str
10273
10236
  :param body: Uuids of the entities (required)
10274
10237
  :type body: V1Uuids
10275
10238
  :param async_req: Whether to execute the request asynchronously.
@@ -10298,7 +10261,7 @@ class RunsV1Api(BaseApi):
10298
10261
 
10299
10262
  _params = locals()
10300
10263
 
10301
- _all_params = ["owner", "project", "body"]
10264
+ _all_params = ["owner", "name", "body"]
10302
10265
  _all_params.extend(
10303
10266
  [
10304
10267
  "async_req",
@@ -10327,8 +10290,8 @@ class RunsV1Api(BaseApi):
10327
10290
  _path_params = {}
10328
10291
  if _params["owner"]:
10329
10292
  _path_params["owner"] = _params["owner"]
10330
- if _params["project"]:
10331
- _path_params["project"] = _params["project"]
10293
+ if _params["name"]:
10294
+ _path_params["name"] = _params["name"]
10332
10295
 
10333
10296
  # process the query parameters
10334
10297
  _query_params = []
@@ -10364,7 +10327,7 @@ class RunsV1Api(BaseApi):
10364
10327
  _response_types_map = {}
10365
10328
 
10366
10329
  return self.api_client.call_api(
10367
- "/api/v1/{owner}/{project}/runs/restore",
10330
+ "/api/v1/{owner}/{name}/runs/restore",
10368
10331
  "POST",
10369
10332
  _path_params,
10370
10333
  _query_params,
@@ -10574,34 +10537,30 @@ class RunsV1Api(BaseApi):
10574
10537
  )
10575
10538
 
10576
10539
  @validate_arguments
10577
- def stop_run(
10540
+ def set_run_edges_lineage(
10578
10541
  self,
10579
10542
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10580
- entity: Annotated[
10581
- StrictStr,
10582
- Field(
10583
- ..., description="Entity: project name, hub name, registry name, ..."
10584
- ),
10585
- ],
10586
- uuid: Annotated[
10587
- StrictStr, Field(..., description="Uuid identifier of the sub-entity")
10588
- ],
10543
+ project: Annotated[StrictStr, Field(..., description="Project")],
10544
+ uuid: Annotated[StrictStr, Field(..., description="Run uuid")],
10545
+ body: Annotated[V1RunEdgesGraph, Field(..., description="Run edges graph")],
10589
10546
  **kwargs
10590
10547
  ) -> None: # noqa: E501
10591
- """Stop run # noqa: E501
10548
+ """Set run edges graph lineage # noqa: E501
10592
10549
 
10593
10550
  This method makes a synchronous HTTP request by default. To make an
10594
10551
  asynchronous HTTP request, please pass async_req=True
10595
10552
 
10596
- >>> thread = api.stop_run(owner, entity, uuid, async_req=True)
10553
+ >>> thread = api.set_run_edges_lineage(owner, project, uuid, body, async_req=True)
10597
10554
  >>> result = thread.get()
10598
10555
 
10599
10556
  :param owner: Owner of the namespace (required)
10600
10557
  :type owner: str
10601
- :param entity: Entity: project name, hub name, registry name, ... (required)
10602
- :type entity: str
10603
- :param uuid: Uuid identifier of the sub-entity (required)
10558
+ :param project: Project (required)
10559
+ :type project: str
10560
+ :param uuid: Run uuid (required)
10604
10561
  :type uuid: str
10562
+ :param body: Run edges graph (required)
10563
+ :type body: V1RunEdgesGraph
10605
10564
  :param async_req: Whether to execute the request asynchronously.
10606
10565
  :type async_req: bool, optional
10607
10566
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -10618,37 +10577,35 @@ class RunsV1Api(BaseApi):
10618
10577
  :rtype: None
10619
10578
  """
10620
10579
  kwargs["_return_http_data_only"] = True
10621
- return self.stop_run_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
10580
+ return self.set_run_edges_lineage_with_http_info(
10581
+ owner, project, uuid, body, **kwargs
10582
+ ) # noqa: E501
10622
10583
 
10623
10584
  @validate_arguments
10624
- def stop_run_with_http_info(
10585
+ def set_run_edges_lineage_with_http_info(
10625
10586
  self,
10626
10587
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10627
- entity: Annotated[
10628
- StrictStr,
10629
- Field(
10630
- ..., description="Entity: project name, hub name, registry name, ..."
10631
- ),
10632
- ],
10633
- uuid: Annotated[
10634
- StrictStr, Field(..., description="Uuid identifier of the sub-entity")
10635
- ],
10588
+ project: Annotated[StrictStr, Field(..., description="Project")],
10589
+ uuid: Annotated[StrictStr, Field(..., description="Run uuid")],
10590
+ body: Annotated[V1RunEdgesGraph, Field(..., description="Run edges graph")],
10636
10591
  **kwargs
10637
10592
  ): # noqa: E501
10638
- """Stop run # noqa: E501
10593
+ """Set run edges graph lineage # noqa: E501
10639
10594
 
10640
10595
  This method makes a synchronous HTTP request by default. To make an
10641
10596
  asynchronous HTTP request, please pass async_req=True
10642
10597
 
10643
- >>> thread = api.stop_run_with_http_info(owner, entity, uuid, async_req=True)
10598
+ >>> thread = api.set_run_edges_lineage_with_http_info(owner, project, uuid, body, async_req=True)
10644
10599
  >>> result = thread.get()
10645
10600
 
10646
10601
  :param owner: Owner of the namespace (required)
10647
10602
  :type owner: str
10648
- :param entity: Entity: project name, hub name, registry name, ... (required)
10649
- :type entity: str
10650
- :param uuid: Uuid identifier of the sub-entity (required)
10603
+ :param project: Project (required)
10604
+ :type project: str
10605
+ :param uuid: Run uuid (required)
10651
10606
  :type uuid: str
10607
+ :param body: Run edges graph (required)
10608
+ :type body: V1RunEdgesGraph
10652
10609
  :param async_req: Whether to execute the request asynchronously.
10653
10610
  :type async_req: bool, optional
10654
10611
  :param _return_http_data_only: response data without head status code
@@ -10675,7 +10632,538 @@ class RunsV1Api(BaseApi):
10675
10632
 
10676
10633
  _params = locals()
10677
10634
 
10678
- _all_params = ["owner", "entity", "uuid"]
10635
+ _all_params = ["owner", "project", "uuid", "body"]
10636
+ _all_params.extend(
10637
+ [
10638
+ "async_req",
10639
+ "_return_http_data_only",
10640
+ "_preload_content",
10641
+ "_request_timeout",
10642
+ "_request_auth",
10643
+ "_content_type",
10644
+ "_headers",
10645
+ ]
10646
+ )
10647
+
10648
+ # validate the arguments
10649
+ for _key, _val in _params["kwargs"].items():
10650
+ if _key not in _all_params:
10651
+ raise ApiTypeError(
10652
+ "Got an unexpected keyword argument '%s'"
10653
+ " to method set_run_edges_lineage" % _key
10654
+ )
10655
+ _params[_key] = _val
10656
+ del _params["kwargs"]
10657
+
10658
+ _collection_formats = {}
10659
+
10660
+ # process the path parameters
10661
+ _path_params = {}
10662
+ if _params["owner"]:
10663
+ _path_params["owner"] = _params["owner"]
10664
+ if _params["project"]:
10665
+ _path_params["project"] = _params["project"]
10666
+ if _params["uuid"]:
10667
+ _path_params["uuid"] = _params["uuid"]
10668
+
10669
+ # process the query parameters
10670
+ _query_params = []
10671
+ # process the header parameters
10672
+ _header_params = dict(_params.get("_headers", {}))
10673
+ # process the form parameters
10674
+ _form_params = []
10675
+ _files = {}
10676
+ # process the body parameter
10677
+ _body_params = None
10678
+ if _params["body"]:
10679
+ _body_params = _params["body"]
10680
+
10681
+ # set the HTTP header `Accept`
10682
+ _header_params["Accept"] = self.api_client.select_header_accept(
10683
+ ["application/json"]
10684
+ ) # noqa: E501
10685
+
10686
+ # set the HTTP header `Content-Type`
10687
+ _content_types_list = _params.get(
10688
+ "_content_type",
10689
+ self.api_client.select_header_content_type(["application/json"]),
10690
+ )
10691
+ if _content_types_list:
10692
+ _header_params["Content-Type"] = _content_types_list
10693
+
10694
+ # authentication setting
10695
+ _auth_settings = ["ApiKey"] # noqa: E501
10696
+
10697
+ _response_types_map = {}
10698
+
10699
+ return self.api_client.call_api(
10700
+ "/api/v1/{owner}/{project}/runs/{uuid}/lineage/edges",
10701
+ "POST",
10702
+ _path_params,
10703
+ _query_params,
10704
+ _header_params,
10705
+ body=_body_params,
10706
+ post_params=_form_params,
10707
+ files=_files,
10708
+ response_types_map=_response_types_map,
10709
+ auth_settings=_auth_settings,
10710
+ async_req=_params.get("async_req"),
10711
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
10712
+ _preload_content=_params.get("_preload_content", True),
10713
+ _request_timeout=_params.get("_request_timeout"),
10714
+ collection_formats=_collection_formats,
10715
+ _request_auth=_params.get("_request_auth"),
10716
+ )
10717
+
10718
+ @validate_arguments
10719
+ def skip_run(
10720
+ self,
10721
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10722
+ entity: Annotated[
10723
+ StrictStr,
10724
+ Field(
10725
+ ..., description="Entity: project name, hub name, registry name, ..."
10726
+ ),
10727
+ ],
10728
+ uuid: Annotated[
10729
+ StrictStr, Field(..., description="Uuid identifier of the sub-entity")
10730
+ ],
10731
+ **kwargs
10732
+ ) -> None: # noqa: E501
10733
+ """Skip run # noqa: E501
10734
+
10735
+ This method makes a synchronous HTTP request by default. To make an
10736
+ asynchronous HTTP request, please pass async_req=True
10737
+
10738
+ >>> thread = api.skip_run(owner, entity, uuid, async_req=True)
10739
+ >>> result = thread.get()
10740
+
10741
+ :param owner: Owner of the namespace (required)
10742
+ :type owner: str
10743
+ :param entity: Entity: project name, hub name, registry name, ... (required)
10744
+ :type entity: str
10745
+ :param uuid: Uuid identifier of the sub-entity (required)
10746
+ :type uuid: str
10747
+ :param async_req: Whether to execute the request asynchronously.
10748
+ :type async_req: bool, optional
10749
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
10750
+ be returned without reading/decoding response
10751
+ data. Default is True.
10752
+ :type _preload_content: bool, optional
10753
+ :param _request_timeout: timeout setting for this request. If one
10754
+ number provided, it will be total request
10755
+ timeout. It can also be a pair (tuple) of
10756
+ (connection, read) timeouts.
10757
+ :return: Returns the result object.
10758
+ If the method is called asynchronously,
10759
+ returns the request thread.
10760
+ :rtype: None
10761
+ """
10762
+ kwargs["_return_http_data_only"] = True
10763
+ return self.skip_run_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
10764
+
10765
+ @validate_arguments
10766
+ def skip_run_with_http_info(
10767
+ self,
10768
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10769
+ entity: Annotated[
10770
+ StrictStr,
10771
+ Field(
10772
+ ..., description="Entity: project name, hub name, registry name, ..."
10773
+ ),
10774
+ ],
10775
+ uuid: Annotated[
10776
+ StrictStr, Field(..., description="Uuid identifier of the sub-entity")
10777
+ ],
10778
+ **kwargs
10779
+ ): # noqa: E501
10780
+ """Skip run # noqa: E501
10781
+
10782
+ This method makes a synchronous HTTP request by default. To make an
10783
+ asynchronous HTTP request, please pass async_req=True
10784
+
10785
+ >>> thread = api.skip_run_with_http_info(owner, entity, uuid, async_req=True)
10786
+ >>> result = thread.get()
10787
+
10788
+ :param owner: Owner of the namespace (required)
10789
+ :type owner: str
10790
+ :param entity: Entity: project name, hub name, registry name, ... (required)
10791
+ :type entity: str
10792
+ :param uuid: Uuid identifier of the sub-entity (required)
10793
+ :type uuid: str
10794
+ :param async_req: Whether to execute the request asynchronously.
10795
+ :type async_req: bool, optional
10796
+ :param _return_http_data_only: response data without head status code
10797
+ and headers
10798
+ :type _return_http_data_only: bool, optional
10799
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
10800
+ be returned without reading/decoding response
10801
+ data. Default is True.
10802
+ :type _preload_content: bool, optional
10803
+ :param _request_timeout: timeout setting for this request. If one
10804
+ number provided, it will be total request
10805
+ timeout. It can also be a pair (tuple) of
10806
+ (connection, read) timeouts.
10807
+ :param _request_auth: set to override the auth_settings for an a single
10808
+ request; this effectively ignores the authentication
10809
+ in the spec for a single request.
10810
+ :type _request_auth: dict, optional
10811
+ :type _content_type: string, optional: force content-type for the request
10812
+ :return: Returns the result object.
10813
+ If the method is called asynchronously,
10814
+ returns the request thread.
10815
+ :rtype: None
10816
+ """
10817
+
10818
+ _params = locals()
10819
+
10820
+ _all_params = ["owner", "entity", "uuid"]
10821
+ _all_params.extend(
10822
+ [
10823
+ "async_req",
10824
+ "_return_http_data_only",
10825
+ "_preload_content",
10826
+ "_request_timeout",
10827
+ "_request_auth",
10828
+ "_content_type",
10829
+ "_headers",
10830
+ ]
10831
+ )
10832
+
10833
+ # validate the arguments
10834
+ for _key, _val in _params["kwargs"].items():
10835
+ if _key not in _all_params:
10836
+ raise ApiTypeError(
10837
+ "Got an unexpected keyword argument '%s'"
10838
+ " to method skip_run" % _key
10839
+ )
10840
+ _params[_key] = _val
10841
+ del _params["kwargs"]
10842
+
10843
+ _collection_formats = {}
10844
+
10845
+ # process the path parameters
10846
+ _path_params = {}
10847
+ if _params["owner"]:
10848
+ _path_params["owner"] = _params["owner"]
10849
+
10850
+ if _params["entity"]:
10851
+ _path_params["entity"] = _params["entity"]
10852
+
10853
+ if _params["uuid"]:
10854
+ _path_params["uuid"] = _params["uuid"]
10855
+
10856
+ # process the query parameters
10857
+ _query_params = []
10858
+ # process the header parameters
10859
+ _header_params = dict(_params.get("_headers", {}))
10860
+ # process the form parameters
10861
+ _form_params = []
10862
+ _files = {}
10863
+ # process the body parameter
10864
+ _body_params = None
10865
+ # set the HTTP header `Accept`
10866
+ _header_params["Accept"] = self.api_client.select_header_accept(
10867
+ ["application/json"]
10868
+ ) # noqa: E501
10869
+
10870
+ # authentication setting
10871
+ _auth_settings = ["ApiKey"] # noqa: E501
10872
+
10873
+ _response_types_map = {}
10874
+
10875
+ return self.api_client.call_api(
10876
+ "/api/v1/{owner}/{entity}/runs/{uuid}/skip",
10877
+ "POST",
10878
+ _path_params,
10879
+ _query_params,
10880
+ _header_params,
10881
+ body=_body_params,
10882
+ post_params=_form_params,
10883
+ files=_files,
10884
+ response_types_map=_response_types_map,
10885
+ auth_settings=_auth_settings,
10886
+ async_req=_params.get("async_req"),
10887
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
10888
+ _preload_content=_params.get("_preload_content", True),
10889
+ _request_timeout=_params.get("_request_timeout"),
10890
+ collection_formats=_collection_formats,
10891
+ _request_auth=_params.get("_request_auth"),
10892
+ )
10893
+
10894
+ @validate_arguments
10895
+ def skip_runs(
10896
+ self,
10897
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10898
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
10899
+ body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
10900
+ **kwargs
10901
+ ) -> None: # noqa: E501
10902
+ """Skip runs # noqa: E501
10903
+
10904
+ This method makes a synchronous HTTP request by default. To make an
10905
+ asynchronous HTTP request, please pass async_req=True
10906
+
10907
+ >>> thread = api.skip_runs(owner, name, body, async_req=True)
10908
+ >>> result = thread.get()
10909
+
10910
+ :param owner: Owner of the namespace (required)
10911
+ :type owner: str
10912
+ :param name: Entity under namespace (required)
10913
+ :type name: str
10914
+ :param body: Uuids of the entities (required)
10915
+ :type body: V1Uuids
10916
+ :param async_req: Whether to execute the request asynchronously.
10917
+ :type async_req: bool, optional
10918
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
10919
+ be returned without reading/decoding response
10920
+ data. Default is True.
10921
+ :type _preload_content: bool, optional
10922
+ :param _request_timeout: timeout setting for this request. If one
10923
+ number provided, it will be total request
10924
+ timeout. It can also be a pair (tuple) of
10925
+ (connection, read) timeouts.
10926
+ :return: Returns the result object.
10927
+ If the method is called asynchronously,
10928
+ returns the request thread.
10929
+ :rtype: None
10930
+ """
10931
+ kwargs["_return_http_data_only"] = True
10932
+ return self.skip_runs_with_http_info(owner, name, body, **kwargs) # noqa: E501
10933
+
10934
+ @validate_arguments
10935
+ def skip_runs_with_http_info(
10936
+ self,
10937
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10938
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
10939
+ body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
10940
+ **kwargs
10941
+ ): # noqa: E501
10942
+ """Skip runs # noqa: E501
10943
+
10944
+ This method makes a synchronous HTTP request by default. To make an
10945
+ asynchronous HTTP request, please pass async_req=True
10946
+
10947
+ >>> thread = api.skip_runs_with_http_info(owner, name, body, async_req=True)
10948
+ >>> result = thread.get()
10949
+
10950
+ :param owner: Owner of the namespace (required)
10951
+ :type owner: str
10952
+ :param name: Entity under namespace (required)
10953
+ :type name: str
10954
+ :param body: Uuids of the entities (required)
10955
+ :type body: V1Uuids
10956
+ :param async_req: Whether to execute the request asynchronously.
10957
+ :type async_req: bool, optional
10958
+ :param _return_http_data_only: response data without head status code
10959
+ and headers
10960
+ :type _return_http_data_only: bool, optional
10961
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
10962
+ be returned without reading/decoding response
10963
+ data. Default is True.
10964
+ :type _preload_content: bool, optional
10965
+ :param _request_timeout: timeout setting for this request. If one
10966
+ number provided, it will be total request
10967
+ timeout. It can also be a pair (tuple) of
10968
+ (connection, read) timeouts.
10969
+ :param _request_auth: set to override the auth_settings for an a single
10970
+ request; this effectively ignores the authentication
10971
+ in the spec for a single request.
10972
+ :type _request_auth: dict, optional
10973
+ :type _content_type: string, optional: force content-type for the request
10974
+ :return: Returns the result object.
10975
+ If the method is called asynchronously,
10976
+ returns the request thread.
10977
+ :rtype: None
10978
+ """
10979
+
10980
+ _params = locals()
10981
+
10982
+ _all_params = ["owner", "name", "body"]
10983
+ _all_params.extend(
10984
+ [
10985
+ "async_req",
10986
+ "_return_http_data_only",
10987
+ "_preload_content",
10988
+ "_request_timeout",
10989
+ "_request_auth",
10990
+ "_content_type",
10991
+ "_headers",
10992
+ ]
10993
+ )
10994
+
10995
+ # validate the arguments
10996
+ for _key, _val in _params["kwargs"].items():
10997
+ if _key not in _all_params:
10998
+ raise ApiTypeError(
10999
+ "Got an unexpected keyword argument '%s'"
11000
+ " to method skip_runs" % _key
11001
+ )
11002
+ _params[_key] = _val
11003
+ del _params["kwargs"]
11004
+
11005
+ _collection_formats = {}
11006
+
11007
+ # process the path parameters
11008
+ _path_params = {}
11009
+ if _params["owner"]:
11010
+ _path_params["owner"] = _params["owner"]
11011
+
11012
+ if _params["name"]:
11013
+ _path_params["name"] = _params["name"]
11014
+
11015
+ # process the query parameters
11016
+ _query_params = []
11017
+ # process the header parameters
11018
+ _header_params = dict(_params.get("_headers", {}))
11019
+ # process the form parameters
11020
+ _form_params = []
11021
+ _files = {}
11022
+ # process the body parameter
11023
+ _body_params = None
11024
+ if _params["body"]:
11025
+ _body_params = _params["body"]
11026
+
11027
+ # set the HTTP header `Accept`
11028
+ _header_params["Accept"] = self.api_client.select_header_accept(
11029
+ ["application/json"]
11030
+ ) # noqa: E501
11031
+
11032
+ # set the HTTP header `Content-Type`
11033
+ _content_types_list = _params.get(
11034
+ "_content_type",
11035
+ self.api_client.select_header_content_type(["application/json"]),
11036
+ )
11037
+ if _content_types_list:
11038
+ _header_params["Content-Type"] = _content_types_list
11039
+
11040
+ # authentication setting
11041
+ _auth_settings = ["ApiKey"] # noqa: E501
11042
+
11043
+ _response_types_map = {}
11044
+
11045
+ return self.api_client.call_api(
11046
+ "/api/v1/{owner}/{name}/runs/skip",
11047
+ "POST",
11048
+ _path_params,
11049
+ _query_params,
11050
+ _header_params,
11051
+ body=_body_params,
11052
+ post_params=_form_params,
11053
+ files=_files,
11054
+ response_types_map=_response_types_map,
11055
+ auth_settings=_auth_settings,
11056
+ async_req=_params.get("async_req"),
11057
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
11058
+ _preload_content=_params.get("_preload_content", True),
11059
+ _request_timeout=_params.get("_request_timeout"),
11060
+ collection_formats=_collection_formats,
11061
+ _request_auth=_params.get("_request_auth"),
11062
+ )
11063
+
11064
+ @validate_arguments
11065
+ def stop_run(
11066
+ self,
11067
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
11068
+ entity: Annotated[
11069
+ StrictStr,
11070
+ Field(
11071
+ ..., description="Entity: project name, hub name, registry name, ..."
11072
+ ),
11073
+ ],
11074
+ uuid: Annotated[
11075
+ StrictStr, Field(..., description="Uuid identifier of the sub-entity")
11076
+ ],
11077
+ **kwargs
11078
+ ) -> None: # noqa: E501
11079
+ """Stop run # noqa: E501
11080
+
11081
+ This method makes a synchronous HTTP request by default. To make an
11082
+ asynchronous HTTP request, please pass async_req=True
11083
+
11084
+ >>> thread = api.stop_run(owner, entity, uuid, async_req=True)
11085
+ >>> result = thread.get()
11086
+
11087
+ :param owner: Owner of the namespace (required)
11088
+ :type owner: str
11089
+ :param entity: Entity: project name, hub name, registry name, ... (required)
11090
+ :type entity: str
11091
+ :param uuid: Uuid identifier of the sub-entity (required)
11092
+ :type uuid: str
11093
+ :param async_req: Whether to execute the request asynchronously.
11094
+ :type async_req: bool, optional
11095
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
11096
+ be returned without reading/decoding response
11097
+ data. Default is True.
11098
+ :type _preload_content: bool, optional
11099
+ :param _request_timeout: timeout setting for this request. If one
11100
+ number provided, it will be total request
11101
+ timeout. It can also be a pair (tuple) of
11102
+ (connection, read) timeouts.
11103
+ :return: Returns the result object.
11104
+ If the method is called asynchronously,
11105
+ returns the request thread.
11106
+ :rtype: None
11107
+ """
11108
+ kwargs["_return_http_data_only"] = True
11109
+ return self.stop_run_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
11110
+
11111
+ @validate_arguments
11112
+ def stop_run_with_http_info(
11113
+ self,
11114
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
11115
+ entity: Annotated[
11116
+ StrictStr,
11117
+ Field(
11118
+ ..., description="Entity: project name, hub name, registry name, ..."
11119
+ ),
11120
+ ],
11121
+ uuid: Annotated[
11122
+ StrictStr, Field(..., description="Uuid identifier of the sub-entity")
11123
+ ],
11124
+ **kwargs
11125
+ ): # noqa: E501
11126
+ """Stop run # noqa: E501
11127
+
11128
+ This method makes a synchronous HTTP request by default. To make an
11129
+ asynchronous HTTP request, please pass async_req=True
11130
+
11131
+ >>> thread = api.stop_run_with_http_info(owner, entity, uuid, async_req=True)
11132
+ >>> result = thread.get()
11133
+
11134
+ :param owner: Owner of the namespace (required)
11135
+ :type owner: str
11136
+ :param entity: Entity: project name, hub name, registry name, ... (required)
11137
+ :type entity: str
11138
+ :param uuid: Uuid identifier of the sub-entity (required)
11139
+ :type uuid: str
11140
+ :param async_req: Whether to execute the request asynchronously.
11141
+ :type async_req: bool, optional
11142
+ :param _return_http_data_only: response data without head status code
11143
+ and headers
11144
+ :type _return_http_data_only: bool, optional
11145
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
11146
+ be returned without reading/decoding response
11147
+ data. Default is True.
11148
+ :type _preload_content: bool, optional
11149
+ :param _request_timeout: timeout setting for this request. If one
11150
+ number provided, it will be total request
11151
+ timeout. It can also be a pair (tuple) of
11152
+ (connection, read) timeouts.
11153
+ :param _request_auth: set to override the auth_settings for an a single
11154
+ request; this effectively ignores the authentication
11155
+ in the spec for a single request.
11156
+ :type _request_auth: dict, optional
11157
+ :type _content_type: string, optional: force content-type for the request
11158
+ :return: Returns the result object.
11159
+ If the method is called asynchronously,
11160
+ returns the request thread.
11161
+ :rtype: None
11162
+ """
11163
+
11164
+ _params = locals()
11165
+
11166
+ _all_params = ["owner", "entity", "uuid"]
10679
11167
  _all_params.extend(
10680
11168
  [
10681
11169
  "async_req",
@@ -10755,9 +11243,7 @@ class RunsV1Api(BaseApi):
10755
11243
  def stop_runs(
10756
11244
  self,
10757
11245
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10758
- project: Annotated[
10759
- StrictStr, Field(..., description="Project under namesapce")
10760
- ],
11246
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
10761
11247
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
10762
11248
  **kwargs
10763
11249
  ) -> None: # noqa: E501
@@ -10766,13 +11252,13 @@ class RunsV1Api(BaseApi):
10766
11252
  This method makes a synchronous HTTP request by default. To make an
10767
11253
  asynchronous HTTP request, please pass async_req=True
10768
11254
 
10769
- >>> thread = api.stop_runs(owner, project, body, async_req=True)
11255
+ >>> thread = api.stop_runs(owner, name, body, async_req=True)
10770
11256
  >>> result = thread.get()
10771
11257
 
10772
11258
  :param owner: Owner of the namespace (required)
10773
11259
  :type owner: str
10774
- :param project: Project under namesapce (required)
10775
- :type project: str
11260
+ :param name: Entity under namespace (required)
11261
+ :type name: str
10776
11262
  :param body: Uuids of the entities (required)
10777
11263
  :type body: V1Uuids
10778
11264
  :param async_req: Whether to execute the request asynchronously.
@@ -10791,17 +11277,13 @@ class RunsV1Api(BaseApi):
10791
11277
  :rtype: None
10792
11278
  """
10793
11279
  kwargs["_return_http_data_only"] = True
10794
- return self.stop_runs_with_http_info(
10795
- owner, project, body, **kwargs
10796
- ) # noqa: E501
11280
+ return self.stop_runs_with_http_info(owner, name, body, **kwargs) # noqa: E501
10797
11281
 
10798
11282
  @validate_arguments
10799
11283
  def stop_runs_with_http_info(
10800
11284
  self,
10801
11285
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
10802
- project: Annotated[
10803
- StrictStr, Field(..., description="Project under namesapce")
10804
- ],
11286
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
10805
11287
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
10806
11288
  **kwargs
10807
11289
  ): # noqa: E501
@@ -10810,13 +11292,13 @@ class RunsV1Api(BaseApi):
10810
11292
  This method makes a synchronous HTTP request by default. To make an
10811
11293
  asynchronous HTTP request, please pass async_req=True
10812
11294
 
10813
- >>> thread = api.stop_runs_with_http_info(owner, project, body, async_req=True)
11295
+ >>> thread = api.stop_runs_with_http_info(owner, name, body, async_req=True)
10814
11296
  >>> result = thread.get()
10815
11297
 
10816
11298
  :param owner: Owner of the namespace (required)
10817
11299
  :type owner: str
10818
- :param project: Project under namesapce (required)
10819
- :type project: str
11300
+ :param name: Entity under namespace (required)
11301
+ :type name: str
10820
11302
  :param body: Uuids of the entities (required)
10821
11303
  :type body: V1Uuids
10822
11304
  :param async_req: Whether to execute the request asynchronously.
@@ -10845,7 +11327,7 @@ class RunsV1Api(BaseApi):
10845
11327
 
10846
11328
  _params = locals()
10847
11329
 
10848
- _all_params = ["owner", "project", "body"]
11330
+ _all_params = ["owner", "name", "body"]
10849
11331
  _all_params.extend(
10850
11332
  [
10851
11333
  "async_req",
@@ -10874,8 +11356,8 @@ class RunsV1Api(BaseApi):
10874
11356
  _path_params = {}
10875
11357
  if _params["owner"]:
10876
11358
  _path_params["owner"] = _params["owner"]
10877
- if _params["project"]:
10878
- _path_params["project"] = _params["project"]
11359
+ if _params["name"]:
11360
+ _path_params["name"] = _params["name"]
10879
11361
 
10880
11362
  # process the query parameters
10881
11363
  _query_params = []
@@ -10911,7 +11393,7 @@ class RunsV1Api(BaseApi):
10911
11393
  _response_types_map = {}
10912
11394
 
10913
11395
  return self.api_client.call_api(
10914
- "/api/v1/{owner}/{project}/runs/stop",
11396
+ "/api/v1/{owner}/{name}/runs/stop",
10915
11397
  "POST",
10916
11398
  _path_params,
10917
11399
  _query_params,
@@ -11111,9 +11593,7 @@ class RunsV1Api(BaseApi):
11111
11593
  def tag_runs(
11112
11594
  self,
11113
11595
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
11114
- project: Annotated[
11115
- StrictStr, Field(..., description="Project under namesapce")
11116
- ],
11596
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
11117
11597
  body: Annotated[V1EntitiesTags, Field(..., description="Data")],
11118
11598
  **kwargs
11119
11599
  ) -> None: # noqa: E501
@@ -11127,8 +11607,8 @@ class RunsV1Api(BaseApi):
11127
11607
 
11128
11608
  :param owner: Owner of the namespace (required)
11129
11609
  :type owner: str
11130
- :param project: Project under namesapce (required)
11131
- :type project: str
11610
+ :param name: Entity under namespace (required)
11611
+ :type name: str
11132
11612
  :param body: Data (required)
11133
11613
  :type body: V1EntitiesTags
11134
11614
  :param async_req: Whether to execute the request asynchronously.
@@ -11147,17 +11627,13 @@ class RunsV1Api(BaseApi):
11147
11627
  :rtype: None
11148
11628
  """
11149
11629
  kwargs["_return_http_data_only"] = True
11150
- return self.tag_runs_with_http_info(
11151
- owner, project, body, **kwargs
11152
- ) # noqa: E501
11630
+ return self.tag_runs_with_http_info(owner, name, body, **kwargs) # noqa: E501
11153
11631
 
11154
11632
  @validate_arguments
11155
11633
  def tag_runs_with_http_info(
11156
11634
  self,
11157
11635
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
11158
- project: Annotated[
11159
- StrictStr, Field(..., description="Project under namesapce")
11160
- ],
11636
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
11161
11637
  body: Annotated[V1EntitiesTags, Field(..., description="Data")],
11162
11638
  **kwargs
11163
11639
  ): # noqa: E501
@@ -11166,13 +11642,13 @@ class RunsV1Api(BaseApi):
11166
11642
  This method makes a synchronous HTTP request by default. To make an
11167
11643
  asynchronous HTTP request, please pass async_req=True
11168
11644
 
11169
- >>> thread = api.tag_runs_with_http_info(owner, project, body, async_req=True)
11645
+ >>> thread = api.tag_runs_with_http_info(owner, name, body, async_req=True)
11170
11646
  >>> result = thread.get()
11171
11647
 
11172
11648
  :param owner: Owner of the namespace (required)
11173
11649
  :type owner: str
11174
- :param project: Project under namesapce (required)
11175
- :type project: str
11650
+ :param name: Entity under namespace (required)
11651
+ :type name: str
11176
11652
  :param body: Data (required)
11177
11653
  :type body: V1EntitiesTags
11178
11654
  :param async_req: Whether to execute the request asynchronously.
@@ -11201,7 +11677,7 @@ class RunsV1Api(BaseApi):
11201
11677
 
11202
11678
  _params = locals()
11203
11679
 
11204
- _all_params = ["owner", "project", "body"]
11680
+ _all_params = ["owner", "name", "body"]
11205
11681
  _all_params.extend(
11206
11682
  [
11207
11683
  "async_req",
@@ -11230,8 +11706,8 @@ class RunsV1Api(BaseApi):
11230
11706
  _path_params = {}
11231
11707
  if _params["owner"]:
11232
11708
  _path_params["owner"] = _params["owner"]
11233
- if _params["project"]:
11234
- _path_params["project"] = _params["project"]
11709
+ if _params["name"]:
11710
+ _path_params["name"] = _params["name"]
11235
11711
 
11236
11712
  # process the query parameters
11237
11713
  _query_params = []
@@ -11267,7 +11743,7 @@ class RunsV1Api(BaseApi):
11267
11743
  _response_types_map = {}
11268
11744
 
11269
11745
  return self.api_client.call_api(
11270
- "/api/v1/{owner}/{project}/runs/tag",
11746
+ "/api/v1/{owner}/{name}/runs/tag",
11271
11747
  "POST",
11272
11748
  _path_params,
11273
11749
  _query_params,
@@ -11475,9 +11951,7 @@ class RunsV1Api(BaseApi):
11475
11951
  def transfer_runs(
11476
11952
  self,
11477
11953
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
11478
- project: Annotated[
11479
- StrictStr, Field(..., description="Project under namesapce")
11480
- ],
11954
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
11481
11955
  body: Annotated[V1EntitiesTransfer, Field(..., description="Data")],
11482
11956
  **kwargs
11483
11957
  ) -> None: # noqa: E501
@@ -11486,13 +11960,13 @@ class RunsV1Api(BaseApi):
11486
11960
  This method makes a synchronous HTTP request by default. To make an
11487
11961
  asynchronous HTTP request, please pass async_req=True
11488
11962
 
11489
- >>> thread = api.transfer_runs(owner, project, body, async_req=True)
11963
+ >>> thread = api.transfer_runs(owner, name, body, async_req=True)
11490
11964
  >>> result = thread.get()
11491
11965
 
11492
11966
  :param owner: Owner of the namespace (required)
11493
11967
  :type owner: str
11494
- :param project: Project under namesapce (required)
11495
- :type project: str
11968
+ :param name: Entity under namespace (required)
11969
+ :type name: str
11496
11970
  :param body: Data (required)
11497
11971
  :type body: V1EntitiesTransfer
11498
11972
  :param async_req: Whether to execute the request asynchronously.
@@ -11512,16 +11986,14 @@ class RunsV1Api(BaseApi):
11512
11986
  """
11513
11987
  kwargs["_return_http_data_only"] = True
11514
11988
  return self.transfer_runs_with_http_info(
11515
- owner, project, body, **kwargs
11989
+ owner, name, body, **kwargs
11516
11990
  ) # noqa: E501
11517
11991
 
11518
11992
  @validate_arguments
11519
11993
  def transfer_runs_with_http_info(
11520
11994
  self,
11521
11995
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
11522
- project: Annotated[
11523
- StrictStr, Field(..., description="Project under namesapce")
11524
- ],
11996
+ name: Annotated[StrictStr, Field(..., description="Entity under namespace")],
11525
11997
  body: Annotated[V1EntitiesTransfer, Field(..., description="Data")],
11526
11998
  **kwargs
11527
11999
  ): # noqa: E501
@@ -11530,13 +12002,13 @@ class RunsV1Api(BaseApi):
11530
12002
  This method makes a synchronous HTTP request by default. To make an
11531
12003
  asynchronous HTTP request, please pass async_req=True
11532
12004
 
11533
- >>> thread = api.transfer_runs_with_http_info(owner, project, body, async_req=True)
12005
+ >>> thread = api.transfer_runs_with_http_info(owner, name, body, async_req=True)
11534
12006
  >>> result = thread.get()
11535
12007
 
11536
12008
  :param owner: Owner of the namespace (required)
11537
12009
  :type owner: str
11538
- :param project: Project under namesapce (required)
11539
- :type project: str
12010
+ :param name: Entity under namespace (required)
12011
+ :type name: str
11540
12012
  :param body: Data (required)
11541
12013
  :type body: V1EntitiesTransfer
11542
12014
  :param async_req: Whether to execute the request asynchronously.
@@ -11565,7 +12037,7 @@ class RunsV1Api(BaseApi):
11565
12037
 
11566
12038
  _params = locals()
11567
12039
 
11568
- _all_params = ["owner", "project", "body"]
12040
+ _all_params = ["owner", "name", "body"]
11569
12041
  _all_params.extend(
11570
12042
  [
11571
12043
  "async_req",
@@ -11594,8 +12066,8 @@ class RunsV1Api(BaseApi):
11594
12066
  _path_params = {}
11595
12067
  if _params["owner"]:
11596
12068
  _path_params["owner"] = _params["owner"]
11597
- if _params["project"]:
11598
- _path_params["project"] = _params["project"]
12069
+ if _params["name"]:
12070
+ _path_params["name"] = _params["name"]
11599
12071
 
11600
12072
  # process the query parameters
11601
12073
  _query_params = []
@@ -11631,7 +12103,7 @@ class RunsV1Api(BaseApi):
11631
12103
  _response_types_map = {}
11632
12104
 
11633
12105
  return self.api_client.call_api(
11634
- "/api/v1/{owner}/{project}/runs/transfer",
12106
+ "/api/v1/{owner}/{name}/runs/transfer",
11635
12107
  "POST",
11636
12108
  _path_params,
11637
12109
  _query_params,