polyaxon 2.6.0rc1__py3-none-any.whl → 2.7.0rc0__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 (103) hide show
  1. polyaxon/_cli/operations.py +1 -1
  2. polyaxon/_cli/projects.py +2 -2
  3. polyaxon/_compiler/contexts/contexts.py +5 -5
  4. polyaxon/_compiler/contexts/dask_job.py +1 -1
  5. polyaxon/_compiler/contexts/kubeflow/mpi_job.py +1 -1
  6. polyaxon/_compiler/contexts/kubeflow/mx_job.py +1 -1
  7. polyaxon/_compiler/contexts/kubeflow/paddle_job.py +1 -1
  8. polyaxon/_compiler/contexts/kubeflow/pytroch_job.py +1 -1
  9. polyaxon/_compiler/contexts/kubeflow/tf_job.py +1 -1
  10. polyaxon/_compiler/contexts/kubeflow/xgb_job.py +1 -1
  11. polyaxon/_compiler/contexts/ray_job.py +1 -1
  12. polyaxon/_compiler/resolver/agent.py +1 -1
  13. polyaxon/_compiler/resolver/runtime.py +1 -1
  14. polyaxon/_deploy/schemas/deployment.py +1 -0
  15. polyaxon/_deploy/schemas/ui.py +3 -1
  16. polyaxon/_docker/converter/base/base.py +1 -1
  17. polyaxon/_docker/converter/base/env_vars.py +1 -1
  18. polyaxon/_docker/converter/converters/job.py +1 -1
  19. polyaxon/_docker/converter/converters/service.py +1 -1
  20. polyaxon/_flow/component/component.py +4 -0
  21. polyaxon/_flow/environment/__init__.py +5 -4
  22. polyaxon/_flow/io/io.py +2 -0
  23. polyaxon/_flow/matrix/params.py +1 -1
  24. polyaxon/_flow/operations/compiled_operation.py +4 -0
  25. polyaxon/_flow/operations/operation.py +5 -3
  26. polyaxon/_flow/params/params.py +2 -2
  27. polyaxon/_flow/run/__init__.py +3 -0
  28. polyaxon/_flow/run/dag.py +6 -6
  29. polyaxon/_flow/run/dask/dask.py +10 -0
  30. polyaxon/_flow/run/kubeflow/mpi_job.py +8 -0
  31. polyaxon/_flow/run/kubeflow/mx_job.py +16 -0
  32. polyaxon/_flow/run/kubeflow/paddle_job.py +8 -0
  33. polyaxon/_flow/run/kubeflow/pytorch_job.py +8 -0
  34. polyaxon/_flow/run/kubeflow/tf_job.py +12 -0
  35. polyaxon/_flow/run/kubeflow/xgboost_job.py +19 -33
  36. polyaxon/_flow/run/patch.py +37 -9
  37. polyaxon/_flow/run/ray/ray.py +9 -0
  38. polyaxon/_flow/run/resources.py +1 -1
  39. polyaxon/_fs/fs.py +1 -1
  40. polyaxon/_k8s/converter/base/containers.py +1 -1
  41. polyaxon/_k8s/converter/converters/dask_job.py +1 -1
  42. polyaxon/_k8s/converter/converters/job.py +1 -1
  43. polyaxon/_k8s/converter/converters/kubeflow/mpi_job.py +1 -1
  44. polyaxon/_k8s/converter/converters/kubeflow/mx_job.py +1 -1
  45. polyaxon/_k8s/converter/converters/kubeflow/paddle_job.py +1 -1
  46. polyaxon/_k8s/converter/converters/kubeflow/pytroch_job.py +1 -1
  47. polyaxon/_k8s/converter/converters/kubeflow/tf_job.py +1 -1
  48. polyaxon/_k8s/converter/converters/kubeflow/xgboost_job.py +1 -1
  49. polyaxon/_k8s/converter/converters/ray_job.py +1 -2
  50. polyaxon/_k8s/converter/converters/service.py +1 -1
  51. polyaxon/_k8s/k8s_validation.py +16 -16
  52. polyaxon/_k8s/logging/async_monitor.py +4 -4
  53. polyaxon/_k8s/manager/async_manager.py +5 -3
  54. polyaxon/_k8s/manager/manager.py +6 -6
  55. polyaxon/_local_process/converter/base/env_vars.py +1 -1
  56. polyaxon/_local_process/converter/base/init.py +1 -1
  57. polyaxon/_local_process/converter/base/mounts.py +0 -2
  58. polyaxon/_local_process/converter/converters/job.py +1 -1
  59. polyaxon/_local_process/converter/converters/service.py +1 -1
  60. polyaxon/_managers/project.py +3 -2
  61. polyaxon/_polyaxonfile/check.py +4 -4
  62. polyaxon/_polyaxonfile/specs/compiled_operation.py +8 -6
  63. polyaxon/_polyaxonfile/specs/libs/parser.py +1 -3
  64. polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
  65. polyaxon/_polyaxonfile/specs/operation.py +7 -3
  66. polyaxon/_pql/manager.py +1 -1
  67. polyaxon/_pql/parser.py +29 -26
  68. polyaxon/_runner/agent/base_agent.py +1 -2
  69. polyaxon/_runner/converter/init/artifacts.py +3 -2
  70. polyaxon/_runner/converter/init/tensorboard.py +1 -1
  71. polyaxon/_schemas/client.py +1 -1
  72. polyaxon/_sdk/api/agents_v1_api.py +56 -80
  73. polyaxon/_sdk/api/artifacts_stores_v1_api.py +2 -2
  74. polyaxon/_sdk/api/auth_v1_api.py +2 -6
  75. polyaxon/_sdk/api/connections_v1_api.py +16 -20
  76. polyaxon/_sdk/api/dashboards_v1_api.py +14 -14
  77. polyaxon/_sdk/api/organizations_v1_api.py +1735 -755
  78. polyaxon/_sdk/api/presets_v1_api.py +18 -26
  79. polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -19
  80. polyaxon/_sdk/api/project_searches_v1_api.py +20 -28
  81. polyaxon/_sdk/api/projects_v1_api.py +74 -92
  82. polyaxon/_sdk/api/queues_v1_api.py +22 -30
  83. polyaxon/_sdk/api/runs_v1_api.py +157 -207
  84. polyaxon/_sdk/api/searches_v1_api.py +16 -20
  85. polyaxon/_sdk/api/service_accounts_v1_api.py +30 -38
  86. polyaxon/_sdk/api/tags_v1_api.py +19 -25
  87. polyaxon/_sdk/api/teams_v1_api.py +64 -90
  88. polyaxon/_sdk/api/users_v1_api.py +17 -19
  89. polyaxon/_sdk/api/versions_v1_api.py +4 -4
  90. polyaxon/_sdk/async_client/rest.py +1 -3
  91. polyaxon/_sdk/schemas/v1_organization.py +3 -2
  92. polyaxon/_sdk/schemas/v1_project_settings.py +2 -1
  93. polyaxon/_sdk/schemas/v1_section_spec.py +1 -1
  94. polyaxon/_sdk/schemas/v1_user_access.py +3 -2
  95. polyaxon/_sdk/sync_client/api_client.py +2 -6
  96. polyaxon/_sdk/sync_client/rest.py +4 -8
  97. polyaxon/pkg.py +1 -1
  98. {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/METADATA +9 -9
  99. {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/RECORD +103 -103
  100. {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/LICENSE +0 -0
  101. {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/WHEEL +0 -0
  102. {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/entry_points.txt +0 -0
  103. {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/top_level.txt +0 -0
@@ -1,10 +1,17 @@
1
1
  from datetime import datetime
2
- from typing import Optional
2
+ from typing import Optional, Dict, Any, List
3
3
  from typing_extensions import Annotated
4
4
 
5
5
  from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
6
6
 
7
7
  from polyaxon._sdk.base_api import BaseApi
8
+ from polyaxon._sdk.schemas.v1_list_project_versions_response import (
9
+ V1ListProjectVersionsResponse,
10
+ )
11
+ from polyaxon._sdk.schemas.v1_list_run_artifacts_response import (
12
+ V1ListRunArtifactsResponse,
13
+ )
14
+ from polyaxon._sdk.schemas.v1_events_response import V1MultiEventsResponse
8
15
  from polyaxon._sdk.schemas.v1_entities_tags import V1EntitiesTags
9
16
  from polyaxon._sdk.schemas.v1_entities_transfer import V1EntitiesTransfer
10
17
  from polyaxon._sdk.schemas.v1_list_activities_response import V1ListActivitiesResponse
@@ -28,9 +35,9 @@ class OrganizationsV1Api(BaseApi):
28
35
  self,
29
36
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
30
37
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
31
- **kwargs
32
- ) -> None:
33
- """Approve cross-project runs selection
38
+ **kwargs,
39
+ ) -> None: # noqa: E501
40
+ """Approve cross-project runs selection # noqa: E501
34
41
 
35
42
  This method makes a synchronous HTTP request by default. To make an
36
43
  asynchronous HTTP request, please pass async_req=True
@@ -58,16 +65,16 @@ class OrganizationsV1Api(BaseApi):
58
65
  :rtype: None
59
66
  """
60
67
  kwargs["_return_http_data_only"] = True
61
- return self.approve_organization_runs_with_http_info(owner, body, **kwargs)
68
+ return self.approve_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
62
69
 
63
70
  @validate_call
64
71
  def approve_organization_runs_with_http_info(
65
72
  self,
66
73
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
67
74
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
68
- **kwargs
69
- ):
70
- """Approve cross-project runs selection
75
+ **kwargs,
76
+ ): # noqa: E501
77
+ """Approve cross-project runs selection # noqa: E501
71
78
 
72
79
  This method makes a synchronous HTTP request by default. To make an
73
80
  asynchronous HTTP request, please pass async_req=True
@@ -137,14 +144,11 @@ class OrganizationsV1Api(BaseApi):
137
144
 
138
145
  # process the query parameters
139
146
  _query_params = []
140
-
141
147
  # process the header parameters
142
148
  _header_params = dict(_params.get("_headers", {}))
143
-
144
149
  # process the form parameters
145
150
  _form_params = []
146
151
  _files = {}
147
-
148
152
  # process the body parameter
149
153
  _body_params = None
150
154
  if _params["body"]:
@@ -153,7 +157,7 @@ class OrganizationsV1Api(BaseApi):
153
157
  # set the HTTP header `Accept`
154
158
  _header_params["Accept"] = self.api_client.select_header_accept(
155
159
  ["application/json"]
156
- )
160
+ ) # noqa: E501
157
161
 
158
162
  # set the HTTP header `Content-Type`
159
163
  _content_types_list = _params.get(
@@ -164,7 +168,7 @@ class OrganizationsV1Api(BaseApi):
164
168
  _header_params["Content-Type"] = _content_types_list
165
169
 
166
170
  # authentication setting
167
- _auth_settings = ["ApiKey"]
171
+ _auth_settings = ["ApiKey"] # noqa: E501
168
172
 
169
173
  _response_types_map = {}
170
174
 
@@ -180,7 +184,7 @@ class OrganizationsV1Api(BaseApi):
180
184
  response_types_map=_response_types_map,
181
185
  auth_settings=_auth_settings,
182
186
  async_req=_params.get("async_req"),
183
- _return_http_data_only=_params.get("_return_http_data_only"),
187
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
184
188
  _preload_content=_params.get("_preload_content", True),
185
189
  _request_timeout=_params.get("_request_timeout"),
186
190
  collection_formats=_collection_formats,
@@ -192,9 +196,9 @@ class OrganizationsV1Api(BaseApi):
192
196
  self,
193
197
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
194
198
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
195
- **kwargs
196
- ) -> None:
197
- """Archive cross-project runs selection
199
+ **kwargs,
200
+ ) -> None: # noqa: E501
201
+ """Archive cross-project runs selection # noqa: E501
198
202
 
199
203
  This method makes a synchronous HTTP request by default. To make an
200
204
  asynchronous HTTP request, please pass async_req=True
@@ -222,16 +226,16 @@ class OrganizationsV1Api(BaseApi):
222
226
  :rtype: None
223
227
  """
224
228
  kwargs["_return_http_data_only"] = True
225
- return self.archive_organization_runs_with_http_info(owner, body, **kwargs)
229
+ return self.archive_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
226
230
 
227
231
  @validate_call
228
232
  def archive_organization_runs_with_http_info(
229
233
  self,
230
234
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
231
235
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
232
- **kwargs
233
- ):
234
- """Archive cross-project runs selection
236
+ **kwargs,
237
+ ): # noqa: E501
238
+ """Archive cross-project runs selection # noqa: E501
235
239
 
236
240
  This method makes a synchronous HTTP request by default. To make an
237
241
  asynchronous HTTP request, please pass async_req=True
@@ -301,14 +305,11 @@ class OrganizationsV1Api(BaseApi):
301
305
 
302
306
  # process the query parameters
303
307
  _query_params = []
304
-
305
308
  # process the header parameters
306
309
  _header_params = dict(_params.get("_headers", {}))
307
-
308
310
  # process the form parameters
309
311
  _form_params = []
310
312
  _files = {}
311
-
312
313
  # process the body parameter
313
314
  _body_params = None
314
315
  if _params["body"]:
@@ -317,7 +318,7 @@ class OrganizationsV1Api(BaseApi):
317
318
  # set the HTTP header `Accept`
318
319
  _header_params["Accept"] = self.api_client.select_header_accept(
319
320
  ["application/json"]
320
- )
321
+ ) # noqa: E501
321
322
 
322
323
  # set the HTTP header `Content-Type`
323
324
  _content_types_list = _params.get(
@@ -328,7 +329,7 @@ class OrganizationsV1Api(BaseApi):
328
329
  _header_params["Content-Type"] = _content_types_list
329
330
 
330
331
  # authentication setting
331
- _auth_settings = ["ApiKey"]
332
+ _auth_settings = ["ApiKey"] # noqa: E501
332
333
 
333
334
  _response_types_map = {}
334
335
 
@@ -344,7 +345,7 @@ class OrganizationsV1Api(BaseApi):
344
345
  response_types_map=_response_types_map,
345
346
  auth_settings=_auth_settings,
346
347
  async_req=_params.get("async_req"),
347
- _return_http_data_only=_params.get("_return_http_data_only"),
348
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
348
349
  _preload_content=_params.get("_preload_content", True),
349
350
  _request_timeout=_params.get("_request_timeout"),
350
351
  collection_formats=_collection_formats,
@@ -356,9 +357,9 @@ class OrganizationsV1Api(BaseApi):
356
357
  self,
357
358
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
358
359
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
359
- **kwargs
360
- ) -> None:
361
- """Bookmark cross-project runs selection
360
+ **kwargs,
361
+ ) -> None: # noqa: E501
362
+ """Bookmark cross-project runs selection # noqa: E501
362
363
 
363
364
  This method makes a synchronous HTTP request by default. To make an
364
365
  asynchronous HTTP request, please pass async_req=True
@@ -386,16 +387,14 @@ class OrganizationsV1Api(BaseApi):
386
387
  :rtype: None
387
388
  """
388
389
  kwargs["_return_http_data_only"] = True
389
- return self.bookmark_organization_runs_with_http_info(
390
- owner, body, **kwargs
391
- ) # noqa: E501
390
+ return self.bookmark_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
392
391
 
393
392
  @validate_call
394
393
  def bookmark_organization_runs_with_http_info(
395
394
  self,
396
395
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
397
396
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
398
- **kwargs
397
+ **kwargs,
399
398
  ): # noqa: E501
400
399
  """Bookmark cross-project runs selection # noqa: E501
401
400
 
@@ -467,14 +466,11 @@ class OrganizationsV1Api(BaseApi):
467
466
 
468
467
  # process the query parameters
469
468
  _query_params = []
470
-
471
469
  # process the header parameters
472
470
  _header_params = dict(_params.get("_headers", {}))
473
-
474
471
  # process the form parameters
475
472
  _form_params = []
476
473
  _files = {}
477
-
478
474
  # process the body parameter
479
475
  _body_params = None
480
476
  if _params["body"]:
@@ -518,9 +514,7 @@ class OrganizationsV1Api(BaseApi):
518
514
  )
519
515
 
520
516
  @validate_call
521
- def create_organization(
522
- self, body: V1Organization, **kwargs
523
- ) -> V1Organization: # noqa: E501
517
+ def create_organization(self, body: V1Organization, **kwargs) -> V1Organization: # noqa: E501
524
518
  """Create organization # noqa: E501
525
519
 
526
520
  This method makes a synchronous HTTP request by default. To make an
@@ -550,9 +544,7 @@ class OrganizationsV1Api(BaseApi):
550
544
  return self.create_organization_with_http_info(body, **kwargs) # noqa: E501
551
545
 
552
546
  @validate_call
553
- def create_organization_with_http_info(
554
- self, body: V1Organization, **kwargs
555
- ): # noqa: E501
547
+ def create_organization_with_http_info(self, body: V1Organization, **kwargs): # noqa: E501
556
548
  """Create organization # noqa: E501
557
549
 
558
550
  This method makes a synchronous HTTP request by default. To make an
@@ -619,14 +611,11 @@ class OrganizationsV1Api(BaseApi):
619
611
 
620
612
  # process the query parameters
621
613
  _query_params = []
622
-
623
614
  # process the header parameters
624
615
  _header_params = dict(_params.get("_headers", {}))
625
-
626
616
  # process the form parameters
627
617
  _form_params = []
628
618
  _files = {}
629
-
630
619
  # process the body parameter
631
620
  _body_params = None
632
621
  if _params["body"]:
@@ -684,7 +673,7 @@ class OrganizationsV1Api(BaseApi):
684
673
  email: Annotated[
685
674
  Optional[StrictStr], Field(description="Optional email.")
686
675
  ] = None,
687
- **kwargs
676
+ **kwargs,
688
677
  ) -> V1OrganizationMember: # noqa: E501
689
678
  """Create organization member # noqa: E501
690
679
 
@@ -730,7 +719,7 @@ class OrganizationsV1Api(BaseApi):
730
719
  email: Annotated[
731
720
  Optional[StrictStr], Field(description="Optional email.")
732
721
  ] = None,
733
- **kwargs
722
+ **kwargs,
734
723
  ): # noqa: E501
735
724
  """Create organization member # noqa: E501
736
725
 
@@ -809,11 +798,9 @@ class OrganizationsV1Api(BaseApi):
809
798
 
810
799
  # process the header parameters
811
800
  _header_params = dict(_params.get("_headers", {}))
812
-
813
801
  # process the form parameters
814
802
  _form_params = []
815
803
  _files = {}
816
-
817
804
  # process the body parameter
818
805
  _body_params = None
819
806
  if _params["body"]:
@@ -868,7 +855,7 @@ class OrganizationsV1Api(BaseApi):
868
855
  usage: Annotated[
869
856
  Optional[StrictStr], Field(description="Owner usage query param.")
870
857
  ] = None,
871
- **kwargs
858
+ **kwargs,
872
859
  ) -> None: # noqa: E501
873
860
  """Delete organization # noqa: E501
874
861
 
@@ -898,9 +885,7 @@ class OrganizationsV1Api(BaseApi):
898
885
  :rtype: None
899
886
  """
900
887
  kwargs["_return_http_data_only"] = True
901
- return self.delete_organization_with_http_info(
902
- owner, usage, **kwargs
903
- ) # noqa: E501
888
+ return self.delete_organization_with_http_info(owner, usage, **kwargs) # noqa: E501
904
889
 
905
890
  @validate_call
906
891
  def delete_organization_with_http_info(
@@ -909,7 +894,7 @@ class OrganizationsV1Api(BaseApi):
909
894
  usage: Annotated[
910
895
  Optional[StrictStr], Field(description="Owner usage query param.")
911
896
  ] = None,
912
- **kwargs
897
+ **kwargs,
913
898
  ): # noqa: E501
914
899
  """Delete organization # noqa: E501
915
900
 
@@ -986,14 +971,11 @@ class OrganizationsV1Api(BaseApi):
986
971
 
987
972
  # process the header parameters
988
973
  _header_params = dict(_params.get("_headers", {}))
989
-
990
974
  # process the form parameters
991
975
  _form_params = []
992
976
  _files = {}
993
-
994
977
  # process the body parameter
995
978
  _body_params = None
996
-
997
979
  # set the HTTP header `Accept`
998
980
  _header_params["Accept"] = self.api_client.select_header_accept(
999
981
  ["application/json"]
@@ -1032,7 +1014,7 @@ class OrganizationsV1Api(BaseApi):
1032
1014
  Optional[StrictStr], Field(description="Read-only User email.")
1033
1015
  ] = None,
1034
1016
  member_role: Annotated[Optional[StrictStr], Field(description="Role.")] = None,
1035
- member_kind: Annotated[Optional[str], Field(description="Kind.")] = None,
1017
+ member_kind: Annotated[Optional[StrictStr], Field(description="Kind.")] = None,
1036
1018
  member_created_at: Annotated[
1037
1019
  Optional[datetime],
1038
1020
  Field(description="Optional time when the entity was created."),
@@ -1044,7 +1026,7 @@ class OrganizationsV1Api(BaseApi):
1044
1026
  email: Annotated[
1045
1027
  Optional[StrictStr], Field(description="Optional email.")
1046
1028
  ] = None,
1047
- **kwargs
1029
+ **kwargs,
1048
1030
  ) -> None: # noqa: E501
1049
1031
  """Delete organization invitation details # noqa: E501
1050
1032
 
@@ -1095,7 +1077,7 @@ class OrganizationsV1Api(BaseApi):
1095
1077
  member_created_at,
1096
1078
  member_updated_at,
1097
1079
  email,
1098
- **kwargs
1080
+ **kwargs,
1099
1081
  ) # noqa: E501
1100
1082
 
1101
1083
  @validate_call
@@ -1107,7 +1089,7 @@ class OrganizationsV1Api(BaseApi):
1107
1089
  Optional[StrictStr], Field(description="Read-only User email.")
1108
1090
  ] = None,
1109
1091
  member_role: Annotated[Optional[StrictStr], Field(description="Role.")] = None,
1110
- member_kind: Annotated[Optional[str], Field(description="Kind.")] = None,
1092
+ member_kind: Annotated[Optional[StrictStr], Field(description="Kind.")] = None,
1111
1093
  member_created_at: Annotated[
1112
1094
  Optional[datetime],
1113
1095
  Field(description="Optional time when the entity was created."),
@@ -1119,7 +1101,7 @@ class OrganizationsV1Api(BaseApi):
1119
1101
  email: Annotated[
1120
1102
  Optional[StrictStr], Field(description="Optional email.")
1121
1103
  ] = None,
1122
- **kwargs
1104
+ **kwargs,
1123
1105
  ): # noqa: E501
1124
1106
  """Delete organization invitation details # noqa: E501
1125
1107
 
@@ -1214,29 +1196,56 @@ class OrganizationsV1Api(BaseApi):
1214
1196
  _query_params = []
1215
1197
  if _params.get("member_user") is not None: # noqa: E501
1216
1198
  _query_params.append(("member.user", _params["member_user"]))
1199
+
1217
1200
  if _params.get("member_user_email") is not None: # noqa: E501
1218
1201
  _query_params.append(("member.user_email", _params["member_user_email"]))
1202
+
1219
1203
  if _params.get("member_role") is not None: # noqa: E501
1220
1204
  _query_params.append(("member.role", _params["member_role"]))
1205
+
1221
1206
  if _params.get("member_kind") is not None: # noqa: E501
1222
1207
  _query_params.append(("member.kind", _params["member_kind"]))
1208
+
1223
1209
  if _params.get("member_created_at") is not None: # noqa: E501
1224
- _query_params.append(("member.created_at", _params["member_created_at"]))
1210
+ if isinstance(_params["member_created_at"], datetime):
1211
+ _query_params.append(
1212
+ (
1213
+ "member.created_at",
1214
+ _params["member_created_at"].strftime(
1215
+ self.api_client.configuration.datetime_format
1216
+ ),
1217
+ )
1218
+ )
1219
+ else:
1220
+ _query_params.append(
1221
+ ("member.created_at", _params["member_created_at"])
1222
+ )
1223
+
1225
1224
  if _params.get("member_updated_at") is not None: # noqa: E501
1226
- _query_params.append(("member.updated_at", _params["member_updated_at"]))
1225
+ if isinstance(_params["member_updated_at"], datetime):
1226
+ _query_params.append(
1227
+ (
1228
+ "member.updated_at",
1229
+ _params["member_updated_at"].strftime(
1230
+ self.api_client.configuration.datetime_format
1231
+ ),
1232
+ )
1233
+ )
1234
+ else:
1235
+ _query_params.append(
1236
+ ("member.updated_at", _params["member_updated_at"])
1237
+ )
1238
+
1227
1239
  if _params.get("email") is not None: # noqa: E501
1228
1240
  _query_params.append(("email", _params["email"]))
1229
1241
 
1230
1242
  # process the header parameters
1231
1243
  _header_params = dict(_params.get("_headers", {}))
1232
-
1233
1244
  # process the form parameters
1234
1245
  _form_params = []
1235
1246
  _files = {}
1236
-
1237
1247
  # process the body parameter
1238
1248
  _body_params = None
1239
-
1240
1249
  # set the HTTP header `Accept`
1241
1250
  _header_params["Accept"] = self.api_client.select_header_accept(
1242
1251
  ["application/json"]
@@ -1271,7 +1280,7 @@ class OrganizationsV1Api(BaseApi):
1271
1280
  self,
1272
1281
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
1273
1282
  name: Annotated[StrictStr, Field(..., description="Component under namespace")],
1274
- **kwargs
1283
+ **kwargs,
1275
1284
  ) -> None: # noqa: E501
1276
1285
  """Delete organization member details # noqa: E501
1277
1286
 
@@ -1301,16 +1310,14 @@ class OrganizationsV1Api(BaseApi):
1301
1310
  :rtype: None
1302
1311
  """
1303
1312
  kwargs["_return_http_data_only"] = True
1304
- return self.delete_organization_member_with_http_info(
1305
- owner, name, **kwargs
1306
- ) # noqa: E501
1313
+ return self.delete_organization_member_with_http_info(owner, name, **kwargs) # noqa: E501
1307
1314
 
1308
1315
  @validate_call
1309
1316
  def delete_organization_member_with_http_info(
1310
1317
  self,
1311
1318
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
1312
1319
  name: Annotated[StrictStr, Field(..., description="Component under namespace")],
1313
- **kwargs
1320
+ **kwargs,
1314
1321
  ): # noqa: E501
1315
1322
  """Delete organization member details # noqa: E501
1316
1323
 
@@ -1379,22 +1386,19 @@ class OrganizationsV1Api(BaseApi):
1379
1386
  _path_params = {}
1380
1387
  if _params["owner"]:
1381
1388
  _path_params["owner"] = _params["owner"]
1389
+
1382
1390
  if _params["name"]:
1383
1391
  _path_params["name"] = _params["name"]
1384
1392
 
1385
1393
  # process the query parameters
1386
1394
  _query_params = []
1387
-
1388
1395
  # process the header parameters
1389
1396
  _header_params = dict(_params.get("_headers", {}))
1390
-
1391
1397
  # process the form parameters
1392
1398
  _form_params = []
1393
1399
  _files = {}
1394
-
1395
1400
  # process the body parameter
1396
1401
  _body_params = None
1397
-
1398
1402
  # set the HTTP header `Accept`
1399
1403
  _header_params["Accept"] = self.api_client.select_header_accept(
1400
1404
  ["application/json"]
@@ -1429,7 +1433,7 @@ class OrganizationsV1Api(BaseApi):
1429
1433
  self,
1430
1434
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
1431
1435
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
1432
- **kwargs
1436
+ **kwargs,
1433
1437
  ) -> None: # noqa: E501
1434
1438
  """Delete cross-project runs selection # noqa: E501
1435
1439
 
@@ -1459,16 +1463,14 @@ class OrganizationsV1Api(BaseApi):
1459
1463
  :rtype: None
1460
1464
  """
1461
1465
  kwargs["_return_http_data_only"] = True
1462
- return self.delete_organization_runs_with_http_info(
1463
- owner, body, **kwargs
1464
- ) # noqa: E501
1466
+ return self.delete_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
1465
1467
 
1466
1468
  @validate_call
1467
1469
  def delete_organization_runs_with_http_info(
1468
1470
  self,
1469
1471
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
1470
1472
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
1471
- **kwargs
1473
+ **kwargs,
1472
1474
  ): # noqa: E501
1473
1475
  """Delete cross-project runs selection # noqa: E501
1474
1476
 
@@ -1540,14 +1542,11 @@ class OrganizationsV1Api(BaseApi):
1540
1542
 
1541
1543
  # process the query parameters
1542
1544
  _query_params = []
1543
-
1544
1545
  # process the header parameters
1545
1546
  _header_params = dict(_params.get("_headers", {}))
1546
-
1547
1547
  # process the form parameters
1548
1548
  _form_params = []
1549
1549
  _files = {}
1550
-
1551
1550
  # process the body parameter
1552
1551
  _body_params = None
1553
1552
  if _params["body"]:
@@ -1597,7 +1596,7 @@ class OrganizationsV1Api(BaseApi):
1597
1596
  usage: Annotated[
1598
1597
  Optional[StrictStr], Field(description="Owner usage query param.")
1599
1598
  ] = None,
1600
- **kwargs
1599
+ **kwargs,
1601
1600
  ) -> V1Organization: # noqa: E501
1602
1601
  """Get organization # noqa: E501
1603
1602
 
@@ -1627,9 +1626,7 @@ class OrganizationsV1Api(BaseApi):
1627
1626
  :rtype: V1Organization
1628
1627
  """
1629
1628
  kwargs["_return_http_data_only"] = True
1630
- return self.get_organization_with_http_info(
1631
- owner, usage, **kwargs
1632
- ) # noqa: E501
1629
+ return self.get_organization_with_http_info(owner, usage, **kwargs) # noqa: E501
1633
1630
 
1634
1631
  @validate_call
1635
1632
  def get_organization_with_http_info(
@@ -1638,7 +1635,7 @@ class OrganizationsV1Api(BaseApi):
1638
1635
  usage: Annotated[
1639
1636
  Optional[StrictStr], Field(description="Owner usage query param.")
1640
1637
  ] = None,
1641
- **kwargs
1638
+ **kwargs,
1642
1639
  ): # noqa: E501
1643
1640
  """Get organization # noqa: E501
1644
1641
 
@@ -1715,14 +1712,11 @@ class OrganizationsV1Api(BaseApi):
1715
1712
 
1716
1713
  # process the header parameters
1717
1714
  _header_params = dict(_params.get("_headers", {}))
1718
-
1719
1715
  # process the form parameters
1720
1716
  _form_params = []
1721
1717
  _files = {}
1722
-
1723
1718
  # process the body parameter
1724
1719
  _body_params = None
1725
-
1726
1720
  # set the HTTP header `Accept`
1727
1721
  _header_params["Accept"] = self.api_client.select_header_accept(
1728
1722
  ["application/json"]
@@ -1778,7 +1772,7 @@ class OrganizationsV1Api(BaseApi):
1778
1772
  Optional[StrictStr], Field(description="Mode of the search.")
1779
1773
  ] = None,
1780
1774
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
1781
- **kwargs
1775
+ **kwargs,
1782
1776
  ) -> V1ListActivitiesResponse: # noqa: E501
1783
1777
  """Get organization activities # noqa: E501
1784
1778
 
@@ -1845,7 +1839,7 @@ class OrganizationsV1Api(BaseApi):
1845
1839
  Optional[StrictStr], Field(description="Mode of the search.")
1846
1840
  ] = None,
1847
1841
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
1848
- **kwargs
1842
+ **kwargs,
1849
1843
  ): # noqa: E501
1850
1844
  """Get organization activities # noqa: E501
1851
1845
 
@@ -1940,29 +1934,32 @@ class OrganizationsV1Api(BaseApi):
1940
1934
  _query_params = []
1941
1935
  if _params.get("offset") is not None: # noqa: E501
1942
1936
  _query_params.append(("offset", _params["offset"]))
1937
+
1943
1938
  if _params.get("limit") is not None: # noqa: E501
1944
1939
  _query_params.append(("limit", _params["limit"]))
1940
+
1945
1941
  if _params.get("sort") is not None: # noqa: E501
1946
1942
  _query_params.append(("sort", _params["sort"]))
1943
+
1947
1944
  if _params.get("query") is not None: # noqa: E501
1948
1945
  _query_params.append(("query", _params["query"]))
1946
+
1949
1947
  if _params.get("bookmarks") is not None: # noqa: E501
1950
1948
  _query_params.append(("bookmarks", _params["bookmarks"]))
1949
+
1951
1950
  if _params.get("mode") is not None: # noqa: E501
1952
1951
  _query_params.append(("mode", _params["mode"]))
1952
+
1953
1953
  if _params.get("no_page") is not None: # noqa: E501
1954
1954
  _query_params.append(("no_page", _params["no_page"]))
1955
1955
 
1956
1956
  # process the header parameters
1957
1957
  _header_params = dict(_params.get("_headers", {}))
1958
-
1959
1958
  # process the form parameters
1960
1959
  _form_params = []
1961
1960
  _files = {}
1962
-
1963
1961
  # process the body parameter
1964
1962
  _body_params = None
1965
-
1966
1963
  # set the HTTP header `Accept`
1967
1964
  _header_params["Accept"] = self.api_client.select_header_accept(
1968
1965
  ["application/json"]
@@ -2006,7 +2003,7 @@ class OrganizationsV1Api(BaseApi):
2006
2003
  Optional[StrictStr], Field(description="Read-only User email.")
2007
2004
  ] = None,
2008
2005
  member_role: Annotated[Optional[StrictStr], Field(description="Role.")] = None,
2009
- member_kind: Annotated[Optional[str], Field(description="Kind.")] = None,
2006
+ member_kind: Annotated[Optional[StrictStr], Field(description="Kind.")] = None,
2010
2007
  member_created_at: Annotated[
2011
2008
  Optional[datetime],
2012
2009
  Field(description="Optional time when the entity was created."),
@@ -2018,7 +2015,7 @@ class OrganizationsV1Api(BaseApi):
2018
2015
  email: Annotated[
2019
2016
  Optional[StrictStr], Field(description="Optional email.")
2020
2017
  ] = None,
2021
- **kwargs
2018
+ **kwargs,
2022
2019
  ) -> V1OrganizationMember: # noqa: E501
2023
2020
  """Get organization invitation details # noqa: E501
2024
2021
 
@@ -2069,7 +2066,7 @@ class OrganizationsV1Api(BaseApi):
2069
2066
  member_created_at,
2070
2067
  member_updated_at,
2071
2068
  email,
2072
- **kwargs
2069
+ **kwargs,
2073
2070
  ) # noqa: E501
2074
2071
 
2075
2072
  @validate_call
@@ -2081,7 +2078,7 @@ class OrganizationsV1Api(BaseApi):
2081
2078
  Optional[StrictStr], Field(description="Read-only User email.")
2082
2079
  ] = None,
2083
2080
  member_role: Annotated[Optional[StrictStr], Field(description="Role.")] = None,
2084
- member_kind: Annotated[Optional[str], Field(description="Kind.")] = None,
2081
+ member_kind: Annotated[Optional[StrictStr], Field(description="Kind.")] = None,
2085
2082
  member_created_at: Annotated[
2086
2083
  Optional[datetime],
2087
2084
  Field(description="Optional time when the entity was created."),
@@ -2093,7 +2090,7 @@ class OrganizationsV1Api(BaseApi):
2093
2090
  email: Annotated[
2094
2091
  Optional[StrictStr], Field(description="Optional email.")
2095
2092
  ] = None,
2096
- **kwargs
2093
+ **kwargs,
2097
2094
  ): # noqa: E501
2098
2095
  """Get organization invitation details # noqa: E501
2099
2096
 
@@ -2188,29 +2185,56 @@ class OrganizationsV1Api(BaseApi):
2188
2185
  _query_params = []
2189
2186
  if _params.get("member_user") is not None: # noqa: E501
2190
2187
  _query_params.append(("member.user", _params["member_user"]))
2188
+
2191
2189
  if _params.get("member_user_email") is not None: # noqa: E501
2192
2190
  _query_params.append(("member.user_email", _params["member_user_email"]))
2191
+
2193
2192
  if _params.get("member_role") is not None: # noqa: E501
2194
2193
  _query_params.append(("member.role", _params["member_role"]))
2194
+
2195
2195
  if _params.get("member_kind") is not None: # noqa: E501
2196
2196
  _query_params.append(("member.kind", _params["member_kind"]))
2197
+
2197
2198
  if _params.get("member_created_at") is not None: # noqa: E501
2198
- _query_params.append(("member.created_at", _params["member_created_at"]))
2199
+ if isinstance(_params["member_created_at"], datetime):
2200
+ _query_params.append(
2201
+ (
2202
+ "member.created_at",
2203
+ _params["member_created_at"].strftime(
2204
+ self.api_client.configuration.datetime_format
2205
+ ),
2206
+ )
2207
+ )
2208
+ else:
2209
+ _query_params.append(
2210
+ ("member.created_at", _params["member_created_at"])
2211
+ )
2212
+
2199
2213
  if _params.get("member_updated_at") is not None: # noqa: E501
2200
- _query_params.append(("member.updated_at", _params["member_updated_at"]))
2214
+ if isinstance(_params["member_updated_at"], datetime):
2215
+ _query_params.append(
2216
+ (
2217
+ "member.updated_at",
2218
+ _params["member_updated_at"].strftime(
2219
+ self.api_client.configuration.datetime_format
2220
+ ),
2221
+ )
2222
+ )
2223
+ else:
2224
+ _query_params.append(
2225
+ ("member.updated_at", _params["member_updated_at"])
2226
+ )
2227
+
2201
2228
  if _params.get("email") is not None: # noqa: E501
2202
2229
  _query_params.append(("email", _params["email"]))
2203
2230
 
2204
2231
  # process the header parameters
2205
2232
  _header_params = dict(_params.get("_headers", {}))
2206
-
2207
2233
  # process the form parameters
2208
2234
  _form_params = []
2209
2235
  _files = {}
2210
-
2211
2236
  # process the body parameter
2212
2237
  _body_params = None
2213
-
2214
2238
  # set the HTTP header `Accept`
2215
2239
  _header_params["Accept"] = self.api_client.select_header_accept(
2216
2240
  ["application/json"]
@@ -2250,7 +2274,7 @@ class OrganizationsV1Api(BaseApi):
2250
2274
  self,
2251
2275
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2252
2276
  name: Annotated[StrictStr, Field(..., description="Component under namespace")],
2253
- **kwargs
2277
+ **kwargs,
2254
2278
  ) -> V1OrganizationMember: # noqa: E501
2255
2279
  """Get organization member details # noqa: E501
2256
2280
 
@@ -2280,16 +2304,14 @@ class OrganizationsV1Api(BaseApi):
2280
2304
  :rtype: V1OrganizationMember
2281
2305
  """
2282
2306
  kwargs["_return_http_data_only"] = True
2283
- return self.get_organization_member_with_http_info(
2284
- owner, name, **kwargs
2285
- ) # noqa: E501
2307
+ return self.get_organization_member_with_http_info(owner, name, **kwargs) # noqa: E501
2286
2308
 
2287
2309
  @validate_call
2288
2310
  def get_organization_member_with_http_info(
2289
2311
  self,
2290
2312
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2291
2313
  name: Annotated[StrictStr, Field(..., description="Component under namespace")],
2292
- **kwargs
2314
+ **kwargs,
2293
2315
  ): # noqa: E501
2294
2316
  """Get organization member details # noqa: E501
2295
2317
 
@@ -2358,22 +2380,19 @@ class OrganizationsV1Api(BaseApi):
2358
2380
  _path_params = {}
2359
2381
  if _params["owner"]:
2360
2382
  _path_params["owner"] = _params["owner"]
2383
+
2361
2384
  if _params["name"]:
2362
2385
  _path_params["name"] = _params["name"]
2363
2386
 
2364
2387
  # process the query parameters
2365
2388
  _query_params = []
2366
-
2367
2389
  # process the header parameters
2368
2390
  _header_params = dict(_params.get("_headers", {}))
2369
-
2370
2391
  # process the form parameters
2371
2392
  _form_params = []
2372
2393
  _files = {}
2373
-
2374
2394
  # process the body parameter
2375
2395
  _body_params = None
2376
-
2377
2396
  # set the HTTP header `Accept`
2378
2397
  _header_params["Accept"] = self.api_client.select_header_accept(
2379
2398
  ["application/json"]
@@ -2409,26 +2428,68 @@ class OrganizationsV1Api(BaseApi):
2409
2428
  )
2410
2429
 
2411
2430
  @validate_call
2412
- def get_organization_run(
2431
+ def get_organization_multi_run_events(
2413
2432
  self,
2433
+ namespace: Annotated[StrictStr, Field(..., description="namespace")],
2414
2434
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2415
- uuid: Annotated[
2416
- StrictStr, Field(..., description="Uuid identifier of the entity")
2417
- ],
2418
- **kwargs
2419
- ) -> V1Run: # noqa: E501
2420
- """Get a run in an organization # noqa: E501
2435
+ kind: Annotated[StrictStr, Field(..., description="The artifact kind")],
2436
+ entity: Annotated[
2437
+ Optional[StrictStr],
2438
+ Field(description="Entity where the run will be assigned."),
2439
+ ] = None,
2440
+ names: Annotated[
2441
+ Optional[StrictStr], Field(description="Names query param.")
2442
+ ] = None,
2443
+ runs: Annotated[
2444
+ Optional[StrictStr], Field(description="Runs query param.")
2445
+ ] = None,
2446
+ orient: Annotated[
2447
+ Optional[StrictStr], Field(description="Orient query param.")
2448
+ ] = None,
2449
+ force: Annotated[
2450
+ Optional[bool], Field(description="Force query param.")
2451
+ ] = None,
2452
+ sample: Annotated[
2453
+ Optional[StrictInt], Field(description="Sample query param.")
2454
+ ] = None,
2455
+ connection: Annotated[
2456
+ Optional[StrictStr], Field(description="Connection to use.")
2457
+ ] = None,
2458
+ status: Annotated[
2459
+ Optional[StrictStr], Field(description="Optional status.")
2460
+ ] = None,
2461
+ **kwargs,
2462
+ ) -> V1MultiEventsResponse: # noqa: E501
2463
+ """Get multi runs events # noqa: E501
2421
2464
 
2422
2465
  This method makes a synchronous HTTP request by default. To make an
2423
2466
  asynchronous HTTP request, please pass async_req=True
2424
2467
 
2425
- >>> thread = api.get_organization_run(owner, uuid, async_req=True)
2468
+ >>> thread = api.get_organization_multi_run_events(namespace, owner, kind, entity, names, runs, orient, force, sample, connection, status, async_req=True)
2426
2469
  >>> result = thread.get()
2427
2470
 
2471
+ :param namespace: namespace (required)
2472
+ :type namespace: str
2428
2473
  :param owner: Owner of the namespace (required)
2429
2474
  :type owner: str
2430
- :param uuid: Uuid identifier of the entity (required)
2431
- :type uuid: str
2475
+ :param kind: The artifact kind (required)
2476
+ :type kind: str
2477
+ :param entity: Entity where the run will be assigned.
2478
+ :type entity: str
2479
+ :param names: Names query param.
2480
+ :type names: str
2481
+ :param runs: Runs query param.
2482
+ :type runs: str
2483
+ :param orient: Orient query param.
2484
+ :type orient: str
2485
+ :param force: Force query param.
2486
+ :type force: bool
2487
+ :param sample: Sample query param.
2488
+ :type sample: int
2489
+ :param connection: Connection to use.
2490
+ :type connection: str
2491
+ :param status: Optional status.
2492
+ :type status: str
2432
2493
  :param async_req: Whether to execute the request asynchronously.
2433
2494
  :type async_req: bool, optional
2434
2495
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -2442,34 +2503,87 @@ class OrganizationsV1Api(BaseApi):
2442
2503
  :return: Returns the result object.
2443
2504
  If the method is called asynchronously,
2444
2505
  returns the request thread.
2445
- :rtype: V1Run
2506
+ :rtype: V1MultiEventsResponse
2446
2507
  """
2447
2508
  kwargs["_return_http_data_only"] = True
2448
- return self.get_organization_run_with_http_info(
2449
- owner, uuid, **kwargs
2509
+ return self.get_organization_multi_run_events_with_http_info(
2510
+ namespace,
2511
+ owner,
2512
+ kind,
2513
+ entity,
2514
+ names,
2515
+ runs,
2516
+ orient,
2517
+ force,
2518
+ sample,
2519
+ connection,
2520
+ status,
2521
+ **kwargs,
2450
2522
  ) # noqa: E501
2451
2523
 
2452
2524
  @validate_call
2453
- def get_organization_run_with_http_info(
2525
+ def get_organization_multi_run_events_with_http_info(
2454
2526
  self,
2527
+ namespace: Annotated[StrictStr, Field(..., description="namespace")],
2455
2528
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2456
- uuid: Annotated[
2457
- StrictStr, Field(..., description="Uuid identifier of the entity")
2458
- ],
2459
- **kwargs
2529
+ kind: Annotated[StrictStr, Field(..., description="The artifact kind")],
2530
+ entity: Annotated[
2531
+ Optional[StrictStr],
2532
+ Field(description="Entity where the run will be assigned."),
2533
+ ] = None,
2534
+ names: Annotated[
2535
+ Optional[StrictStr], Field(description="Names query param.")
2536
+ ] = None,
2537
+ runs: Annotated[
2538
+ Optional[StrictStr], Field(description="Runs query param.")
2539
+ ] = None,
2540
+ orient: Annotated[
2541
+ Optional[StrictStr], Field(description="Orient query param.")
2542
+ ] = None,
2543
+ force: Annotated[
2544
+ Optional[bool], Field(description="Force query param.")
2545
+ ] = None,
2546
+ sample: Annotated[
2547
+ Optional[StrictInt], Field(description="Sample query param.")
2548
+ ] = None,
2549
+ connection: Annotated[
2550
+ Optional[StrictStr], Field(description="Connection to use.")
2551
+ ] = None,
2552
+ status: Annotated[
2553
+ Optional[StrictStr], Field(description="Optional status.")
2554
+ ] = None,
2555
+ **kwargs,
2460
2556
  ): # noqa: E501
2461
- """Get a run in an organization # noqa: E501
2557
+ """Get multi runs events # noqa: E501
2462
2558
 
2463
2559
  This method makes a synchronous HTTP request by default. To make an
2464
2560
  asynchronous HTTP request, please pass async_req=True
2465
2561
 
2466
- >>> thread = api.get_organization_run_with_http_info(owner, uuid, async_req=True)
2562
+ >>> thread = api.get_organization_multi_run_events_with_http_info(namespace, owner, kind, entity, names, runs, orient, force, sample, connection, status, async_req=True)
2467
2563
  >>> result = thread.get()
2468
2564
 
2565
+ :param namespace: namespace (required)
2566
+ :type namespace: str
2469
2567
  :param owner: Owner of the namespace (required)
2470
2568
  :type owner: str
2471
- :param uuid: Uuid identifier of the entity (required)
2472
- :type uuid: str
2569
+ :param kind: The artifact kind (required)
2570
+ :type kind: str
2571
+ :param entity: Entity where the run will be assigned.
2572
+ :type entity: str
2573
+ :param names: Names query param.
2574
+ :type names: str
2575
+ :param runs: Runs query param.
2576
+ :type runs: str
2577
+ :param orient: Orient query param.
2578
+ :type orient: str
2579
+ :param force: Force query param.
2580
+ :type force: bool
2581
+ :param sample: Sample query param.
2582
+ :type sample: int
2583
+ :param connection: Connection to use.
2584
+ :type connection: str
2585
+ :param status: Optional status.
2586
+ :type status: str
2473
2587
  :param async_req: Whether to execute the request asynchronously.
2474
2588
  :type async_req: bool, optional
2475
2589
  :param _return_http_data_only: response data without head status code
@@ -2491,12 +2605,24 @@ class OrganizationsV1Api(BaseApi):
2491
2605
  :return: Returns the result object.
2492
2606
  If the method is called asynchronously,
2493
2607
  returns the request thread.
2494
- :rtype: tuple(V1Run, status_code(int), headers(HTTPHeaderDict))
2608
+ :rtype: tuple(V1MultiEventsResponse, status_code(int), headers(HTTPHeaderDict))
2495
2609
  """
2496
2610
 
2497
2611
  _params = locals()
2498
2612
 
2499
- _all_params = ["owner", "uuid"]
2613
+ _all_params = [
2614
+ "namespace",
2615
+ "owner",
2616
+ "kind",
2617
+ "entity",
2618
+ "names",
2619
+ "runs",
2620
+ "orient",
2621
+ "force",
2622
+ "sample",
2623
+ "connection",
2624
+ "status",
2625
+ ]
2500
2626
  _all_params.extend(
2501
2627
  [
2502
2628
  "async_req",
@@ -2514,7 +2640,7 @@ class OrganizationsV1Api(BaseApi):
2514
2640
  if _key not in _all_params:
2515
2641
  raise ApiTypeError(
2516
2642
  "Got an unexpected keyword argument '%s'"
2517
- " to method get_organization_run" % _key
2643
+ " to method get_organization_multi_run_events" % _key
2518
2644
  )
2519
2645
  _params[_key] = _val
2520
2646
  del _params["kwargs"]
@@ -2523,24 +2649,48 @@ class OrganizationsV1Api(BaseApi):
2523
2649
 
2524
2650
  # process the path parameters
2525
2651
  _path_params = {}
2652
+ if _params["namespace"]:
2653
+ _path_params["namespace"] = _params["namespace"]
2654
+
2526
2655
  if _params["owner"]:
2527
2656
  _path_params["owner"] = _params["owner"]
2528
- if _params["uuid"]:
2529
- _path_params["uuid"] = _params["uuid"]
2657
+
2658
+ if _params["kind"]:
2659
+ _path_params["kind"] = _params["kind"]
2530
2660
 
2531
2661
  # process the query parameters
2532
2662
  _query_params = []
2663
+ if _params.get("entity") is not None: # noqa: E501
2664
+ _query_params.append(("entity", _params["entity"]))
2665
+
2666
+ if _params.get("names") is not None: # noqa: E501
2667
+ _query_params.append(("names", _params["names"]))
2668
+
2669
+ if _params.get("runs") is not None: # noqa: E501
2670
+ _query_params.append(("runs", _params["runs"]))
2671
+
2672
+ if _params.get("orient") is not None: # noqa: E501
2673
+ _query_params.append(("orient", _params["orient"]))
2674
+
2675
+ if _params.get("force") is not None: # noqa: E501
2676
+ _query_params.append(("force", _params["force"]))
2677
+
2678
+ if _params.get("sample") is not None: # noqa: E501
2679
+ _query_params.append(("sample", _params["sample"]))
2680
+
2681
+ if _params.get("connection") is not None: # noqa: E501
2682
+ _query_params.append(("connection", _params["connection"]))
2683
+
2684
+ if _params.get("status") is not None: # noqa: E501
2685
+ _query_params.append(("status", _params["status"]))
2533
2686
 
2534
2687
  # process the header parameters
2535
2688
  _header_params = dict(_params.get("_headers", {}))
2536
-
2537
2689
  # process the form parameters
2538
2690
  _form_params = []
2539
2691
  _files = {}
2540
-
2541
2692
  # process the body parameter
2542
2693
  _body_params = None
2543
-
2544
2694
  # set the HTTP header `Accept`
2545
2695
  _header_params["Accept"] = self.api_client.select_header_accept(
2546
2696
  ["application/json"]
@@ -2550,14 +2700,14 @@ class OrganizationsV1Api(BaseApi):
2550
2700
  _auth_settings = ["ApiKey"] # noqa: E501
2551
2701
 
2552
2702
  _response_types_map = {
2553
- "200": "V1Run",
2703
+ "200": "V1MultiEventsResponse",
2554
2704
  "204": "object",
2555
2705
  "403": "object",
2556
2706
  "404": "object",
2557
2707
  }
2558
2708
 
2559
2709
  return self.api_client.call_api(
2560
- "/api/v1/orgs/{owner}/runs/{uuid}",
2710
+ "/streams/v1/{namespace}/orgs/{owner}/runs/multi/events/{kind}",
2561
2711
  "GET",
2562
2712
  _path_params,
2563
2713
  _query_params,
@@ -2576,52 +2726,33 @@ class OrganizationsV1Api(BaseApi):
2576
2726
  )
2577
2727
 
2578
2728
  @validate_call
2579
- def get_organization_runs(
2729
+ def get_organization_multi_run_importance(
2580
2730
  self,
2731
+ namespace: Annotated[StrictStr, Field(..., description="namespace")],
2581
2732
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2582
- offset: Annotated[
2583
- Optional[StrictInt], Field(description="Pagination offset.")
2584
- ] = None,
2585
- limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
2586
- sort: Annotated[
2587
- Optional[StrictStr], Field(description="Sort to order the search.")
2733
+ body: Annotated[Dict[str, Any], Field(..., description="Params/Metrics data")],
2734
+ entity: Annotated[
2735
+ Optional[StrictStr],
2736
+ Field(description="Entity where the run will be assigned."),
2588
2737
  ] = None,
2589
- query: Annotated[
2590
- Optional[StrictStr], Field(description="Query filter the search.")
2591
- ] = None,
2592
- bookmarks: Annotated[
2593
- Optional[bool], Field(description="Filter by bookmarks.")
2594
- ] = None,
2595
- mode: Annotated[
2596
- Optional[StrictStr], Field(description="Mode of the search.")
2597
- ] = None,
2598
- no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
2599
- **kwargs
2600
- ) -> V1ListRunsResponse: # noqa: E501
2601
- """Get all runs in an organization # noqa: E501
2738
+ **kwargs,
2739
+ ) -> V1MultiEventsResponse: # noqa: E501
2740
+ """Get multi run importance # noqa: E501
2602
2741
 
2603
2742
  This method makes a synchronous HTTP request by default. To make an
2604
2743
  asynchronous HTTP request, please pass async_req=True
2605
2744
 
2606
- >>> thread = api.get_organization_runs(owner, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
2745
+ >>> thread = api.get_organization_multi_run_importance(namespace, owner, body, entity, async_req=True)
2607
2746
  >>> result = thread.get()
2608
2747
 
2748
+ :param namespace: namespace (required)
2749
+ :type namespace: str
2609
2750
  :param owner: Owner of the namespace (required)
2610
2751
  :type owner: str
2611
- :param offset: Pagination offset.
2612
- :type offset: int
2613
- :param limit: Limit size.
2614
- :type limit: int
2615
- :param sort: Sort to order the search.
2616
- :type sort: str
2617
- :param query: Query filter the search.
2618
- :type query: str
2619
- :param bookmarks: Filter by bookmarks.
2620
- :type bookmarks: bool
2621
- :param mode: Mode of the search.
2622
- :type mode: str
2623
- :param no_page: No pagination.
2624
- :type no_page: bool
2752
+ :param body: Params/Metrics data (required)
2753
+ :type body: object
2754
+ :param entity: Entity where the run will be assigned.
2755
+ :type entity: str
2625
2756
  :param async_req: Whether to execute the request asynchronously.
2626
2757
  :type async_req: bool, optional
2627
2758
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -2635,60 +2766,41 @@ class OrganizationsV1Api(BaseApi):
2635
2766
  :return: Returns the result object.
2636
2767
  If the method is called asynchronously,
2637
2768
  returns the request thread.
2638
- :rtype: V1ListRunsResponse
2769
+ :rtype: V1MultiEventsResponse
2639
2770
  """
2640
2771
  kwargs["_return_http_data_only"] = True
2641
- return self.get_organization_runs_with_http_info(
2642
- owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
2772
+ return self.get_organization_multi_run_importance_with_http_info(
2773
+ namespace, owner, body, entity, **kwargs
2643
2774
  ) # noqa: E501
2644
2775
 
2645
2776
  @validate_call
2646
- def get_organization_runs_with_http_info(
2777
+ def get_organization_multi_run_importance_with_http_info(
2647
2778
  self,
2779
+ namespace: Annotated[StrictStr, Field(..., description="namespace")],
2648
2780
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2649
- offset: Annotated[
2650
- Optional[StrictInt], Field(description="Pagination offset.")
2651
- ] = None,
2652
- limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
2653
- sort: Annotated[
2654
- Optional[StrictStr], Field(description="Sort to order the search.")
2655
- ] = None,
2656
- query: Annotated[
2657
- Optional[StrictStr], Field(description="Query filter the search.")
2781
+ body: Annotated[Dict[str, Any], Field(..., description="Params/Metrics data")],
2782
+ entity: Annotated[
2783
+ Optional[StrictStr],
2784
+ Field(description="Entity where the run will be assigned."),
2658
2785
  ] = None,
2659
- bookmarks: Annotated[
2660
- Optional[bool], Field(description="Filter by bookmarks.")
2661
- ] = None,
2662
- mode: Annotated[
2663
- Optional[StrictStr], Field(description="Mode of the search.")
2664
- ] = None,
2665
- no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
2666
- **kwargs
2786
+ **kwargs,
2667
2787
  ): # noqa: E501
2668
- """Get all runs in an organization # noqa: E501
2788
+ """Get multi run importance # noqa: E501
2669
2789
 
2670
2790
  This method makes a synchronous HTTP request by default. To make an
2671
2791
  asynchronous HTTP request, please pass async_req=True
2672
2792
 
2673
- >>> thread = api.get_organization_runs_with_http_info(owner, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
2793
+ >>> thread = api.get_organization_multi_run_importance_with_http_info(namespace, owner, body, entity, async_req=True)
2674
2794
  >>> result = thread.get()
2675
2795
 
2796
+ :param namespace: namespace (required)
2797
+ :type namespace: str
2676
2798
  :param owner: Owner of the namespace (required)
2677
2799
  :type owner: str
2678
- :param offset: Pagination offset.
2679
- :type offset: int
2680
- :param limit: Limit size.
2681
- :type limit: int
2682
- :param sort: Sort to order the search.
2683
- :type sort: str
2684
- :param query: Query filter the search.
2685
- :type query: str
2686
- :param bookmarks: Filter by bookmarks.
2687
- :type bookmarks: bool
2688
- :param mode: Mode of the search.
2689
- :type mode: str
2690
- :param no_page: No pagination.
2691
- :type no_page: bool
2800
+ :param body: Params/Metrics data (required)
2801
+ :type body: object
2802
+ :param entity: Entity where the run will be assigned.
2803
+ :type entity: str
2692
2804
  :param async_req: Whether to execute the request asynchronously.
2693
2805
  :type async_req: bool, optional
2694
2806
  :param _return_http_data_only: response data without head status code
@@ -2710,21 +2822,12 @@ class OrganizationsV1Api(BaseApi):
2710
2822
  :return: Returns the result object.
2711
2823
  If the method is called asynchronously,
2712
2824
  returns the request thread.
2713
- :rtype: tuple(V1ListRunsResponse, status_code(int), headers(HTTPHeaderDict))
2825
+ :rtype: tuple(V1MultiEventsResponse, status_code(int), headers(HTTPHeaderDict))
2714
2826
  """
2715
2827
 
2716
2828
  _params = locals()
2717
2829
 
2718
- _all_params = [
2719
- "owner",
2720
- "offset",
2721
- "limit",
2722
- "sort",
2723
- "query",
2724
- "bookmarks",
2725
- "mode",
2726
- "no_page",
2727
- ]
2830
+ _all_params = ["namespace", "owner", "body", "entity"]
2728
2831
  _all_params.extend(
2729
2832
  [
2730
2833
  "async_req",
@@ -2742,7 +2845,7 @@ class OrganizationsV1Api(BaseApi):
2742
2845
  if _key not in _all_params:
2743
2846
  raise ApiTypeError(
2744
2847
  "Got an unexpected keyword argument '%s'"
2745
- " to method get_organization_runs" % _key
2848
+ " to method get_organization_multi_run_importance" % _key
2746
2849
  )
2747
2850
  _params[_key] = _val
2748
2851
  del _params["kwargs"]
@@ -2751,54 +2854,53 @@ class OrganizationsV1Api(BaseApi):
2751
2854
 
2752
2855
  # process the path parameters
2753
2856
  _path_params = {}
2857
+ if _params["namespace"]:
2858
+ _path_params["namespace"] = _params["namespace"]
2859
+
2754
2860
  if _params["owner"]:
2755
2861
  _path_params["owner"] = _params["owner"]
2756
2862
 
2757
2863
  # process the query parameters
2758
2864
  _query_params = []
2759
- if _params.get("offset") is not None: # noqa: E501
2760
- _query_params.append(("offset", _params["offset"]))
2761
- if _params.get("limit") is not None: # noqa: E501
2762
- _query_params.append(("limit", _params["limit"]))
2763
- if _params.get("sort") is not None: # noqa: E501
2764
- _query_params.append(("sort", _params["sort"]))
2765
- if _params.get("query") is not None: # noqa: E501
2766
- _query_params.append(("query", _params["query"]))
2767
- if _params.get("bookmarks") is not None: # noqa: E501
2768
- _query_params.append(("bookmarks", _params["bookmarks"]))
2769
- if _params.get("mode") is not None: # noqa: E501
2770
- _query_params.append(("mode", _params["mode"]))
2771
- if _params.get("no_page") is not None: # noqa: E501
2772
- _query_params.append(("no_page", _params["no_page"]))
2865
+ if _params.get("entity") is not None: # noqa: E501
2866
+ _query_params.append(("entity", _params["entity"]))
2773
2867
 
2774
2868
  # process the header parameters
2775
2869
  _header_params = dict(_params.get("_headers", {}))
2776
-
2777
2870
  # process the form parameters
2778
2871
  _form_params = []
2779
2872
  _files = {}
2780
-
2781
2873
  # process the body parameter
2782
2874
  _body_params = None
2875
+ if _params["body"]:
2876
+ _body_params = _params["body"]
2783
2877
 
2784
2878
  # set the HTTP header `Accept`
2785
2879
  _header_params["Accept"] = self.api_client.select_header_accept(
2786
2880
  ["application/json"]
2787
2881
  ) # noqa: E501
2788
2882
 
2789
- # authentication setting
2790
- _auth_settings = ["ApiKey"] # noqa: E501
2883
+ # set the HTTP header `Content-Type`
2884
+ _content_types_list = _params.get(
2885
+ "_content_type",
2886
+ self.api_client.select_header_content_type(["application/json"]),
2887
+ )
2888
+ if _content_types_list:
2889
+ _header_params["Content-Type"] = _content_types_list
2890
+
2891
+ # authentication setting
2892
+ _auth_settings = ["ApiKey"] # noqa: E501
2791
2893
 
2792
2894
  _response_types_map = {
2793
- "200": "V1ListRunsResponse",
2895
+ "200": "V1MultiEventsResponse",
2794
2896
  "204": "object",
2795
2897
  "403": "object",
2796
2898
  "404": "object",
2797
2899
  }
2798
2900
 
2799
2901
  return self.api_client.call_api(
2800
- "/api/v1/orgs/{owner}/runs",
2801
- "GET",
2902
+ "/streams/v1/{namespace}/orgs/{owner}/runs/multi/importance",
2903
+ "POST",
2802
2904
  _path_params,
2803
2905
  _query_params,
2804
2906
  _header_params,
@@ -2816,94 +2918,26 @@ class OrganizationsV1Api(BaseApi):
2816
2918
  )
2817
2919
 
2818
2920
  @validate_call
2819
- def get_organization_settings(
2921
+ def get_organization_run(
2820
2922
  self,
2821
2923
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2822
- organization_user: Annotated[
2823
- Optional[StrictStr], Field(description="User.")
2824
- ] = None,
2825
- organization_user_email: Annotated[
2826
- Optional[StrictStr], Field(description="Read-only User email.")
2827
- ] = None,
2828
- organization_name: Annotated[
2829
- Optional[StrictStr], Field(description="Name.")
2830
- ] = None,
2831
- organization_is_public: Annotated[
2832
- Optional[bool],
2833
- Field(description="Optional flag to tell if this organization is public."),
2834
- ] = None,
2835
- organization_created_at: Annotated[
2836
- Optional[datetime],
2837
- Field(description="Optional time when the entity was created."),
2838
- ] = None,
2839
- organization_updated_at: Annotated[
2840
- Optional[datetime],
2841
- Field(description="Optional last time the entity was updated."),
2842
- ] = None,
2843
- organization_support_revoke_at: Annotated[
2844
- Optional[datetime],
2845
- Field(description="Optional time to revoke support access."),
2846
- ] = None,
2847
- organization_expiration: Annotated[
2848
- Optional[StrictInt], Field(description="Optional expiration for support.")
2849
- ] = None,
2850
- organization_role: Annotated[
2851
- Optional[StrictStr], Field(description="Current user's role in this org.")
2852
- ] = None,
2853
- organization_queue: Annotated[
2854
- Optional[StrictStr], Field(description="Default queue.")
2855
- ] = None,
2856
- organization_preset: Annotated[
2857
- Optional[StrictStr], Field(description="Default preset.")
2858
- ] = None,
2859
- organization_is_cloud_viewable: Annotated[
2860
- Optional[bool],
2861
- Field(description="Setting to enable viewable metadata on cloud."),
2862
- ] = None,
2863
- organization_archived_deletion_interval: Annotated[
2864
- Optional[StrictInt],
2865
- Field(
2866
- description="Setting to configure default archived deletion interval."
2867
- ),
2868
- ] = None,
2869
- **kwargs
2870
- ) -> V1Organization: # noqa: E501
2871
- """Get organization settings # noqa: E501
2924
+ uuid: Annotated[
2925
+ StrictStr, Field(..., description="Uuid identifier of the entity")
2926
+ ],
2927
+ **kwargs,
2928
+ ) -> V1Run: # noqa: E501
2929
+ """Get a run in an organization # noqa: E501
2872
2930
 
2873
2931
  This method makes a synchronous HTTP request by default. To make an
2874
2932
  asynchronous HTTP request, please pass async_req=True
2875
2933
 
2876
- >>> thread = api.get_organization_settings(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_preset, organization_is_cloud_viewable, organization_archived_deletion_interval, async_req=True)
2934
+ >>> thread = api.get_organization_run(owner, uuid, async_req=True)
2877
2935
  >>> result = thread.get()
2878
2936
 
2879
2937
  :param owner: Owner of the namespace (required)
2880
2938
  :type owner: str
2881
- :param organization_user: User.
2882
- :type organization_user: str
2883
- :param organization_user_email: Read-only User email.
2884
- :type organization_user_email: str
2885
- :param organization_name: Name.
2886
- :type organization_name: str
2887
- :param organization_is_public: Optional flag to tell if this organization is public.
2888
- :type organization_is_public: bool
2889
- :param organization_created_at: Optional time when the entity was created.
2890
- :type organization_created_at: datetime
2891
- :param organization_updated_at: Optional last time the entity was updated.
2892
- :type organization_updated_at: datetime
2893
- :param organization_support_revoke_at: Optional time to revoke support access.
2894
- :type organization_support_revoke_at: datetime
2895
- :param organization_expiration: Optional expiration for support.
2896
- :type organization_expiration: int
2897
- :param organization_role: Current user's role in this org.
2898
- :type organization_role: str
2899
- :param organization_queue: Default queue.
2900
- :type organization_queue: str
2901
- :param organization_preset: Default preset.
2902
- :type organization_preset: str
2903
- :param organization_is_cloud_viewable: Setting to enable viewable metadata on cloud.
2904
- :type organization_is_cloud_viewable: bool
2905
- :param organization_archived_deletion_interval: Setting to configure default archived deletion interval.
2906
- :type organization_archived_deletion_interval: int
2939
+ :param uuid: Uuid identifier of the entity (required)
2940
+ :type uuid: str
2907
2941
  :param async_req: Whether to execute the request asynchronously.
2908
2942
  :type async_req: bool, optional
2909
2943
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -2917,116 +2951,32 @@ class OrganizationsV1Api(BaseApi):
2917
2951
  :return: Returns the result object.
2918
2952
  If the method is called asynchronously,
2919
2953
  returns the request thread.
2920
- :rtype: V1Organization
2954
+ :rtype: V1Run
2921
2955
  """
2922
2956
  kwargs["_return_http_data_only"] = True
2923
- return self.get_organization_settings_with_http_info(
2924
- owner,
2925
- organization_user,
2926
- organization_user_email,
2927
- organization_name,
2928
- organization_is_public,
2929
- organization_created_at,
2930
- organization_updated_at,
2931
- organization_support_revoke_at,
2932
- organization_expiration,
2933
- organization_role,
2934
- organization_queue,
2935
- organization_preset,
2936
- organization_is_cloud_viewable,
2937
- organization_archived_deletion_interval,
2938
- **kwargs
2939
- ) # noqa: E501
2957
+ return self.get_organization_run_with_http_info(owner, uuid, **kwargs) # noqa: E501
2940
2958
 
2941
2959
  @validate_call
2942
- def get_organization_settings_with_http_info(
2960
+ def get_organization_run_with_http_info(
2943
2961
  self,
2944
2962
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
2945
- organization_user: Annotated[
2946
- Optional[StrictStr], Field(description="User.")
2947
- ] = None,
2948
- organization_user_email: Annotated[
2949
- Optional[StrictStr], Field(description="Read-only User email.")
2950
- ] = None,
2951
- organization_name: Annotated[
2952
- Optional[StrictStr], Field(description="Name.")
2953
- ] = None,
2954
- organization_is_public: Annotated[
2955
- Optional[bool],
2956
- Field(description="Optional flag to tell if this organization is public."),
2957
- ] = None,
2958
- organization_created_at: Annotated[
2959
- Optional[datetime],
2960
- Field(description="Optional time when the entity was created."),
2961
- ] = None,
2962
- organization_updated_at: Annotated[
2963
- Optional[datetime],
2964
- Field(description="Optional last time the entity was updated."),
2965
- ] = None,
2966
- organization_support_revoke_at: Annotated[
2967
- Optional[datetime],
2968
- Field(description="Optional time to revoke support access."),
2969
- ] = None,
2970
- organization_expiration: Annotated[
2971
- Optional[StrictInt], Field(description="Optional expiration for support.")
2972
- ] = None,
2973
- organization_role: Annotated[
2974
- Optional[StrictStr], Field(description="Current user's role in this org.")
2975
- ] = None,
2976
- organization_queue: Annotated[
2977
- Optional[StrictStr], Field(description="Default queue.")
2978
- ] = None,
2979
- organization_preset: Annotated[
2980
- Optional[StrictStr], Field(description="Default preset.")
2981
- ] = None,
2982
- organization_is_cloud_viewable: Annotated[
2983
- Optional[bool],
2984
- Field(description="Setting to enable viewable metadata on cloud."),
2985
- ] = None,
2986
- organization_archived_deletion_interval: Annotated[
2987
- Optional[StrictInt],
2988
- Field(
2989
- description="Setting to configure default archived deletion interval."
2990
- ),
2991
- ] = None,
2992
- **kwargs
2963
+ uuid: Annotated[
2964
+ StrictStr, Field(..., description="Uuid identifier of the entity")
2965
+ ],
2966
+ **kwargs,
2993
2967
  ): # noqa: E501
2994
- """Get organization settings # noqa: E501
2968
+ """Get a run in an organization # noqa: E501
2995
2969
 
2996
2970
  This method makes a synchronous HTTP request by default. To make an
2997
2971
  asynchronous HTTP request, please pass async_req=True
2998
2972
 
2999
- >>> thread = api.get_organization_settings_with_http_info(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_preset, organization_is_cloud_viewable, organization_archived_deletion_interval, async_req=True)
2973
+ >>> thread = api.get_organization_run_with_http_info(owner, uuid, async_req=True)
3000
2974
  >>> result = thread.get()
3001
2975
 
3002
2976
  :param owner: Owner of the namespace (required)
3003
2977
  :type owner: str
3004
- :param organization_user: User.
3005
- :type organization_user: str
3006
- :param organization_user_email: Read-only User email.
3007
- :type organization_user_email: str
3008
- :param organization_name: Name.
3009
- :type organization_name: str
3010
- :param organization_is_public: Optional flag to tell if this organization is public.
3011
- :type organization_is_public: bool
3012
- :param organization_created_at: Optional time when the entity was created.
3013
- :type organization_created_at: datetime
3014
- :param organization_updated_at: Optional last time the entity was updated.
3015
- :type organization_updated_at: datetime
3016
- :param organization_support_revoke_at: Optional time to revoke support access.
3017
- :type organization_support_revoke_at: datetime
3018
- :param organization_expiration: Optional expiration for support.
3019
- :type organization_expiration: int
3020
- :param organization_role: Current user's role in this org.
3021
- :type organization_role: str
3022
- :param organization_queue: Default queue.
3023
- :type organization_queue: str
3024
- :param organization_preset: Default preset.
3025
- :type organization_preset: str
3026
- :param organization_is_cloud_viewable: Setting to enable viewable metadata on cloud.
3027
- :type organization_is_cloud_viewable: bool
3028
- :param organization_archived_deletion_interval: Setting to configure default archived deletion interval.
3029
- :type organization_archived_deletion_interval: int
2978
+ :param uuid: Uuid identifier of the entity (required)
2979
+ :type uuid: str
3030
2980
  :param async_req: Whether to execute the request asynchronously.
3031
2981
  :type async_req: bool, optional
3032
2982
  :param _return_http_data_only: response data without head status code
@@ -3048,27 +2998,12 @@ class OrganizationsV1Api(BaseApi):
3048
2998
  :return: Returns the result object.
3049
2999
  If the method is called asynchronously,
3050
3000
  returns the request thread.
3051
- :rtype: tuple(V1Organization, status_code(int), headers(HTTPHeaderDict))
3001
+ :rtype: tuple(V1Run, status_code(int), headers(HTTPHeaderDict))
3052
3002
  """
3053
3003
 
3054
3004
  _params = locals()
3055
3005
 
3056
- _all_params = [
3057
- "owner",
3058
- "organization_user",
3059
- "organization_user_email",
3060
- "organization_name",
3061
- "organization_is_public",
3062
- "organization_created_at",
3063
- "organization_updated_at",
3064
- "organization_support_revoke_at",
3065
- "organization_expiration",
3066
- "organization_role",
3067
- "organization_queue",
3068
- "organization_preset",
3069
- "organization_is_cloud_viewable",
3070
- "organization_archived_deletion_interval",
3071
- ]
3006
+ _all_params = ["owner", "uuid"]
3072
3007
  _all_params.extend(
3073
3008
  [
3074
3009
  "async_req",
@@ -3086,7 +3021,7 @@ class OrganizationsV1Api(BaseApi):
3086
3021
  if _key not in _all_params:
3087
3022
  raise ApiTypeError(
3088
3023
  "Got an unexpected keyword argument '%s'"
3089
- " to method get_organization_settings" % _key
3024
+ " to method get_organization_run" % _key
3090
3025
  )
3091
3026
  _params[_key] = _val
3092
3027
  del _params["kwargs"]
@@ -3098,74 +3033,1253 @@ class OrganizationsV1Api(BaseApi):
3098
3033
  if _params["owner"]:
3099
3034
  _path_params["owner"] = _params["owner"]
3100
3035
 
3036
+ if _params["uuid"]:
3037
+ _path_params["uuid"] = _params["uuid"]
3038
+
3101
3039
  # process the query parameters
3102
3040
  _query_params = []
3103
- if _params.get("organization_user") is not None: # noqa: E501
3104
- _query_params.append(("organization.user", _params["organization_user"]))
3105
- if _params.get("organization_user_email") is not None: # noqa: E501
3106
- _query_params.append(
3107
- ("organization.user_email", _params["organization_user_email"])
3108
- )
3109
- if _params.get("organization_name") is not None: # noqa: E501
3110
- _query_params.append(("organization.name", _params["organization_name"]))
3111
- if _params.get("organization_is_public") is not None: # noqa: E501
3112
- _query_params.append(
3113
- ("organization.is_public", _params["organization_is_public"])
3114
- )
3115
- if _params.get("organization_created_at") is not None: # noqa: E501
3116
- _query_params.append(
3117
- ("organization.created_at", _params["organization_created_at"])
3118
- )
3119
- if _params.get("organization_updated_at") is not None: # noqa: E501
3120
- _query_params.append(
3121
- ("organization.updated_at", _params["organization_updated_at"])
3122
- )
3123
- if _params.get("organization_support_revoke_at") is not None: # noqa: E501
3124
- _query_params.append(
3125
- (
3126
- "organization.support_revoke_at",
3127
- _params["organization_support_revoke_at"],
3128
- )
3129
- )
3130
- if _params.get("organization_expiration") is not None: # noqa: E501
3131
- _query_params.append(
3132
- ("organization.expiration", _params["organization_expiration"])
3133
- )
3134
- if _params.get("organization_role") is not None: # noqa: E501
3135
- _query_params.append(("organization.role", _params["organization_role"]))
3136
- if _params.get("organization_queue") is not None: # noqa: E501
3137
- _query_params.append(("organization.queue", _params["organization_queue"]))
3138
- if _params.get("organization_preset") is not None: # noqa: E501
3139
- _query_params.append(
3140
- ("organization.preset", _params["organization_preset"])
3141
- )
3142
- if _params.get("organization_is_cloud_viewable") is not None: # noqa: E501
3143
- _query_params.append(
3144
- (
3145
- "organization.is_cloud_viewable",
3146
- _params["organization_is_cloud_viewable"],
3147
- )
3148
- )
3149
- if (
3150
- _params.get("organization_archived_deletion_interval") is not None
3151
- ): # noqa: E501
3152
- _query_params.append(
3153
- (
3041
+ # process the header parameters
3042
+ _header_params = dict(_params.get("_headers", {}))
3043
+ # process the form parameters
3044
+ _form_params = []
3045
+ _files = {}
3046
+ # process the body parameter
3047
+ _body_params = None
3048
+ # set the HTTP header `Accept`
3049
+ _header_params["Accept"] = self.api_client.select_header_accept(
3050
+ ["application/json"]
3051
+ ) # noqa: E501
3052
+
3053
+ # authentication setting
3054
+ _auth_settings = ["ApiKey"] # noqa: E501
3055
+
3056
+ _response_types_map = {
3057
+ "200": "V1Run",
3058
+ "204": "object",
3059
+ "403": "object",
3060
+ "404": "object",
3061
+ }
3062
+
3063
+ return self.api_client.call_api(
3064
+ "/api/v1/orgs/{owner}/runs/{uuid}",
3065
+ "GET",
3066
+ _path_params,
3067
+ _query_params,
3068
+ _header_params,
3069
+ body=_body_params,
3070
+ post_params=_form_params,
3071
+ files=_files,
3072
+ response_types_map=_response_types_map,
3073
+ auth_settings=_auth_settings,
3074
+ async_req=_params.get("async_req"),
3075
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
3076
+ _preload_content=_params.get("_preload_content", True),
3077
+ _request_timeout=_params.get("_request_timeout"),
3078
+ collection_formats=_collection_formats,
3079
+ _request_auth=_params.get("_request_auth"),
3080
+ )
3081
+
3082
+ @validate_call
3083
+ def get_organization_runs(
3084
+ self,
3085
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3086
+ offset: Annotated[
3087
+ Optional[StrictInt], Field(description="Pagination offset.")
3088
+ ] = None,
3089
+ limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
3090
+ sort: Annotated[
3091
+ Optional[StrictStr], Field(description="Sort to order the search.")
3092
+ ] = None,
3093
+ query: Annotated[
3094
+ Optional[StrictStr], Field(description="Query filter the search.")
3095
+ ] = None,
3096
+ bookmarks: Annotated[
3097
+ Optional[bool], Field(description="Filter by bookmarks.")
3098
+ ] = None,
3099
+ mode: Annotated[
3100
+ Optional[StrictStr], Field(description="Mode of the search.")
3101
+ ] = None,
3102
+ no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3103
+ **kwargs,
3104
+ ) -> V1ListRunsResponse: # noqa: E501
3105
+ """Get all runs in an organization # noqa: E501
3106
+
3107
+ This method makes a synchronous HTTP request by default. To make an
3108
+ asynchronous HTTP request, please pass async_req=True
3109
+
3110
+ >>> thread = api.get_organization_runs(owner, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
3111
+ >>> result = thread.get()
3112
+
3113
+ :param owner: Owner of the namespace (required)
3114
+ :type owner: str
3115
+ :param offset: Pagination offset.
3116
+ :type offset: int
3117
+ :param limit: Limit size.
3118
+ :type limit: int
3119
+ :param sort: Sort to order the search.
3120
+ :type sort: str
3121
+ :param query: Query filter the search.
3122
+ :type query: str
3123
+ :param bookmarks: Filter by bookmarks.
3124
+ :type bookmarks: bool
3125
+ :param mode: Mode of the search.
3126
+ :type mode: str
3127
+ :param no_page: No pagination.
3128
+ :type no_page: bool
3129
+ :param async_req: Whether to execute the request asynchronously.
3130
+ :type async_req: bool, optional
3131
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3132
+ be returned without reading/decoding response
3133
+ data. Default is True.
3134
+ :type _preload_content: bool, optional
3135
+ :param _request_timeout: timeout setting for this request. If one
3136
+ number provided, it will be total request
3137
+ timeout. It can also be a pair (tuple) of
3138
+ (connection, read) timeouts.
3139
+ :return: Returns the result object.
3140
+ If the method is called asynchronously,
3141
+ returns the request thread.
3142
+ :rtype: V1ListRunsResponse
3143
+ """
3144
+ kwargs["_return_http_data_only"] = True
3145
+ return self.get_organization_runs_with_http_info(
3146
+ owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
3147
+ ) # noqa: E501
3148
+
3149
+ @validate_call
3150
+ def get_organization_runs_with_http_info(
3151
+ self,
3152
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3153
+ offset: Annotated[
3154
+ Optional[StrictInt], Field(description="Pagination offset.")
3155
+ ] = None,
3156
+ limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
3157
+ sort: Annotated[
3158
+ Optional[StrictStr], Field(description="Sort to order the search.")
3159
+ ] = None,
3160
+ query: Annotated[
3161
+ Optional[StrictStr], Field(description="Query filter the search.")
3162
+ ] = None,
3163
+ bookmarks: Annotated[
3164
+ Optional[bool], Field(description="Filter by bookmarks.")
3165
+ ] = None,
3166
+ mode: Annotated[
3167
+ Optional[StrictStr], Field(description="Mode of the search.")
3168
+ ] = None,
3169
+ no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3170
+ **kwargs,
3171
+ ): # noqa: E501
3172
+ """Get all runs in an organization # noqa: E501
3173
+
3174
+ This method makes a synchronous HTTP request by default. To make an
3175
+ asynchronous HTTP request, please pass async_req=True
3176
+
3177
+ >>> thread = api.get_organization_runs_with_http_info(owner, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
3178
+ >>> result = thread.get()
3179
+
3180
+ :param owner: Owner of the namespace (required)
3181
+ :type owner: str
3182
+ :param offset: Pagination offset.
3183
+ :type offset: int
3184
+ :param limit: Limit size.
3185
+ :type limit: int
3186
+ :param sort: Sort to order the search.
3187
+ :type sort: str
3188
+ :param query: Query filter the search.
3189
+ :type query: str
3190
+ :param bookmarks: Filter by bookmarks.
3191
+ :type bookmarks: bool
3192
+ :param mode: Mode of the search.
3193
+ :type mode: str
3194
+ :param no_page: No pagination.
3195
+ :type no_page: bool
3196
+ :param async_req: Whether to execute the request asynchronously.
3197
+ :type async_req: bool, optional
3198
+ :param _return_http_data_only: response data without head status code
3199
+ and headers
3200
+ :type _return_http_data_only: bool, optional
3201
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3202
+ be returned without reading/decoding response
3203
+ data. Default is True.
3204
+ :type _preload_content: bool, optional
3205
+ :param _request_timeout: timeout setting for this request. If one
3206
+ number provided, it will be total request
3207
+ timeout. It can also be a pair (tuple) of
3208
+ (connection, read) timeouts.
3209
+ :param _request_auth: set to override the auth_settings for an a single
3210
+ request; this effectively ignores the authentication
3211
+ in the spec for a single request.
3212
+ :type _request_auth: dict, optional
3213
+ :type _content_type: string, optional: force content-type for the request
3214
+ :return: Returns the result object.
3215
+ If the method is called asynchronously,
3216
+ returns the request thread.
3217
+ :rtype: tuple(V1ListRunsResponse, status_code(int), headers(HTTPHeaderDict))
3218
+ """
3219
+
3220
+ _params = locals()
3221
+
3222
+ _all_params = [
3223
+ "owner",
3224
+ "offset",
3225
+ "limit",
3226
+ "sort",
3227
+ "query",
3228
+ "bookmarks",
3229
+ "mode",
3230
+ "no_page",
3231
+ ]
3232
+ _all_params.extend(
3233
+ [
3234
+ "async_req",
3235
+ "_return_http_data_only",
3236
+ "_preload_content",
3237
+ "_request_timeout",
3238
+ "_request_auth",
3239
+ "_content_type",
3240
+ "_headers",
3241
+ ]
3242
+ )
3243
+
3244
+ # validate the arguments
3245
+ for _key, _val in _params["kwargs"].items():
3246
+ if _key not in _all_params:
3247
+ raise ApiTypeError(
3248
+ "Got an unexpected keyword argument '%s'"
3249
+ " to method get_organization_runs" % _key
3250
+ )
3251
+ _params[_key] = _val
3252
+ del _params["kwargs"]
3253
+
3254
+ _collection_formats = {}
3255
+
3256
+ # process the path parameters
3257
+ _path_params = {}
3258
+ if _params["owner"]:
3259
+ _path_params["owner"] = _params["owner"]
3260
+
3261
+ # process the query parameters
3262
+ _query_params = []
3263
+ if _params.get("offset") is not None: # noqa: E501
3264
+ _query_params.append(("offset", _params["offset"]))
3265
+
3266
+ if _params.get("limit") is not None: # noqa: E501
3267
+ _query_params.append(("limit", _params["limit"]))
3268
+
3269
+ if _params.get("sort") is not None: # noqa: E501
3270
+ _query_params.append(("sort", _params["sort"]))
3271
+
3272
+ if _params.get("query") is not None: # noqa: E501
3273
+ _query_params.append(("query", _params["query"]))
3274
+
3275
+ if _params.get("bookmarks") is not None: # noqa: E501
3276
+ _query_params.append(("bookmarks", _params["bookmarks"]))
3277
+
3278
+ if _params.get("mode") is not None: # noqa: E501
3279
+ _query_params.append(("mode", _params["mode"]))
3280
+
3281
+ if _params.get("no_page") is not None: # noqa: E501
3282
+ _query_params.append(("no_page", _params["no_page"]))
3283
+
3284
+ # process the header parameters
3285
+ _header_params = dict(_params.get("_headers", {}))
3286
+ # process the form parameters
3287
+ _form_params = []
3288
+ _files = {}
3289
+ # process the body parameter
3290
+ _body_params = None
3291
+ # set the HTTP header `Accept`
3292
+ _header_params["Accept"] = self.api_client.select_header_accept(
3293
+ ["application/json"]
3294
+ ) # noqa: E501
3295
+
3296
+ # authentication setting
3297
+ _auth_settings = ["ApiKey"] # noqa: E501
3298
+
3299
+ _response_types_map = {
3300
+ "200": "V1ListRunsResponse",
3301
+ "204": "object",
3302
+ "403": "object",
3303
+ "404": "object",
3304
+ }
3305
+
3306
+ return self.api_client.call_api(
3307
+ "/api/v1/orgs/{owner}/runs",
3308
+ "GET",
3309
+ _path_params,
3310
+ _query_params,
3311
+ _header_params,
3312
+ body=_body_params,
3313
+ post_params=_form_params,
3314
+ files=_files,
3315
+ response_types_map=_response_types_map,
3316
+ auth_settings=_auth_settings,
3317
+ async_req=_params.get("async_req"),
3318
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
3319
+ _preload_content=_params.get("_preload_content", True),
3320
+ _request_timeout=_params.get("_request_timeout"),
3321
+ collection_formats=_collection_formats,
3322
+ _request_auth=_params.get("_request_auth"),
3323
+ )
3324
+
3325
+ @validate_call
3326
+ def get_organization_runs_artifacts_lineage(
3327
+ self,
3328
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3329
+ name: Annotated[
3330
+ Optional[StrictStr], Field(description="Entity managing the resource.")
3331
+ ] = None,
3332
+ offset: Annotated[
3333
+ Optional[StrictInt], Field(description="Pagination offset.")
3334
+ ] = None,
3335
+ limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
3336
+ sort: Annotated[
3337
+ Optional[StrictStr], Field(description="Sort to order the search.")
3338
+ ] = None,
3339
+ query: Annotated[
3340
+ Optional[StrictStr], Field(description="Query filter the search.")
3341
+ ] = None,
3342
+ bookmarks: Annotated[
3343
+ Optional[bool], Field(description="Filter by bookmarks.")
3344
+ ] = None,
3345
+ mode: Annotated[
3346
+ Optional[StrictStr], Field(description="Mode of the search.")
3347
+ ] = None,
3348
+ no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3349
+ **kwargs,
3350
+ ) -> V1ListRunArtifactsResponse: # noqa: E501
3351
+ """Get runs artifacts lineage # noqa: E501
3352
+
3353
+ This method makes a synchronous HTTP request by default. To make an
3354
+ asynchronous HTTP request, please pass async_req=True
3355
+
3356
+ >>> thread = api.get_organization_runs_artifacts_lineage(owner, name, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
3357
+ >>> result = thread.get()
3358
+
3359
+ :param owner: Owner of the namespace (required)
3360
+ :type owner: str
3361
+ :param name: Entity managing the resource.
3362
+ :type name: str
3363
+ :param offset: Pagination offset.
3364
+ :type offset: int
3365
+ :param limit: Limit size.
3366
+ :type limit: int
3367
+ :param sort: Sort to order the search.
3368
+ :type sort: str
3369
+ :param query: Query filter the search.
3370
+ :type query: str
3371
+ :param bookmarks: Filter by bookmarks.
3372
+ :type bookmarks: bool
3373
+ :param mode: Mode of the search.
3374
+ :type mode: str
3375
+ :param no_page: No pagination.
3376
+ :type no_page: bool
3377
+ :param async_req: Whether to execute the request asynchronously.
3378
+ :type async_req: bool, optional
3379
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3380
+ be returned without reading/decoding response
3381
+ data. Default is True.
3382
+ :type _preload_content: bool, optional
3383
+ :param _request_timeout: timeout setting for this request. If one
3384
+ number provided, it will be total request
3385
+ timeout. It can also be a pair (tuple) of
3386
+ (connection, read) timeouts.
3387
+ :return: Returns the result object.
3388
+ If the method is called asynchronously,
3389
+ returns the request thread.
3390
+ :rtype: V1ListRunArtifactsResponse
3391
+ """
3392
+ kwargs["_return_http_data_only"] = True
3393
+ return self.get_organization_runs_artifacts_lineage_with_http_info(
3394
+ owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
3395
+ ) # noqa: E501
3396
+
3397
+ @validate_call
3398
+ def get_organization_runs_artifacts_lineage_with_http_info(
3399
+ self,
3400
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3401
+ name: Annotated[
3402
+ Optional[StrictStr], Field(description="Entity managing the resource.")
3403
+ ] = None,
3404
+ offset: Annotated[
3405
+ Optional[StrictInt], Field(description="Pagination offset.")
3406
+ ] = None,
3407
+ limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
3408
+ sort: Annotated[
3409
+ Optional[StrictStr], Field(description="Sort to order the search.")
3410
+ ] = None,
3411
+ query: Annotated[
3412
+ Optional[StrictStr], Field(description="Query filter the search.")
3413
+ ] = None,
3414
+ bookmarks: Annotated[
3415
+ Optional[bool], Field(description="Filter by bookmarks.")
3416
+ ] = None,
3417
+ mode: Annotated[
3418
+ Optional[StrictStr], Field(description="Mode of the search.")
3419
+ ] = None,
3420
+ no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3421
+ **kwargs,
3422
+ ): # noqa: E501
3423
+ """Get runs artifacts lineage # noqa: E501
3424
+
3425
+ This method makes a synchronous HTTP request by default. To make an
3426
+ asynchronous HTTP request, please pass async_req=True
3427
+
3428
+ >>> thread = api.get_organization_runs_artifacts_lineage_with_http_info(owner, name, offset, limit, sort, query, bookmarks, mode, no_page, async_req=True)
3429
+ >>> result = thread.get()
3430
+
3431
+ :param owner: Owner of the namespace (required)
3432
+ :type owner: str
3433
+ :param name: Entity managing the resource.
3434
+ :type name: str
3435
+ :param offset: Pagination offset.
3436
+ :type offset: int
3437
+ :param limit: Limit size.
3438
+ :type limit: int
3439
+ :param sort: Sort to order the search.
3440
+ :type sort: str
3441
+ :param query: Query filter the search.
3442
+ :type query: str
3443
+ :param bookmarks: Filter by bookmarks.
3444
+ :type bookmarks: bool
3445
+ :param mode: Mode of the search.
3446
+ :type mode: str
3447
+ :param no_page: No pagination.
3448
+ :type no_page: bool
3449
+ :param async_req: Whether to execute the request asynchronously.
3450
+ :type async_req: bool, optional
3451
+ :param _return_http_data_only: response data without head status code
3452
+ and headers
3453
+ :type _return_http_data_only: bool, optional
3454
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3455
+ be returned without reading/decoding response
3456
+ data. Default is True.
3457
+ :type _preload_content: bool, optional
3458
+ :param _request_timeout: timeout setting for this request. If one
3459
+ number provided, it will be total request
3460
+ timeout. It can also be a pair (tuple) of
3461
+ (connection, read) timeouts.
3462
+ :param _request_auth: set to override the auth_settings for an a single
3463
+ request; this effectively ignores the authentication
3464
+ in the spec for a single request.
3465
+ :type _request_auth: dict, optional
3466
+ :type _content_type: string, optional: force content-type for the request
3467
+ :return: Returns the result object.
3468
+ If the method is called asynchronously,
3469
+ returns the request thread.
3470
+ :rtype: tuple(V1ListRunArtifactsResponse, status_code(int), headers(HTTPHeaderDict))
3471
+ """
3472
+
3473
+ _params = locals()
3474
+
3475
+ _all_params = [
3476
+ "owner",
3477
+ "name",
3478
+ "offset",
3479
+ "limit",
3480
+ "sort",
3481
+ "query",
3482
+ "bookmarks",
3483
+ "mode",
3484
+ "no_page",
3485
+ ]
3486
+ _all_params.extend(
3487
+ [
3488
+ "async_req",
3489
+ "_return_http_data_only",
3490
+ "_preload_content",
3491
+ "_request_timeout",
3492
+ "_request_auth",
3493
+ "_content_type",
3494
+ "_headers",
3495
+ ]
3496
+ )
3497
+
3498
+ # validate the arguments
3499
+ for _key, _val in _params["kwargs"].items():
3500
+ if _key not in _all_params:
3501
+ raise ApiTypeError(
3502
+ "Got an unexpected keyword argument '%s'"
3503
+ " to method get_organization_runs_artifacts_lineage" % _key
3504
+ )
3505
+ _params[_key] = _val
3506
+ del _params["kwargs"]
3507
+
3508
+ _collection_formats = {}
3509
+
3510
+ # process the path parameters
3511
+ _path_params = {}
3512
+ if _params["owner"]:
3513
+ _path_params["owner"] = _params["owner"]
3514
+
3515
+ # process the query parameters
3516
+ _query_params = []
3517
+ if _params.get("name") is not None: # noqa: E501
3518
+ _query_params.append(("name", _params["name"]))
3519
+
3520
+ if _params.get("offset") is not None: # noqa: E501
3521
+ _query_params.append(("offset", _params["offset"]))
3522
+
3523
+ if _params.get("limit") is not None: # noqa: E501
3524
+ _query_params.append(("limit", _params["limit"]))
3525
+
3526
+ if _params.get("sort") is not None: # noqa: E501
3527
+ _query_params.append(("sort", _params["sort"]))
3528
+
3529
+ if _params.get("query") is not None: # noqa: E501
3530
+ _query_params.append(("query", _params["query"]))
3531
+
3532
+ if _params.get("bookmarks") is not None: # noqa: E501
3533
+ _query_params.append(("bookmarks", _params["bookmarks"]))
3534
+
3535
+ if _params.get("mode") is not None: # noqa: E501
3536
+ _query_params.append(("mode", _params["mode"]))
3537
+
3538
+ if _params.get("no_page") is not None: # noqa: E501
3539
+ _query_params.append(("no_page", _params["no_page"]))
3540
+
3541
+ # process the header parameters
3542
+ _header_params = dict(_params.get("_headers", {}))
3543
+ # process the form parameters
3544
+ _form_params = []
3545
+ _files = {}
3546
+ # process the body parameter
3547
+ _body_params = None
3548
+ # set the HTTP header `Accept`
3549
+ _header_params["Accept"] = self.api_client.select_header_accept(
3550
+ ["application/json"]
3551
+ ) # noqa: E501
3552
+
3553
+ # authentication setting
3554
+ _auth_settings = ["ApiKey"] # noqa: E501
3555
+
3556
+ _response_types_map = {
3557
+ "200": "V1ListRunArtifactsResponse",
3558
+ "204": "object",
3559
+ "403": "object",
3560
+ "404": "object",
3561
+ }
3562
+
3563
+ return self.api_client.call_api(
3564
+ "/api/v1/orgs/{owner}/runs/lineage/artifacts",
3565
+ "GET",
3566
+ _path_params,
3567
+ _query_params,
3568
+ _header_params,
3569
+ body=_body_params,
3570
+ post_params=_form_params,
3571
+ files=_files,
3572
+ response_types_map=_response_types_map,
3573
+ auth_settings=_auth_settings,
3574
+ async_req=_params.get("async_req"),
3575
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
3576
+ _preload_content=_params.get("_preload_content", True),
3577
+ _request_timeout=_params.get("_request_timeout"),
3578
+ collection_formats=_collection_formats,
3579
+ _request_auth=_params.get("_request_auth"),
3580
+ )
3581
+
3582
+ @validate_call
3583
+ def get_organization_settings(
3584
+ self,
3585
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3586
+ organization_user: Annotated[
3587
+ Optional[StrictStr], Field(description="User.")
3588
+ ] = None,
3589
+ organization_user_email: Annotated[
3590
+ Optional[StrictStr], Field(description="Read-only User email.")
3591
+ ] = None,
3592
+ organization_name: Annotated[
3593
+ Optional[StrictStr], Field(description="Name.")
3594
+ ] = None,
3595
+ organization_is_public: Annotated[
3596
+ Optional[bool],
3597
+ Field(description="Optional flag to tell if this organization is public."),
3598
+ ] = None,
3599
+ organization_created_at: Annotated[
3600
+ Optional[datetime],
3601
+ Field(description="Optional time when the entity was created."),
3602
+ ] = None,
3603
+ organization_updated_at: Annotated[
3604
+ Optional[datetime],
3605
+ Field(description="Optional last time the entity was updated."),
3606
+ ] = None,
3607
+ organization_support_revoke_at: Annotated[
3608
+ Optional[datetime],
3609
+ Field(description="Optional time to revoke support access."),
3610
+ ] = None,
3611
+ organization_expiration: Annotated[
3612
+ Optional[StrictInt], Field(description="Optional expiration for support.")
3613
+ ] = None,
3614
+ organization_role: Annotated[
3615
+ Optional[StrictStr], Field(description="Current user's role in this org.")
3616
+ ] = None,
3617
+ organization_queue: Annotated[
3618
+ Optional[StrictStr], Field(description="Default queue.")
3619
+ ] = None,
3620
+ organization_default_presets: Annotated[
3621
+ Optional[List[StrictStr]], Field(description="Default presets.")
3622
+ ] = None,
3623
+ organization_default_presets_ordered: Annotated[
3624
+ Optional[List[StrictStr]], Field(description="Default presets.")
3625
+ ] = None,
3626
+ organization_is_cloud_viewable: Annotated[
3627
+ Optional[bool],
3628
+ Field(description="Setting to enable viewable metadata on cloud."),
3629
+ ] = None,
3630
+ organization_archived_deletion_interval: Annotated[
3631
+ Optional[StrictInt],
3632
+ Field(
3633
+ description="Setting to configure default archived deletion interval."
3634
+ ),
3635
+ ] = None,
3636
+ **kwargs,
3637
+ ) -> V1Organization: # noqa: E501
3638
+ """Get organization settings # noqa: E501
3639
+
3640
+ This method makes a synchronous HTTP request by default. To make an
3641
+ asynchronous HTTP request, please pass async_req=True
3642
+
3643
+ >>> thread = api.get_organization_settings(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_default_presets, organization_default_presets_ordered, organization_is_cloud_viewable, organization_archived_deletion_interval, async_req=True)
3644
+ >>> result = thread.get()
3645
+
3646
+ :param owner: Owner of the namespace (required)
3647
+ :type owner: str
3648
+ :param organization_user: User.
3649
+ :type organization_user: str
3650
+ :param organization_user_email: Read-only User email.
3651
+ :type organization_user_email: str
3652
+ :param organization_name: Name.
3653
+ :type organization_name: str
3654
+ :param organization_is_public: Optional flag to tell if this organization is public.
3655
+ :type organization_is_public: bool
3656
+ :param organization_created_at: Optional time when the entity was created.
3657
+ :type organization_created_at: datetime
3658
+ :param organization_updated_at: Optional last time the entity was updated.
3659
+ :type organization_updated_at: datetime
3660
+ :param organization_support_revoke_at: Optional time to revoke support access.
3661
+ :type organization_support_revoke_at: datetime
3662
+ :param organization_expiration: Optional expiration for support.
3663
+ :type organization_expiration: int
3664
+ :param organization_role: Current user's role in this org.
3665
+ :type organization_role: str
3666
+ :param organization_queue: Default queue.
3667
+ :type organization_queue: str
3668
+ :param organization_default_presets: Default presets.
3669
+ :type organization_default_presets: List[str]
3670
+ :param organization_default_presets_ordered: Default presets.
3671
+ :type organization_default_presets_ordered: List[str]
3672
+ :param organization_is_cloud_viewable: Setting to enable viewable metadata on cloud.
3673
+ :type organization_is_cloud_viewable: bool
3674
+ :param organization_archived_deletion_interval: Setting to configure default archived deletion interval.
3675
+ :type organization_archived_deletion_interval: int
3676
+ :param async_req: Whether to execute the request asynchronously.
3677
+ :type async_req: bool, optional
3678
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3679
+ be returned without reading/decoding response
3680
+ data. Default is True.
3681
+ :type _preload_content: bool, optional
3682
+ :param _request_timeout: timeout setting for this request. If one
3683
+ number provided, it will be total request
3684
+ timeout. It can also be a pair (tuple) of
3685
+ (connection, read) timeouts.
3686
+ :return: Returns the result object.
3687
+ If the method is called asynchronously,
3688
+ returns the request thread.
3689
+ :rtype: V1Organization
3690
+ """
3691
+ kwargs["_return_http_data_only"] = True
3692
+ return self.get_organization_settings_with_http_info(
3693
+ owner,
3694
+ organization_user,
3695
+ organization_user_email,
3696
+ organization_name,
3697
+ organization_is_public,
3698
+ organization_created_at,
3699
+ organization_updated_at,
3700
+ organization_support_revoke_at,
3701
+ organization_expiration,
3702
+ organization_role,
3703
+ organization_queue,
3704
+ organization_default_presets,
3705
+ organization_default_presets_ordered,
3706
+ organization_is_cloud_viewable,
3707
+ organization_archived_deletion_interval,
3708
+ **kwargs,
3709
+ ) # noqa: E501
3710
+
3711
+ @validate_call
3712
+ def get_organization_settings_with_http_info(
3713
+ self,
3714
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3715
+ organization_user: Annotated[
3716
+ Optional[StrictStr], Field(description="User.")
3717
+ ] = None,
3718
+ organization_user_email: Annotated[
3719
+ Optional[StrictStr], Field(description="Read-only User email.")
3720
+ ] = None,
3721
+ organization_name: Annotated[
3722
+ Optional[StrictStr], Field(description="Name.")
3723
+ ] = None,
3724
+ organization_is_public: Annotated[
3725
+ Optional[bool],
3726
+ Field(description="Optional flag to tell if this organization is public."),
3727
+ ] = None,
3728
+ organization_created_at: Annotated[
3729
+ Optional[datetime],
3730
+ Field(description="Optional time when the entity was created."),
3731
+ ] = None,
3732
+ organization_updated_at: Annotated[
3733
+ Optional[datetime],
3734
+ Field(description="Optional last time the entity was updated."),
3735
+ ] = None,
3736
+ organization_support_revoke_at: Annotated[
3737
+ Optional[datetime],
3738
+ Field(description="Optional time to revoke support access."),
3739
+ ] = None,
3740
+ organization_expiration: Annotated[
3741
+ Optional[StrictInt], Field(description="Optional expiration for support.")
3742
+ ] = None,
3743
+ organization_role: Annotated[
3744
+ Optional[StrictStr], Field(description="Current user's role in this org.")
3745
+ ] = None,
3746
+ organization_queue: Annotated[
3747
+ Optional[StrictStr], Field(description="Default queue.")
3748
+ ] = None,
3749
+ organization_default_presets: Annotated[
3750
+ Optional[List[StrictStr]], Field(description="Default presets.")
3751
+ ] = None,
3752
+ organization_default_presets_ordered: Annotated[
3753
+ Optional[List[StrictStr]], Field(description="Default presets.")
3754
+ ] = None,
3755
+ organization_is_cloud_viewable: Annotated[
3756
+ Optional[bool],
3757
+ Field(description="Setting to enable viewable metadata on cloud."),
3758
+ ] = None,
3759
+ organization_archived_deletion_interval: Annotated[
3760
+ Optional[StrictInt],
3761
+ Field(
3762
+ description="Setting to configure default archived deletion interval."
3763
+ ),
3764
+ ] = None,
3765
+ **kwargs,
3766
+ ): # noqa: E501
3767
+ """Get organization settings # noqa: E501
3768
+
3769
+ This method makes a synchronous HTTP request by default. To make an
3770
+ asynchronous HTTP request, please pass async_req=True
3771
+
3772
+ >>> thread = api.get_organization_settings_with_http_info(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_default_presets, organization_default_presets_ordered, organization_is_cloud_viewable, organization_archived_deletion_interval, async_req=True)
3773
+ >>> result = thread.get()
3774
+
3775
+ :param owner: Owner of the namespace (required)
3776
+ :type owner: str
3777
+ :param organization_user: User.
3778
+ :type organization_user: str
3779
+ :param organization_user_email: Read-only User email.
3780
+ :type organization_user_email: str
3781
+ :param organization_name: Name.
3782
+ :type organization_name: str
3783
+ :param organization_is_public: Optional flag to tell if this organization is public.
3784
+ :type organization_is_public: bool
3785
+ :param organization_created_at: Optional time when the entity was created.
3786
+ :type organization_created_at: datetime
3787
+ :param organization_updated_at: Optional last time the entity was updated.
3788
+ :type organization_updated_at: datetime
3789
+ :param organization_support_revoke_at: Optional time to revoke support access.
3790
+ :type organization_support_revoke_at: datetime
3791
+ :param organization_expiration: Optional expiration for support.
3792
+ :type organization_expiration: int
3793
+ :param organization_role: Current user's role in this org.
3794
+ :type organization_role: str
3795
+ :param organization_queue: Default queue.
3796
+ :type organization_queue: str
3797
+ :param organization_default_presets: Default presets.
3798
+ :type organization_default_presets: List[str]
3799
+ :param organization_default_presets_ordered: Default presets.
3800
+ :type organization_default_presets_ordered: List[str]
3801
+ :param organization_is_cloud_viewable: Setting to enable viewable metadata on cloud.
3802
+ :type organization_is_cloud_viewable: bool
3803
+ :param organization_archived_deletion_interval: Setting to configure default archived deletion interval.
3804
+ :type organization_archived_deletion_interval: int
3805
+ :param async_req: Whether to execute the request asynchronously.
3806
+ :type async_req: bool, optional
3807
+ :param _return_http_data_only: response data without head status code
3808
+ and headers
3809
+ :type _return_http_data_only: bool, optional
3810
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
3811
+ be returned without reading/decoding response
3812
+ data. Default is True.
3813
+ :type _preload_content: bool, optional
3814
+ :param _request_timeout: timeout setting for this request. If one
3815
+ number provided, it will be total request
3816
+ timeout. It can also be a pair (tuple) of
3817
+ (connection, read) timeouts.
3818
+ :param _request_auth: set to override the auth_settings for an a single
3819
+ request; this effectively ignores the authentication
3820
+ in the spec for a single request.
3821
+ :type _request_auth: dict, optional
3822
+ :type _content_type: string, optional: force content-type for the request
3823
+ :return: Returns the result object.
3824
+ If the method is called asynchronously,
3825
+ returns the request thread.
3826
+ :rtype: tuple(V1Organization, status_code(int), headers(HTTPHeaderDict))
3827
+ """
3828
+
3829
+ _params = locals()
3830
+
3831
+ _all_params = [
3832
+ "owner",
3833
+ "organization_user",
3834
+ "organization_user_email",
3835
+ "organization_name",
3836
+ "organization_is_public",
3837
+ "organization_created_at",
3838
+ "organization_updated_at",
3839
+ "organization_support_revoke_at",
3840
+ "organization_expiration",
3841
+ "organization_role",
3842
+ "organization_queue",
3843
+ "organization_default_presets",
3844
+ "organization_default_presets_ordered",
3845
+ "organization_is_cloud_viewable",
3846
+ "organization_archived_deletion_interval",
3847
+ ]
3848
+ _all_params.extend(
3849
+ [
3850
+ "async_req",
3851
+ "_return_http_data_only",
3852
+ "_preload_content",
3853
+ "_request_timeout",
3854
+ "_request_auth",
3855
+ "_content_type",
3856
+ "_headers",
3857
+ ]
3858
+ )
3859
+
3860
+ # validate the arguments
3861
+ for _key, _val in _params["kwargs"].items():
3862
+ if _key not in _all_params:
3863
+ raise ApiTypeError(
3864
+ "Got an unexpected keyword argument '%s'"
3865
+ " to method get_organization_settings" % _key
3866
+ )
3867
+ _params[_key] = _val
3868
+ del _params["kwargs"]
3869
+
3870
+ _collection_formats = {}
3871
+
3872
+ # process the path parameters
3873
+ _path_params = {}
3874
+ if _params["owner"]:
3875
+ _path_params["owner"] = _params["owner"]
3876
+
3877
+ # process the query parameters
3878
+ _query_params = []
3879
+ if _params.get("organization_user") is not None: # noqa: E501
3880
+ _query_params.append(("organization.user", _params["organization_user"]))
3881
+
3882
+ if _params.get("organization_user_email") is not None: # noqa: E501
3883
+ _query_params.append(
3884
+ ("organization.user_email", _params["organization_user_email"])
3885
+ )
3886
+
3887
+ if _params.get("organization_name") is not None: # noqa: E501
3888
+ _query_params.append(("organization.name", _params["organization_name"]))
3889
+
3890
+ if _params.get("organization_is_public") is not None: # noqa: E501
3891
+ _query_params.append(
3892
+ ("organization.is_public", _params["organization_is_public"])
3893
+ )
3894
+
3895
+ if _params.get("organization_created_at") is not None: # noqa: E501
3896
+ if isinstance(_params["organization_created_at"], datetime):
3897
+ _query_params.append(
3898
+ (
3899
+ "organization.created_at",
3900
+ _params["organization_created_at"].strftime(
3901
+ self.api_client.configuration.datetime_format
3902
+ ),
3903
+ )
3904
+ )
3905
+ else:
3906
+ _query_params.append(
3907
+ ("organization.created_at", _params["organization_created_at"])
3908
+ )
3909
+
3910
+ if _params.get("organization_updated_at") is not None: # noqa: E501
3911
+ if isinstance(_params["organization_updated_at"], datetime):
3912
+ _query_params.append(
3913
+ (
3914
+ "organization.updated_at",
3915
+ _params["organization_updated_at"].strftime(
3916
+ self.api_client.configuration.datetime_format
3917
+ ),
3918
+ )
3919
+ )
3920
+ else:
3921
+ _query_params.append(
3922
+ ("organization.updated_at", _params["organization_updated_at"])
3923
+ )
3924
+
3925
+ if _params.get("organization_support_revoke_at") is not None: # noqa: E501
3926
+ if isinstance(_params["organization_support_revoke_at"], datetime):
3927
+ _query_params.append(
3928
+ (
3929
+ "organization.support_revoke_at",
3930
+ _params["organization_support_revoke_at"].strftime(
3931
+ self.api_client.configuration.datetime_format
3932
+ ),
3933
+ )
3934
+ )
3935
+ else:
3936
+ _query_params.append(
3937
+ (
3938
+ "organization.support_revoke_at",
3939
+ _params["organization_support_revoke_at"],
3940
+ )
3941
+ )
3942
+
3943
+ if _params.get("organization_expiration") is not None: # noqa: E501
3944
+ _query_params.append(
3945
+ ("organization.expiration", _params["organization_expiration"])
3946
+ )
3947
+
3948
+ if _params.get("organization_role") is not None: # noqa: E501
3949
+ _query_params.append(("organization.role", _params["organization_role"]))
3950
+
3951
+ if _params.get("organization_queue") is not None: # noqa: E501
3952
+ _query_params.append(("organization.queue", _params["organization_queue"]))
3953
+
3954
+ if _params.get("organization_default_presets") is not None: # noqa: E501
3955
+ _query_params.append(
3956
+ (
3957
+ "organization.default_presets",
3958
+ _params["organization_default_presets"],
3959
+ )
3960
+ )
3961
+ _collection_formats["organization.default_presets"] = "multi"
3962
+
3963
+ if _params.get("default_presets_ordered") is not None: # noqa: E501
3964
+ _query_params.append(
3965
+ (
3966
+ "organization.default_presets_ordered",
3967
+ _params["default_presets_ordered"],
3968
+ )
3969
+ )
3970
+ _collection_formats["organization.default_presets_ordered"] = "multi"
3971
+
3972
+ if _params.get("organization_is_cloud_viewable") is not None: # noqa: E501
3973
+ _query_params.append(
3974
+ (
3975
+ "organization.is_cloud_viewable",
3976
+ _params["organization_is_cloud_viewable"],
3977
+ )
3978
+ )
3979
+
3980
+ if _params.get("organization_archived_deletion_interval") is not None: # noqa: E501
3981
+ _query_params.append(
3982
+ (
3154
3983
  "organization.archived_deletion_interval",
3155
3984
  _params["organization_archived_deletion_interval"],
3156
3985
  )
3157
- )
3986
+ )
3987
+
3988
+ # process the header parameters
3989
+ _header_params = dict(_params.get("_headers", {}))
3990
+ # process the form parameters
3991
+ _form_params = []
3992
+ _files = {}
3993
+ # process the body parameter
3994
+ _body_params = None
3995
+ # set the HTTP header `Accept`
3996
+ _header_params["Accept"] = self.api_client.select_header_accept(
3997
+ ["application/json"]
3998
+ ) # noqa: E501
3999
+
4000
+ # authentication setting
4001
+ _auth_settings = ["ApiKey"] # noqa: E501
4002
+
4003
+ _response_types_map = {
4004
+ "200": "V1Organization",
4005
+ "204": "object",
4006
+ "403": "object",
4007
+ "404": "object",
4008
+ }
4009
+
4010
+ return self.api_client.call_api(
4011
+ "/api/v1/orgs/{owner}/settings",
4012
+ "GET",
4013
+ _path_params,
4014
+ _query_params,
4015
+ _header_params,
4016
+ body=_body_params,
4017
+ post_params=_form_params,
4018
+ files=_files,
4019
+ response_types_map=_response_types_map,
4020
+ auth_settings=_auth_settings,
4021
+ async_req=_params.get("async_req"),
4022
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
4023
+ _preload_content=_params.get("_preload_content", True),
4024
+ _request_timeout=_params.get("_request_timeout"),
4025
+ collection_formats=_collection_formats,
4026
+ _request_auth=_params.get("_request_auth"),
4027
+ )
4028
+
4029
+ @validate_call
4030
+ def get_organization_stats(
4031
+ self,
4032
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4033
+ offset: Annotated[
4034
+ Optional[StrictInt], Field(description="Pagination offset.")
4035
+ ] = None,
4036
+ limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
4037
+ sort: Annotated[
4038
+ Optional[StrictStr], Field(description="Sort to order the search.")
4039
+ ] = None,
4040
+ query: Annotated[
4041
+ Optional[StrictStr], Field(description="Query filter the search.")
4042
+ ] = None,
4043
+ bookmarks: Annotated[
4044
+ Optional[bool], Field(description="Filter by bookmarks.")
4045
+ ] = None,
4046
+ mode: Annotated[Optional[StrictStr], Field(description="Stats Mode.")] = None,
4047
+ kind: Annotated[Optional[StrictStr], Field(description="Stats Kind.")] = None,
4048
+ aggregate: Annotated[
4049
+ Optional[StrictStr], Field(description="Stats aggregate.")
4050
+ ] = None,
4051
+ groupby: Annotated[
4052
+ Optional[StrictStr], Field(description="Stats group.")
4053
+ ] = None,
4054
+ trunc: Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None,
4055
+ **kwargs,
4056
+ ) -> object: # noqa: E501
4057
+ """Get organization stats # noqa: E501
4058
+
4059
+ This method makes a synchronous HTTP request by default. To make an
4060
+ asynchronous HTTP request, please pass async_req=True
4061
+
4062
+ >>> thread = api.get_organization_stats(owner, offset, limit, sort, query, bookmarks, mode, kind, aggregate, groupby, trunc, async_req=True)
4063
+ >>> result = thread.get()
4064
+
4065
+ :param owner: Owner of the namespace (required)
4066
+ :type owner: str
4067
+ :param offset: Pagination offset.
4068
+ :type offset: int
4069
+ :param limit: Limit size.
4070
+ :type limit: int
4071
+ :param sort: Sort to order the search.
4072
+ :type sort: str
4073
+ :param query: Query filter the search.
4074
+ :type query: str
4075
+ :param bookmarks: Filter by bookmarks.
4076
+ :type bookmarks: bool
4077
+ :param mode: Stats Mode.
4078
+ :type mode: str
4079
+ :param kind: Stats Kind.
4080
+ :type kind: str
4081
+ :param aggregate: Stats aggregate.
4082
+ :type aggregate: str
4083
+ :param groupby: Stats group.
4084
+ :type groupby: str
4085
+ :param trunc: Stats trunc.
4086
+ :type trunc: str
4087
+ :param async_req: Whether to execute the request asynchronously.
4088
+ :type async_req: bool, optional
4089
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
4090
+ be returned without reading/decoding response
4091
+ data. Default is True.
4092
+ :type _preload_content: bool, optional
4093
+ :param _request_timeout: timeout setting for this request. If one
4094
+ number provided, it will be total request
4095
+ timeout. It can also be a pair (tuple) of
4096
+ (connection, read) timeouts.
4097
+ :return: Returns the result object.
4098
+ If the method is called asynchronously,
4099
+ returns the request thread.
4100
+ :rtype: object
4101
+ """
4102
+ kwargs["_return_http_data_only"] = True
4103
+ return self.get_organization_stats_with_http_info(
4104
+ owner,
4105
+ offset,
4106
+ limit,
4107
+ sort,
4108
+ query,
4109
+ bookmarks,
4110
+ mode,
4111
+ kind,
4112
+ aggregate,
4113
+ groupby,
4114
+ trunc,
4115
+ **kwargs,
4116
+ ) # noqa: E501
4117
+
4118
+ @validate_call
4119
+ def get_organization_stats_with_http_info(
4120
+ self,
4121
+ owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4122
+ offset: Annotated[
4123
+ Optional[StrictInt], Field(description="Pagination offset.")
4124
+ ] = None,
4125
+ limit: Annotated[Optional[StrictInt], Field(description="Limit size.")] = None,
4126
+ sort: Annotated[
4127
+ Optional[StrictStr], Field(description="Sort to order the search.")
4128
+ ] = None,
4129
+ query: Annotated[
4130
+ Optional[StrictStr], Field(description="Query filter the search.")
4131
+ ] = None,
4132
+ bookmarks: Annotated[
4133
+ Optional[bool], Field(description="Filter by bookmarks.")
4134
+ ] = None,
4135
+ mode: Annotated[Optional[StrictStr], Field(description="Stats Mode.")] = None,
4136
+ kind: Annotated[Optional[StrictStr], Field(description="Stats Kind.")] = None,
4137
+ aggregate: Annotated[
4138
+ Optional[StrictStr], Field(description="Stats aggregate.")
4139
+ ] = None,
4140
+ groupby: Annotated[
4141
+ Optional[StrictStr], Field(description="Stats group.")
4142
+ ] = None,
4143
+ trunc: Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None,
4144
+ **kwargs,
4145
+ ): # noqa: E501
4146
+ """Get organization stats # noqa: E501
4147
+
4148
+ This method makes a synchronous HTTP request by default. To make an
4149
+ asynchronous HTTP request, please pass async_req=True
4150
+
4151
+ >>> thread = api.get_organization_stats_with_http_info(owner, offset, limit, sort, query, bookmarks, mode, kind, aggregate, groupby, trunc, async_req=True)
4152
+ >>> result = thread.get()
4153
+
4154
+ :param owner: Owner of the namespace (required)
4155
+ :type owner: str
4156
+ :param offset: Pagination offset.
4157
+ :type offset: int
4158
+ :param limit: Limit size.
4159
+ :type limit: int
4160
+ :param sort: Sort to order the search.
4161
+ :type sort: str
4162
+ :param query: Query filter the search.
4163
+ :type query: str
4164
+ :param bookmarks: Filter by bookmarks.
4165
+ :type bookmarks: bool
4166
+ :param mode: Stats Mode.
4167
+ :type mode: str
4168
+ :param kind: Stats Kind.
4169
+ :type kind: str
4170
+ :param aggregate: Stats aggregate.
4171
+ :type aggregate: str
4172
+ :param groupby: Stats group.
4173
+ :type groupby: str
4174
+ :param trunc: Stats trunc.
4175
+ :type trunc: str
4176
+ :param async_req: Whether to execute the request asynchronously.
4177
+ :type async_req: bool, optional
4178
+ :param _return_http_data_only: response data without head status code
4179
+ and headers
4180
+ :type _return_http_data_only: bool, optional
4181
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
4182
+ be returned without reading/decoding response
4183
+ data. Default is True.
4184
+ :type _preload_content: bool, optional
4185
+ :param _request_timeout: timeout setting for this request. If one
4186
+ number provided, it will be total request
4187
+ timeout. It can also be a pair (tuple) of
4188
+ (connection, read) timeouts.
4189
+ :param _request_auth: set to override the auth_settings for an a single
4190
+ request; this effectively ignores the authentication
4191
+ in the spec for a single request.
4192
+ :type _request_auth: dict, optional
4193
+ :type _content_type: string, optional: force content-type for the request
4194
+ :return: Returns the result object.
4195
+ If the method is called asynchronously,
4196
+ returns the request thread.
4197
+ :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
4198
+ """
4199
+
4200
+ _params = locals()
4201
+
4202
+ _all_params = [
4203
+ "owner",
4204
+ "offset",
4205
+ "limit",
4206
+ "sort",
4207
+ "query",
4208
+ "bookmarks",
4209
+ "mode",
4210
+ "kind",
4211
+ "aggregate",
4212
+ "groupby",
4213
+ "trunc",
4214
+ ]
4215
+ _all_params.extend(
4216
+ [
4217
+ "async_req",
4218
+ "_return_http_data_only",
4219
+ "_preload_content",
4220
+ "_request_timeout",
4221
+ "_request_auth",
4222
+ "_content_type",
4223
+ "_headers",
4224
+ ]
4225
+ )
4226
+
4227
+ # validate the arguments
4228
+ for _key, _val in _params["kwargs"].items():
4229
+ if _key not in _all_params:
4230
+ raise ApiTypeError(
4231
+ "Got an unexpected keyword argument '%s'"
4232
+ " to method get_organization_stats" % _key
4233
+ )
4234
+ _params[_key] = _val
4235
+ del _params["kwargs"]
4236
+
4237
+ _collection_formats = {}
4238
+
4239
+ # process the path parameters
4240
+ _path_params = {}
4241
+ if _params["owner"]:
4242
+ _path_params["owner"] = _params["owner"]
4243
+
4244
+ # process the query parameters
4245
+ _query_params = []
4246
+ if _params.get("offset") is not None: # noqa: E501
4247
+ _query_params.append(("offset", _params["offset"]))
4248
+
4249
+ if _params.get("limit") is not None: # noqa: E501
4250
+ _query_params.append(("limit", _params["limit"]))
4251
+
4252
+ if _params.get("sort") is not None: # noqa: E501
4253
+ _query_params.append(("sort", _params["sort"]))
4254
+
4255
+ if _params.get("query") is not None: # noqa: E501
4256
+ _query_params.append(("query", _params["query"]))
4257
+
4258
+ if _params.get("bookmarks") is not None: # noqa: E501
4259
+ _query_params.append(("bookmarks", _params["bookmarks"]))
4260
+
4261
+ if _params.get("mode") is not None: # noqa: E501
4262
+ _query_params.append(("mode", _params["mode"]))
4263
+
4264
+ if _params.get("kind") is not None: # noqa: E501
4265
+ _query_params.append(("kind", _params["kind"]))
4266
+
4267
+ if _params.get("aggregate") is not None: # noqa: E501
4268
+ _query_params.append(("aggregate", _params["aggregate"]))
4269
+
4270
+ if _params.get("groupby") is not None: # noqa: E501
4271
+ _query_params.append(("groupby", _params["groupby"]))
4272
+
4273
+ if _params.get("trunc") is not None: # noqa: E501
4274
+ _query_params.append(("trunc", _params["trunc"]))
3158
4275
 
3159
4276
  # process the header parameters
3160
4277
  _header_params = dict(_params.get("_headers", {}))
3161
-
3162
4278
  # process the form parameters
3163
4279
  _form_params = []
3164
4280
  _files = {}
3165
-
3166
4281
  # process the body parameter
3167
4282
  _body_params = None
3168
-
3169
4283
  # set the HTTP header `Accept`
3170
4284
  _header_params["Accept"] = self.api_client.select_header_accept(
3171
4285
  ["application/json"]
@@ -3175,14 +4289,14 @@ class OrganizationsV1Api(BaseApi):
3175
4289
  _auth_settings = ["ApiKey"] # noqa: E501
3176
4290
 
3177
4291
  _response_types_map = {
3178
- "200": "V1Organization",
4292
+ "200": "object",
3179
4293
  "204": "object",
3180
4294
  "403": "object",
3181
4295
  "404": "object",
3182
4296
  }
3183
4297
 
3184
4298
  return self.api_client.call_api(
3185
- "/api/v1/orgs/{owner}/settings",
4299
+ "/api/v1/orgs/{owner}/stats",
3186
4300
  "GET",
3187
4301
  _path_params,
3188
4302
  _query_params,
@@ -3201,9 +4315,10 @@ class OrganizationsV1Api(BaseApi):
3201
4315
  )
3202
4316
 
3203
4317
  @validate_call
3204
- def get_organization_stats(
4318
+ def get_organization_versions(
3205
4319
  self,
3206
4320
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4321
+ kind: Annotated[StrictStr, Field(..., description="Version Kind")],
3207
4322
  offset: Annotated[
3208
4323
  Optional[StrictInt], Field(description="Pagination offset.")
3209
4324
  ] = None,
@@ -3214,30 +4329,21 @@ class OrganizationsV1Api(BaseApi):
3214
4329
  query: Annotated[
3215
4330
  Optional[StrictStr], Field(description="Query filter the search.")
3216
4331
  ] = None,
3217
- bookmarks: Annotated[
3218
- Optional[bool], Field(description="Filter by bookmarks.")
3219
- ] = None,
3220
- mode: Annotated[Optional[StrictStr], Field(description="Stats Mode.")] = None,
3221
- kind: Annotated[Optional[StrictStr], Field(description="Stats Kind.")] = None,
3222
- aggregate: Annotated[
3223
- Optional[StrictStr], Field(description="Stats aggregate.")
3224
- ] = None,
3225
- groupby: Annotated[
3226
- Optional[StrictStr], Field(description="Stats group.")
3227
- ] = None,
3228
- trunc: Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None,
3229
- **kwargs
3230
- ) -> object: # noqa: E501
3231
- """Get organization stats # noqa: E501
4332
+ no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
4333
+ **kwargs,
4334
+ ) -> V1ListProjectVersionsResponse: # noqa: E501
4335
+ """Get all runs in an organization # noqa: E501
3232
4336
 
3233
4337
  This method makes a synchronous HTTP request by default. To make an
3234
4338
  asynchronous HTTP request, please pass async_req=True
3235
4339
 
3236
- >>> thread = api.get_organization_stats(owner, offset, limit, sort, query, bookmarks, mode, kind, aggregate, groupby, trunc, async_req=True)
4340
+ >>> thread = api.get_organization_versions(owner, kind, offset, limit, sort, query, no_page, async_req=True)
3237
4341
  >>> result = thread.get()
3238
4342
 
3239
4343
  :param owner: Owner of the namespace (required)
3240
4344
  :type owner: str
4345
+ :param kind: Version Kind (required)
4346
+ :type kind: str
3241
4347
  :param offset: Pagination offset.
3242
4348
  :type offset: int
3243
4349
  :param limit: Limit size.
@@ -3246,18 +4352,8 @@ class OrganizationsV1Api(BaseApi):
3246
4352
  :type sort: str
3247
4353
  :param query: Query filter the search.
3248
4354
  :type query: str
3249
- :param bookmarks: Filter by bookmarks.
3250
- :type bookmarks: bool
3251
- :param mode: Stats Mode.
3252
- :type mode: str
3253
- :param kind: Stats Kind.
3254
- :type kind: str
3255
- :param aggregate: Stats aggregate.
3256
- :type aggregate: str
3257
- :param groupby: Stats group.
3258
- :type groupby: str
3259
- :param trunc: Stats trunc.
3260
- :type trunc: str
4355
+ :param no_page: No pagination.
4356
+ :type no_page: bool
3261
4357
  :param async_req: Whether to execute the request asynchronously.
3262
4358
  :type async_req: bool, optional
3263
4359
  :param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -3271,28 +4367,18 @@ class OrganizationsV1Api(BaseApi):
3271
4367
  :return: Returns the result object.
3272
4368
  If the method is called asynchronously,
3273
4369
  returns the request thread.
3274
- :rtype: object
4370
+ :rtype: V1ListProjectVersionsResponse
3275
4371
  """
3276
4372
  kwargs["_return_http_data_only"] = True
3277
- return self.get_organization_stats_with_http_info(
3278
- owner,
3279
- offset,
3280
- limit,
3281
- sort,
3282
- query,
3283
- bookmarks,
3284
- mode,
3285
- kind,
3286
- aggregate,
3287
- groupby,
3288
- trunc,
3289
- **kwargs
4373
+ return self.get_organization_versions_with_http_info(
4374
+ owner, kind, offset, limit, sort, query, no_page, **kwargs
3290
4375
  ) # noqa: E501
3291
4376
 
3292
4377
  @validate_call
3293
- def get_organization_stats_with_http_info(
4378
+ def get_organization_versions_with_http_info(
3294
4379
  self,
3295
4380
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4381
+ kind: Annotated[StrictStr, Field(..., description="Version Kind")],
3296
4382
  offset: Annotated[
3297
4383
  Optional[StrictInt], Field(description="Pagination offset.")
3298
4384
  ] = None,
@@ -3303,30 +4389,21 @@ class OrganizationsV1Api(BaseApi):
3303
4389
  query: Annotated[
3304
4390
  Optional[StrictStr], Field(description="Query filter the search.")
3305
4391
  ] = None,
3306
- bookmarks: Annotated[
3307
- Optional[bool], Field(description="Filter by bookmarks.")
3308
- ] = None,
3309
- mode: Annotated[Optional[StrictStr], Field(description="Stats Mode.")] = None,
3310
- kind: Annotated[Optional[str], Field(description="Stats Kind.")] = None,
3311
- aggregate: Annotated[
3312
- Optional[StrictStr], Field(description="Stats aggregate.")
3313
- ] = None,
3314
- groupby: Annotated[
3315
- Optional[StrictStr], Field(description="Stats group.")
3316
- ] = None,
3317
- trunc: Annotated[Optional[StrictStr], Field(description="Stats trunc.")] = None,
3318
- **kwargs
4392
+ no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
4393
+ **kwargs,
3319
4394
  ): # noqa: E501
3320
- """Get organization stats # noqa: E501
4395
+ """Get all runs in an organization # noqa: E501
3321
4396
 
3322
4397
  This method makes a synchronous HTTP request by default. To make an
3323
4398
  asynchronous HTTP request, please pass async_req=True
3324
4399
 
3325
- >>> thread = api.get_organization_stats_with_http_info(owner, offset, limit, sort, query, bookmarks, mode, kind, aggregate, groupby, trunc, async_req=True)
4400
+ >>> thread = api.get_organization_versions_with_http_info(owner, kind, offset, limit, sort, query, no_page, async_req=True)
3326
4401
  >>> result = thread.get()
3327
4402
 
3328
4403
  :param owner: Owner of the namespace (required)
3329
4404
  :type owner: str
4405
+ :param kind: Version Kind (required)
4406
+ :type kind: str
3330
4407
  :param offset: Pagination offset.
3331
4408
  :type offset: int
3332
4409
  :param limit: Limit size.
@@ -3335,18 +4412,8 @@ class OrganizationsV1Api(BaseApi):
3335
4412
  :type sort: str
3336
4413
  :param query: Query filter the search.
3337
4414
  :type query: str
3338
- :param bookmarks: Filter by bookmarks.
3339
- :type bookmarks: bool
3340
- :param mode: Stats Mode.
3341
- :type mode: str
3342
- :param kind: Stats Kind.
3343
- :type kind: str
3344
- :param aggregate: Stats aggregate.
3345
- :type aggregate: str
3346
- :param groupby: Stats group.
3347
- :type groupby: str
3348
- :param trunc: Stats trunc.
3349
- :type trunc: str
4415
+ :param no_page: No pagination.
4416
+ :type no_page: bool
3350
4417
  :param async_req: Whether to execute the request asynchronously.
3351
4418
  :type async_req: bool, optional
3352
4419
  :param _return_http_data_only: response data without head status code
@@ -3368,24 +4435,12 @@ class OrganizationsV1Api(BaseApi):
3368
4435
  :return: Returns the result object.
3369
4436
  If the method is called asynchronously,
3370
4437
  returns the request thread.
3371
- :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
4438
+ :rtype: tuple(V1ListProjectVersionsResponse, status_code(int), headers(HTTPHeaderDict))
3372
4439
  """
3373
4440
 
3374
4441
  _params = locals()
3375
4442
 
3376
- _all_params = [
3377
- "owner",
3378
- "offset",
3379
- "limit",
3380
- "sort",
3381
- "query",
3382
- "bookmarks",
3383
- "mode",
3384
- "kind",
3385
- "aggregate",
3386
- "groupby",
3387
- "trunc",
3388
- ]
4443
+ _all_params = ["owner", "kind", "offset", "limit", "sort", "query", "no_page"]
3389
4444
  _all_params.extend(
3390
4445
  [
3391
4446
  "async_req",
@@ -3403,7 +4458,7 @@ class OrganizationsV1Api(BaseApi):
3403
4458
  if _key not in _all_params:
3404
4459
  raise ApiTypeError(
3405
4460
  "Got an unexpected keyword argument '%s'"
3406
- " to method get_organization_stats" % _key
4461
+ " to method get_organization_versions" % _key
3407
4462
  )
3408
4463
  _params[_key] = _val
3409
4464
  del _params["kwargs"]
@@ -3415,39 +4470,33 @@ class OrganizationsV1Api(BaseApi):
3415
4470
  if _params["owner"]:
3416
4471
  _path_params["owner"] = _params["owner"]
3417
4472
 
4473
+ if _params["kind"]:
4474
+ _path_params["kind"] = _params["kind"]
4475
+
3418
4476
  # process the query parameters
3419
4477
  _query_params = []
3420
4478
  if _params.get("offset") is not None: # noqa: E501
3421
4479
  _query_params.append(("offset", _params["offset"]))
4480
+
3422
4481
  if _params.get("limit") is not None: # noqa: E501
3423
4482
  _query_params.append(("limit", _params["limit"]))
4483
+
3424
4484
  if _params.get("sort") is not None: # noqa: E501
3425
4485
  _query_params.append(("sort", _params["sort"]))
4486
+
3426
4487
  if _params.get("query") is not None: # noqa: E501
3427
4488
  _query_params.append(("query", _params["query"]))
3428
- if _params.get("bookmarks") is not None: # noqa: E501
3429
- _query_params.append(("bookmarks", _params["bookmarks"]))
3430
- if _params.get("mode") is not None: # noqa: E501
3431
- _query_params.append(("mode", _params["mode"]))
3432
- if _params.get("kind") is not None: # noqa: E501
3433
- _query_params.append(("kind", _params["kind"]))
3434
- if _params.get("aggregate") is not None: # noqa: E501
3435
- _query_params.append(("aggregate", _params["aggregate"]))
3436
- if _params.get("groupby") is not None: # noqa: E501
3437
- _query_params.append(("groupby", _params["groupby"]))
3438
- if _params.get("trunc") is not None: # noqa: E501
3439
- _query_params.append(("trunc", _params["trunc"]))
4489
+
4490
+ if _params.get("no_page") is not None: # noqa: E501
4491
+ _query_params.append(("no_page", _params["no_page"]))
3440
4492
 
3441
4493
  # process the header parameters
3442
4494
  _header_params = dict(_params.get("_headers", {}))
3443
-
3444
4495
  # process the form parameters
3445
4496
  _form_params = []
3446
4497
  _files = {}
3447
-
3448
4498
  # process the body parameter
3449
4499
  _body_params = None
3450
-
3451
4500
  # set the HTTP header `Accept`
3452
4501
  _header_params["Accept"] = self.api_client.select_header_accept(
3453
4502
  ["application/json"]
@@ -3457,14 +4506,14 @@ class OrganizationsV1Api(BaseApi):
3457
4506
  _auth_settings = ["ApiKey"] # noqa: E501
3458
4507
 
3459
4508
  _response_types_map = {
3460
- "200": "object",
4509
+ "200": "V1ListProjectVersionsResponse",
3461
4510
  "204": "object",
3462
4511
  "403": "object",
3463
4512
  "404": "object",
3464
4513
  }
3465
4514
 
3466
4515
  return self.api_client.call_api(
3467
- "/api/v1/orgs/{owner}/stats",
4516
+ "/api/v1/orgs/{owner}/versions/{kind}",
3468
4517
  "GET",
3469
4518
  _path_params,
3470
4519
  _query_params,
@@ -3487,7 +4536,7 @@ class OrganizationsV1Api(BaseApi):
3487
4536
  self,
3488
4537
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3489
4538
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
3490
- **kwargs
4539
+ **kwargs,
3491
4540
  ) -> None: # noqa: E501
3492
4541
  """Invalidate cross-project runs selection # noqa: E501
3493
4542
 
@@ -3517,16 +4566,14 @@ class OrganizationsV1Api(BaseApi):
3517
4566
  :rtype: None
3518
4567
  """
3519
4568
  kwargs["_return_http_data_only"] = True
3520
- return self.invalidate_organization_runs_with_http_info(
3521
- owner, body, **kwargs
3522
- ) # noqa: E501
4569
+ return self.invalidate_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
3523
4570
 
3524
4571
  @validate_call
3525
4572
  def invalidate_organization_runs_with_http_info(
3526
4573
  self,
3527
4574
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
3528
4575
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
3529
- **kwargs
4576
+ **kwargs,
3530
4577
  ): # noqa: E501
3531
4578
  """Invalidate cross-project runs selection # noqa: E501
3532
4579
 
@@ -3598,14 +4645,11 @@ class OrganizationsV1Api(BaseApi):
3598
4645
 
3599
4646
  # process the query parameters
3600
4647
  _query_params = []
3601
-
3602
4648
  # process the header parameters
3603
4649
  _header_params = dict(_params.get("_headers", {}))
3604
-
3605
4650
  # process the form parameters
3606
4651
  _form_params = []
3607
4652
  _files = {}
3608
-
3609
4653
  # process the body parameter
3610
4654
  _body_params = None
3611
4655
  if _params["body"]:
@@ -3669,7 +4713,7 @@ class OrganizationsV1Api(BaseApi):
3669
4713
  Optional[StrictStr], Field(description="Mode of the search.")
3670
4714
  ] = None,
3671
4715
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3672
- **kwargs
4716
+ **kwargs,
3673
4717
  ) -> V1ListOrganizationMembersResponse: # noqa: E501
3674
4718
  """Get organization member names # noqa: E501
3675
4719
 
@@ -3736,7 +4780,7 @@ class OrganizationsV1Api(BaseApi):
3736
4780
  Optional[StrictStr], Field(description="Mode of the search.")
3737
4781
  ] = None,
3738
4782
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3739
- **kwargs
4783
+ **kwargs,
3740
4784
  ): # noqa: E501
3741
4785
  """Get organization member names # noqa: E501
3742
4786
 
@@ -3831,29 +4875,32 @@ class OrganizationsV1Api(BaseApi):
3831
4875
  _query_params = []
3832
4876
  if _params.get("offset") is not None: # noqa: E501
3833
4877
  _query_params.append(("offset", _params["offset"]))
4878
+
3834
4879
  if _params.get("limit") is not None: # noqa: E501
3835
4880
  _query_params.append(("limit", _params["limit"]))
4881
+
3836
4882
  if _params.get("sort") is not None: # noqa: E501
3837
4883
  _query_params.append(("sort", _params["sort"]))
4884
+
3838
4885
  if _params.get("query") is not None: # noqa: E501
3839
4886
  _query_params.append(("query", _params["query"]))
4887
+
3840
4888
  if _params.get("bookmarks") is not None: # noqa: E501
3841
4889
  _query_params.append(("bookmarks", _params["bookmarks"]))
4890
+
3842
4891
  if _params.get("mode") is not None: # noqa: E501
3843
4892
  _query_params.append(("mode", _params["mode"]))
4893
+
3844
4894
  if _params.get("no_page") is not None: # noqa: E501
3845
4895
  _query_params.append(("no_page", _params["no_page"]))
3846
4896
 
3847
4897
  # process the header parameters
3848
4898
  _header_params = dict(_params.get("_headers", {}))
3849
-
3850
4899
  # process the form parameters
3851
4900
  _form_params = []
3852
4901
  _files = {}
3853
-
3854
4902
  # process the body parameter
3855
4903
  _body_params = None
3856
-
3857
4904
  # set the HTTP header `Accept`
3858
4905
  _header_params["Accept"] = self.api_client.select_header_accept(
3859
4906
  ["application/json"]
@@ -3909,7 +4956,7 @@ class OrganizationsV1Api(BaseApi):
3909
4956
  Optional[StrictStr], Field(description="Mode of the search.")
3910
4957
  ] = None,
3911
4958
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3912
- **kwargs
4959
+ **kwargs,
3913
4960
  ) -> V1ListOrganizationMembersResponse: # noqa: E501
3914
4961
  """Get organization members # noqa: E501
3915
4962
 
@@ -3976,7 +5023,7 @@ class OrganizationsV1Api(BaseApi):
3976
5023
  Optional[StrictStr], Field(description="Mode of the search.")
3977
5024
  ] = None,
3978
5025
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
3979
- **kwargs
5026
+ **kwargs,
3980
5027
  ): # noqa: E501
3981
5028
  """Get organization members # noqa: E501
3982
5029
 
@@ -4071,29 +5118,32 @@ class OrganizationsV1Api(BaseApi):
4071
5118
  _query_params = []
4072
5119
  if _params.get("offset") is not None: # noqa: E501
4073
5120
  _query_params.append(("offset", _params["offset"]))
5121
+
4074
5122
  if _params.get("limit") is not None: # noqa: E501
4075
5123
  _query_params.append(("limit", _params["limit"]))
5124
+
4076
5125
  if _params.get("sort") is not None: # noqa: E501
4077
5126
  _query_params.append(("sort", _params["sort"]))
5127
+
4078
5128
  if _params.get("query") is not None: # noqa: E501
4079
5129
  _query_params.append(("query", _params["query"]))
5130
+
4080
5131
  if _params.get("bookmarks") is not None: # noqa: E501
4081
5132
  _query_params.append(("bookmarks", _params["bookmarks"]))
5133
+
4082
5134
  if _params.get("mode") is not None: # noqa: E501
4083
5135
  _query_params.append(("mode", _params["mode"]))
5136
+
4084
5137
  if _params.get("no_page") is not None: # noqa: E501
4085
5138
  _query_params.append(("no_page", _params["no_page"]))
4086
5139
 
4087
5140
  # process the header parameters
4088
5141
  _header_params = dict(_params.get("_headers", {}))
4089
-
4090
5142
  # process the form parameters
4091
5143
  _form_params = []
4092
5144
  _files = {}
4093
-
4094
5145
  # process the body parameter
4095
5146
  _body_params = None
4096
-
4097
5147
  # set the HTTP header `Accept`
4098
5148
  _header_params["Accept"] = self.api_client.select_header_accept(
4099
5149
  ["application/json"]
@@ -4129,9 +5179,7 @@ class OrganizationsV1Api(BaseApi):
4129
5179
  )
4130
5180
 
4131
5181
  @validate_call
4132
- def list_organization_names(
4133
- self, **kwargs
4134
- ) -> V1ListOrganizationsResponse: # noqa: E501
5182
+ def list_organization_names(self, **kwargs) -> V1ListOrganizationsResponse: # noqa: E501
4135
5183
  """List organizations names # noqa: E501
4136
5184
 
4137
5185
  This method makes a synchronous HTTP request by default. To make an
@@ -4224,17 +5272,13 @@ class OrganizationsV1Api(BaseApi):
4224
5272
 
4225
5273
  # process the query parameters
4226
5274
  _query_params = []
4227
-
4228
5275
  # process the header parameters
4229
5276
  _header_params = dict(_params.get("_headers", {}))
4230
-
4231
5277
  # process the form parameters
4232
5278
  _form_params = []
4233
5279
  _files = {}
4234
-
4235
5280
  # process the body parameter
4236
5281
  _body_params = None
4237
-
4238
5282
  # set the HTTP header `Accept`
4239
5283
  _header_params["Accept"] = self.api_client.select_header_accept(
4240
5284
  ["application/json"]
@@ -4363,17 +5407,13 @@ class OrganizationsV1Api(BaseApi):
4363
5407
 
4364
5408
  # process the query parameters
4365
5409
  _query_params = []
4366
-
4367
5410
  # process the header parameters
4368
5411
  _header_params = dict(_params.get("_headers", {}))
4369
-
4370
5412
  # process the form parameters
4371
5413
  _form_params = []
4372
5414
  _files = {}
4373
-
4374
5415
  # process the body parameter
4375
5416
  _body_params = None
4376
-
4377
5417
  # set the HTTP header `Accept`
4378
5418
  _header_params["Accept"] = self.api_client.select_header_accept(
4379
5419
  ["application/json"]
@@ -4409,18 +5449,18 @@ class OrganizationsV1Api(BaseApi):
4409
5449
  )
4410
5450
 
4411
5451
  @validate_call
4412
- def organization_plan(
5452
+ def organization_license(
4413
5453
  self,
4414
5454
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4415
5455
  body: Annotated[V1Organization, Field(..., description="Organization body")],
4416
- **kwargs
5456
+ **kwargs,
4417
5457
  ) -> V1Organization: # noqa: E501
4418
- """Organization plan # noqa: E501
5458
+ """Organization license # noqa: E501
4419
5459
 
4420
5460
  This method makes a synchronous HTTP request by default. To make an
4421
5461
  asynchronous HTTP request, please pass async_req=True
4422
5462
 
4423
- >>> thread = api.organization_plan(owner, body, async_req=True)
5463
+ >>> thread = api.organization_license(owner, body, async_req=True)
4424
5464
  >>> result = thread.get()
4425
5465
 
4426
5466
  :param owner: Owner of the namespace (required)
@@ -4443,23 +5483,21 @@ class OrganizationsV1Api(BaseApi):
4443
5483
  :rtype: V1Organization
4444
5484
  """
4445
5485
  kwargs["_return_http_data_only"] = True
4446
- return self.organization_plan_with_http_info(
4447
- owner, body, **kwargs
4448
- ) # noqa: E501
5486
+ return self.organization_license_with_http_info(owner, body, **kwargs) # noqa: E501
4449
5487
 
4450
5488
  @validate_call
4451
- def organization_plan_with_http_info(
5489
+ def organization_license_with_http_info(
4452
5490
  self,
4453
5491
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4454
5492
  body: Annotated[V1Organization, Field(..., description="Organization body")],
4455
- **kwargs
5493
+ **kwargs,
4456
5494
  ): # noqa: E501
4457
- """Organization plan # noqa: E501
5495
+ """Organization license # noqa: E501
4458
5496
 
4459
5497
  This method makes a synchronous HTTP request by default. To make an
4460
5498
  asynchronous HTTP request, please pass async_req=True
4461
5499
 
4462
- >>> thread = api.organization_plan_with_http_info(owner, body, async_req=True)
5500
+ >>> thread = api.organization_license_with_http_info(owner, body, async_req=True)
4463
5501
  >>> result = thread.get()
4464
5502
 
4465
5503
  :param owner: Owner of the namespace (required)
@@ -4510,7 +5548,7 @@ class OrganizationsV1Api(BaseApi):
4510
5548
  if _key not in _all_params:
4511
5549
  raise ApiTypeError(
4512
5550
  "Got an unexpected keyword argument '%s'"
4513
- " to method organization_plan" % _key
5551
+ " to method organization_license" % _key
4514
5552
  )
4515
5553
  _params[_key] = _val
4516
5554
  del _params["kwargs"]
@@ -4524,14 +5562,11 @@ class OrganizationsV1Api(BaseApi):
4524
5562
 
4525
5563
  # process the query parameters
4526
5564
  _query_params = []
4527
-
4528
5565
  # process the header parameters
4529
5566
  _header_params = dict(_params.get("_headers", {}))
4530
-
4531
5567
  # process the form parameters
4532
5568
  _form_params = []
4533
5569
  _files = {}
4534
-
4535
5570
  # process the body parameter
4536
5571
  _body_params = None
4537
5572
  if _params["body"]:
@@ -4561,7 +5596,7 @@ class OrganizationsV1Api(BaseApi):
4561
5596
  }
4562
5597
 
4563
5598
  return self.api_client.call_api(
4564
- "/api/v1/orgs/{owner}/plan",
5599
+ "/api/v1/orgs/{owner}/license",
4565
5600
  "POST",
4566
5601
  _path_params,
4567
5602
  _query_params,
@@ -4580,18 +5615,18 @@ class OrganizationsV1Api(BaseApi):
4580
5615
  )
4581
5616
 
4582
5617
  @validate_call
4583
- def organization_license(
5618
+ def organization_plan(
4584
5619
  self,
4585
5620
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4586
5621
  body: Annotated[V1Organization, Field(..., description="Organization body")],
4587
- **kwargs
5622
+ **kwargs,
4588
5623
  ) -> V1Organization: # noqa: E501
4589
- """Organization license # noqa: E501
5624
+ """Organization plan # noqa: E501
4590
5625
 
4591
5626
  This method makes a synchronous HTTP request by default. To make an
4592
5627
  asynchronous HTTP request, please pass async_req=True
4593
5628
 
4594
- >>> thread = api.organization_license(owner, body, async_req=True)
5629
+ >>> thread = api.organization_plan(owner, body, async_req=True)
4595
5630
  >>> result = thread.get()
4596
5631
 
4597
5632
  :param owner: Owner of the namespace (required)
@@ -4614,23 +5649,21 @@ class OrganizationsV1Api(BaseApi):
4614
5649
  :rtype: V1Organization
4615
5650
  """
4616
5651
  kwargs["_return_http_data_only"] = True
4617
- return self.organization_license_with_http_info(
4618
- owner, body, **kwargs
4619
- ) # noqa: E501
5652
+ return self.organization_plan_with_http_info(owner, body, **kwargs) # noqa: E501
4620
5653
 
4621
5654
  @validate_call
4622
- def organization_license_with_http_info(
5655
+ def organization_plan_with_http_info(
4623
5656
  self,
4624
5657
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4625
5658
  body: Annotated[V1Organization, Field(..., description="Organization body")],
4626
- **kwargs
5659
+ **kwargs,
4627
5660
  ): # noqa: E501
4628
- """Organization license # noqa: E501
5661
+ """Organization plan # noqa: E501
4629
5662
 
4630
5663
  This method makes a synchronous HTTP request by default. To make an
4631
5664
  asynchronous HTTP request, please pass async_req=True
4632
5665
 
4633
- >>> thread = api.organization_license_with_http_info(owner, body, async_req=True)
5666
+ >>> thread = api.organization_plan_with_http_info(owner, body, async_req=True)
4634
5667
  >>> result = thread.get()
4635
5668
 
4636
5669
  :param owner: Owner of the namespace (required)
@@ -4681,7 +5714,7 @@ class OrganizationsV1Api(BaseApi):
4681
5714
  if _key not in _all_params:
4682
5715
  raise ApiTypeError(
4683
5716
  "Got an unexpected keyword argument '%s'"
4684
- " to method organization_license" % _key
5717
+ " to method organization_plan" % _key
4685
5718
  )
4686
5719
  _params[_key] = _val
4687
5720
  del _params["kwargs"]
@@ -4695,14 +5728,11 @@ class OrganizationsV1Api(BaseApi):
4695
5728
 
4696
5729
  # process the query parameters
4697
5730
  _query_params = []
4698
-
4699
5731
  # process the header parameters
4700
5732
  _header_params = dict(_params.get("_headers", {}))
4701
-
4702
5733
  # process the form parameters
4703
5734
  _form_params = []
4704
5735
  _files = {}
4705
-
4706
5736
  # process the body parameter
4707
5737
  _body_params = None
4708
5738
  if _params["body"]:
@@ -4732,7 +5762,7 @@ class OrganizationsV1Api(BaseApi):
4732
5762
  }
4733
5763
 
4734
5764
  return self.api_client.call_api(
4735
- "/api/v1/orgs/{owner}/license",
5765
+ "/api/v1/orgs/{owner}/plan",
4736
5766
  "POST",
4737
5767
  _path_params,
4738
5768
  _query_params,
@@ -4755,7 +5785,7 @@ class OrganizationsV1Api(BaseApi):
4755
5785
  self,
4756
5786
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4757
5787
  body: Annotated[V1Organization, Field(..., description="Organization body")],
4758
- **kwargs
5788
+ **kwargs,
4759
5789
  ) -> V1Organization: # noqa: E501
4760
5790
  """Patch organization # noqa: E501
4761
5791
 
@@ -4785,16 +5815,14 @@ class OrganizationsV1Api(BaseApi):
4785
5815
  :rtype: V1Organization
4786
5816
  """
4787
5817
  kwargs["_return_http_data_only"] = True
4788
- return self.patch_organization_with_http_info(
4789
- owner, body, **kwargs
4790
- ) # noqa: E501
5818
+ return self.patch_organization_with_http_info(owner, body, **kwargs) # noqa: E501
4791
5819
 
4792
5820
  @validate_call
4793
5821
  def patch_organization_with_http_info(
4794
5822
  self,
4795
5823
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
4796
5824
  body: Annotated[V1Organization, Field(..., description="Organization body")],
4797
- **kwargs
5825
+ **kwargs,
4798
5826
  ): # noqa: E501
4799
5827
  """Patch organization # noqa: E501
4800
5828
 
@@ -4866,14 +5894,11 @@ class OrganizationsV1Api(BaseApi):
4866
5894
 
4867
5895
  # process the query parameters
4868
5896
  _query_params = []
4869
-
4870
5897
  # process the header parameters
4871
5898
  _header_params = dict(_params.get("_headers", {}))
4872
-
4873
5899
  # process the form parameters
4874
5900
  _form_params = []
4875
5901
  _files = {}
4876
-
4877
5902
  # process the body parameter
4878
5903
  _body_params = None
4879
5904
  if _params["body"]:
@@ -4931,7 +5956,7 @@ class OrganizationsV1Api(BaseApi):
4931
5956
  email: Annotated[
4932
5957
  Optional[StrictStr], Field(description="Optional email.")
4933
5958
  ] = None,
4934
- **kwargs
5959
+ **kwargs,
4935
5960
  ) -> V1OrganizationMember: # noqa: E501
4936
5961
  """Patch organization invitation # noqa: E501
4937
5962
 
@@ -4977,7 +6002,7 @@ class OrganizationsV1Api(BaseApi):
4977
6002
  email: Annotated[
4978
6003
  Optional[StrictStr], Field(description="Optional email.")
4979
6004
  ] = None,
4980
- **kwargs
6005
+ **kwargs,
4981
6006
  ): # noqa: E501
4982
6007
  """Patch organization invitation # noqa: E501
4983
6008
 
@@ -5056,11 +6081,9 @@ class OrganizationsV1Api(BaseApi):
5056
6081
 
5057
6082
  # process the header parameters
5058
6083
  _header_params = dict(_params.get("_headers", {}))
5059
-
5060
6084
  # process the form parameters
5061
6085
  _form_params = []
5062
6086
  _files = {}
5063
-
5064
6087
  # process the body parameter
5065
6088
  _body_params = None
5066
6089
  if _params["body"]:
@@ -5119,7 +6142,7 @@ class OrganizationsV1Api(BaseApi):
5119
6142
  email: Annotated[
5120
6143
  Optional[StrictStr], Field(description="Optional email.")
5121
6144
  ] = None,
5122
- **kwargs
6145
+ **kwargs,
5123
6146
  ) -> V1OrganizationMember: # noqa: E501
5124
6147
  """Patch organization member # noqa: E501
5125
6148
 
@@ -5168,7 +6191,7 @@ class OrganizationsV1Api(BaseApi):
5168
6191
  email: Annotated[
5169
6192
  Optional[StrictStr], Field(description="Optional email.")
5170
6193
  ] = None,
5171
- **kwargs
6194
+ **kwargs,
5172
6195
  ): # noqa: E501
5173
6196
  """Patch organization member # noqa: E501
5174
6197
 
@@ -5241,6 +6264,7 @@ class OrganizationsV1Api(BaseApi):
5241
6264
  _path_params = {}
5242
6265
  if _params["owner"]:
5243
6266
  _path_params["owner"] = _params["owner"]
6267
+
5244
6268
  if _params["member_user"]:
5245
6269
  _path_params["member.user"] = _params["member_user"]
5246
6270
 
@@ -5251,11 +6275,9 @@ class OrganizationsV1Api(BaseApi):
5251
6275
 
5252
6276
  # process the header parameters
5253
6277
  _header_params = dict(_params.get("_headers", {}))
5254
-
5255
6278
  # process the form parameters
5256
6279
  _form_params = []
5257
6280
  _files = {}
5258
-
5259
6281
  # process the body parameter
5260
6282
  _body_params = None
5261
6283
  if _params["body"]:
@@ -5308,7 +6330,7 @@ class OrganizationsV1Api(BaseApi):
5308
6330
  self,
5309
6331
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5310
6332
  body: Annotated[V1Organization, Field(..., description="Organization body")],
5311
- **kwargs
6333
+ **kwargs,
5312
6334
  ) -> V1Organization: # noqa: E501
5313
6335
  """Patch oranization settings # noqa: E501
5314
6336
 
@@ -5338,16 +6360,14 @@ class OrganizationsV1Api(BaseApi):
5338
6360
  :rtype: V1Organization
5339
6361
  """
5340
6362
  kwargs["_return_http_data_only"] = True
5341
- return self.patch_organization_settings_with_http_info(
5342
- owner, body, **kwargs
5343
- ) # noqa: E501
6363
+ return self.patch_organization_settings_with_http_info(owner, body, **kwargs) # noqa: E501
5344
6364
 
5345
6365
  @validate_call
5346
6366
  def patch_organization_settings_with_http_info(
5347
6367
  self,
5348
6368
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5349
6369
  body: Annotated[V1Organization, Field(..., description="Organization body")],
5350
- **kwargs
6370
+ **kwargs,
5351
6371
  ): # noqa: E501
5352
6372
  """Patch oranization settings # noqa: E501
5353
6373
 
@@ -5419,14 +6439,11 @@ class OrganizationsV1Api(BaseApi):
5419
6439
 
5420
6440
  # process the query parameters
5421
6441
  _query_params = []
5422
-
5423
6442
  # process the header parameters
5424
6443
  _header_params = dict(_params.get("_headers", {}))
5425
-
5426
6444
  # process the form parameters
5427
6445
  _form_params = []
5428
6446
  _files = {}
5429
-
5430
6447
  # process the body parameter
5431
6448
  _body_params = None
5432
6449
  if _params["body"]:
@@ -5484,7 +6501,7 @@ class OrganizationsV1Api(BaseApi):
5484
6501
  email: Annotated[
5485
6502
  Optional[StrictStr], Field(description="Optional email.")
5486
6503
  ] = None,
5487
- **kwargs
6504
+ **kwargs,
5488
6505
  ) -> V1OrganizationMember: # noqa: E501
5489
6506
  """Resend organization invitation # noqa: E501
5490
6507
 
@@ -5530,7 +6547,7 @@ class OrganizationsV1Api(BaseApi):
5530
6547
  email: Annotated[
5531
6548
  Optional[StrictStr], Field(description="Optional email.")
5532
6549
  ] = None,
5533
- **kwargs
6550
+ **kwargs,
5534
6551
  ): # noqa: E501
5535
6552
  """Resend organization invitation # noqa: E501
5536
6553
 
@@ -5609,11 +6626,9 @@ class OrganizationsV1Api(BaseApi):
5609
6626
 
5610
6627
  # process the header parameters
5611
6628
  _header_params = dict(_params.get("_headers", {}))
5612
-
5613
6629
  # process the form parameters
5614
6630
  _form_params = []
5615
6631
  _files = {}
5616
-
5617
6632
  # process the body parameter
5618
6633
  _body_params = None
5619
6634
  if _params["body"]:
@@ -5666,7 +6681,7 @@ class OrganizationsV1Api(BaseApi):
5666
6681
  self,
5667
6682
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5668
6683
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
5669
- **kwargs
6684
+ **kwargs,
5670
6685
  ) -> None: # noqa: E501
5671
6686
  """Restore cross-project runs selection # noqa: E501
5672
6687
 
@@ -5696,16 +6711,14 @@ class OrganizationsV1Api(BaseApi):
5696
6711
  :rtype: None
5697
6712
  """
5698
6713
  kwargs["_return_http_data_only"] = True
5699
- return self.restore_organization_runs_with_http_info(
5700
- owner, body, **kwargs
5701
- ) # noqa: E501
6714
+ return self.restore_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
5702
6715
 
5703
6716
  @validate_call
5704
6717
  def restore_organization_runs_with_http_info(
5705
6718
  self,
5706
6719
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5707
6720
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
5708
- **kwargs
6721
+ **kwargs,
5709
6722
  ): # noqa: E501
5710
6723
  """Restore cross-project runs selection # noqa: E501
5711
6724
 
@@ -5777,14 +6790,11 @@ class OrganizationsV1Api(BaseApi):
5777
6790
 
5778
6791
  # process the query parameters
5779
6792
  _query_params = []
5780
-
5781
6793
  # process the header parameters
5782
6794
  _header_params = dict(_params.get("_headers", {}))
5783
-
5784
6795
  # process the form parameters
5785
6796
  _form_params = []
5786
6797
  _files = {}
5787
-
5788
6798
  # process the body parameter
5789
6799
  _body_params = None
5790
6800
  if _params["body"]:
@@ -5832,7 +6842,7 @@ class OrganizationsV1Api(BaseApi):
5832
6842
  self,
5833
6843
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5834
6844
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
5835
- **kwargs
6845
+ **kwargs,
5836
6846
  ) -> None: # noqa: E501
5837
6847
  """Skip cross-project runs selection # noqa: E501
5838
6848
 
@@ -5862,16 +6872,14 @@ class OrganizationsV1Api(BaseApi):
5862
6872
  :rtype: None
5863
6873
  """
5864
6874
  kwargs["_return_http_data_only"] = True
5865
- return self.skip_organization_runs_with_http_info(
5866
- owner, body, **kwargs
5867
- ) # noqa: E501
6875
+ return self.skip_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
5868
6876
 
5869
6877
  @validate_call
5870
6878
  def skip_organization_runs_with_http_info(
5871
6879
  self,
5872
6880
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5873
6881
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
5874
- **kwargs
6882
+ **kwargs,
5875
6883
  ): # noqa: E501
5876
6884
  """Skip cross-project runs selection # noqa: E501
5877
6885
 
@@ -5995,7 +7003,7 @@ class OrganizationsV1Api(BaseApi):
5995
7003
  self,
5996
7004
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
5997
7005
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
5998
- **kwargs
7006
+ **kwargs,
5999
7007
  ) -> None: # noqa: E501
6000
7008
  """Stop cross-project runs selection # noqa: E501
6001
7009
 
@@ -6025,16 +7033,14 @@ class OrganizationsV1Api(BaseApi):
6025
7033
  :rtype: None
6026
7034
  """
6027
7035
  kwargs["_return_http_data_only"] = True
6028
- return self.stop_organization_runs_with_http_info(
6029
- owner, body, **kwargs
6030
- ) # noqa: E501
7036
+ return self.stop_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
6031
7037
 
6032
7038
  @validate_call
6033
7039
  def stop_organization_runs_with_http_info(
6034
7040
  self,
6035
7041
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6036
7042
  body: Annotated[V1Uuids, Field(..., description="Uuids of the entities")],
6037
- **kwargs
7043
+ **kwargs,
6038
7044
  ): # noqa: E501
6039
7045
  """Stop cross-project runs selection # noqa: E501
6040
7046
 
@@ -6106,14 +7112,11 @@ class OrganizationsV1Api(BaseApi):
6106
7112
 
6107
7113
  # process the query parameters
6108
7114
  _query_params = []
6109
-
6110
7115
  # process the header parameters
6111
7116
  _header_params = dict(_params.get("_headers", {}))
6112
-
6113
7117
  # process the form parameters
6114
7118
  _form_params = []
6115
7119
  _files = {}
6116
-
6117
7120
  # process the body parameter
6118
7121
  _body_params = None
6119
7122
  if _params["body"]:
@@ -6161,7 +7164,7 @@ class OrganizationsV1Api(BaseApi):
6161
7164
  self,
6162
7165
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6163
7166
  body: Annotated[V1EntitiesTags, Field(..., description="Data")],
6164
- **kwargs
7167
+ **kwargs,
6165
7168
  ) -> None: # noqa: E501
6166
7169
  """Tag cross-project runs selection # noqa: E501
6167
7170
 
@@ -6191,16 +7194,14 @@ class OrganizationsV1Api(BaseApi):
6191
7194
  :rtype: None
6192
7195
  """
6193
7196
  kwargs["_return_http_data_only"] = True
6194
- return self.tag_organization_runs_with_http_info(
6195
- owner, body, **kwargs
6196
- ) # noqa: E501
7197
+ return self.tag_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
6197
7198
 
6198
7199
  @validate_call
6199
7200
  def tag_organization_runs_with_http_info(
6200
7201
  self,
6201
7202
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6202
7203
  body: Annotated[V1EntitiesTags, Field(..., description="Data")],
6203
- **kwargs
7204
+ **kwargs,
6204
7205
  ): # noqa: E501
6205
7206
  """Tag cross-project runs selection # noqa: E501
6206
7207
 
@@ -6272,14 +7273,11 @@ class OrganizationsV1Api(BaseApi):
6272
7273
 
6273
7274
  # process the query parameters
6274
7275
  _query_params = []
6275
-
6276
7276
  # process the header parameters
6277
7277
  _header_params = dict(_params.get("_headers", {}))
6278
-
6279
7278
  # process the form parameters
6280
7279
  _form_params = []
6281
7280
  _files = {}
6282
-
6283
7281
  # process the body parameter
6284
7282
  _body_params = None
6285
7283
  if _params["body"]:
@@ -6327,7 +7325,7 @@ class OrganizationsV1Api(BaseApi):
6327
7325
  self,
6328
7326
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6329
7327
  body: Annotated[V1EntitiesTransfer, Field(..., description="Data")],
6330
- **kwargs
7328
+ **kwargs,
6331
7329
  ) -> None: # noqa: E501
6332
7330
  """Transfer cross-project runs selection to a new project # noqa: E501
6333
7331
 
@@ -6357,16 +7355,14 @@ class OrganizationsV1Api(BaseApi):
6357
7355
  :rtype: None
6358
7356
  """
6359
7357
  kwargs["_return_http_data_only"] = True
6360
- return self.transfer_organization_runs_with_http_info(
6361
- owner, body, **kwargs
6362
- ) # noqa: E501
7358
+ return self.transfer_organization_runs_with_http_info(owner, body, **kwargs) # noqa: E501
6363
7359
 
6364
7360
  @validate_call
6365
7361
  def transfer_organization_runs_with_http_info(
6366
7362
  self,
6367
7363
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6368
7364
  body: Annotated[V1EntitiesTransfer, Field(..., description="Data")],
6369
- **kwargs
7365
+ **kwargs,
6370
7366
  ): # noqa: E501
6371
7367
  """Transfer cross-project runs selection to a new project # noqa: E501
6372
7368
 
@@ -6438,14 +7434,11 @@ class OrganizationsV1Api(BaseApi):
6438
7434
 
6439
7435
  # process the query parameters
6440
7436
  _query_params = []
6441
-
6442
7437
  # process the header parameters
6443
7438
  _header_params = dict(_params.get("_headers", {}))
6444
-
6445
7439
  # process the form parameters
6446
7440
  _form_params = []
6447
7441
  _files = {}
6448
-
6449
7442
  # process the body parameter
6450
7443
  _body_params = None
6451
7444
  if _params["body"]:
@@ -6493,7 +7486,7 @@ class OrganizationsV1Api(BaseApi):
6493
7486
  self,
6494
7487
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6495
7488
  body: Annotated[V1Organization, Field(..., description="Organization body")],
6496
- **kwargs
7489
+ **kwargs,
6497
7490
  ) -> V1Organization: # noqa: E501
6498
7491
  """Update organization # noqa: E501
6499
7492
 
@@ -6523,16 +7516,14 @@ class OrganizationsV1Api(BaseApi):
6523
7516
  :rtype: V1Organization
6524
7517
  """
6525
7518
  kwargs["_return_http_data_only"] = True
6526
- return self.update_organization_with_http_info(
6527
- owner, body, **kwargs
6528
- ) # noqa: E501
7519
+ return self.update_organization_with_http_info(owner, body, **kwargs) # noqa: E501
6529
7520
 
6530
7521
  @validate_call
6531
7522
  def update_organization_with_http_info(
6532
7523
  self,
6533
7524
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
6534
7525
  body: Annotated[V1Organization, Field(..., description="Organization body")],
6535
- **kwargs
7526
+ **kwargs,
6536
7527
  ): # noqa: E501
6537
7528
  """Update organization # noqa: E501
6538
7529
 
@@ -6604,14 +7595,11 @@ class OrganizationsV1Api(BaseApi):
6604
7595
 
6605
7596
  # process the query parameters
6606
7597
  _query_params = []
6607
-
6608
7598
  # process the header parameters
6609
7599
  _header_params = dict(_params.get("_headers", {}))
6610
-
6611
7600
  # process the form parameters
6612
7601
  _form_params = []
6613
7602
  _files = {}
6614
-
6615
7603
  # process the body parameter
6616
7604
  _body_params = None
6617
7605
  if _params["body"]:
@@ -6669,7 +7657,7 @@ class OrganizationsV1Api(BaseApi):
6669
7657
  email: Annotated[
6670
7658
  Optional[StrictStr], Field(description="Optional email.")
6671
7659
  ] = None,
6672
- **kwargs
7660
+ **kwargs,
6673
7661
  ) -> V1OrganizationMember: # noqa: E501
6674
7662
  """Update organization invitation # noqa: E501
6675
7663
 
@@ -6715,7 +7703,7 @@ class OrganizationsV1Api(BaseApi):
6715
7703
  email: Annotated[
6716
7704
  Optional[StrictStr], Field(description="Optional email.")
6717
7705
  ] = None,
6718
- **kwargs
7706
+ **kwargs,
6719
7707
  ): # noqa: E501
6720
7708
  """Update organization invitation # noqa: E501
6721
7709
 
@@ -6794,11 +7782,9 @@ class OrganizationsV1Api(BaseApi):
6794
7782
 
6795
7783
  # process the header parameters
6796
7784
  _header_params = dict(_params.get("_headers", {}))
6797
-
6798
7785
  # process the form parameters
6799
7786
  _form_params = []
6800
7787
  _files = {}
6801
-
6802
7788
  # process the body parameter
6803
7789
  _body_params = None
6804
7790
  if _params["body"]:
@@ -6857,7 +7843,7 @@ class OrganizationsV1Api(BaseApi):
6857
7843
  email: Annotated[
6858
7844
  Optional[StrictStr], Field(description="Optional email.")
6859
7845
  ] = None,
6860
- **kwargs
7846
+ **kwargs,
6861
7847
  ) -> V1OrganizationMember: # noqa: E501
6862
7848
  """Update organization member # noqa: E501
6863
7849
 
@@ -6906,7 +7892,7 @@ class OrganizationsV1Api(BaseApi):
6906
7892
  email: Annotated[
6907
7893
  Optional[StrictStr], Field(description="Optional email.")
6908
7894
  ] = None,
6909
- **kwargs
7895
+ **kwargs,
6910
7896
  ): # noqa: E501
6911
7897
  """Update organization member # noqa: E501
6912
7898
 
@@ -6979,6 +7965,7 @@ class OrganizationsV1Api(BaseApi):
6979
7965
  _path_params = {}
6980
7966
  if _params["owner"]:
6981
7967
  _path_params["owner"] = _params["owner"]
7968
+
6982
7969
  if _params["member_user"]:
6983
7970
  _path_params["member.user"] = _params["member_user"]
6984
7971
 
@@ -6989,11 +7976,9 @@ class OrganizationsV1Api(BaseApi):
6989
7976
 
6990
7977
  # process the header parameters
6991
7978
  _header_params = dict(_params.get("_headers", {}))
6992
-
6993
7979
  # process the form parameters
6994
7980
  _form_params = []
6995
7981
  _files = {}
6996
-
6997
7982
  # process the body parameter
6998
7983
  _body_params = None
6999
7984
  if _params["body"]:
@@ -7046,7 +8031,7 @@ class OrganizationsV1Api(BaseApi):
7046
8031
  self,
7047
8032
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
7048
8033
  body: Annotated[V1Organization, Field(..., description="Organization body")],
7049
- **kwargs
8034
+ **kwargs,
7050
8035
  ) -> V1Organization: # noqa: E501
7051
8036
  """Update organization settings # noqa: E501
7052
8037
 
@@ -7076,16 +8061,14 @@ class OrganizationsV1Api(BaseApi):
7076
8061
  :rtype: V1Organization
7077
8062
  """
7078
8063
  kwargs["_return_http_data_only"] = True
7079
- return self.update_organization_settings_with_http_info(
7080
- owner, body, **kwargs
7081
- ) # noqa: E501
8064
+ return self.update_organization_settings_with_http_info(owner, body, **kwargs) # noqa: E501
7082
8065
 
7083
8066
  @validate_call
7084
8067
  def update_organization_settings_with_http_info(
7085
8068
  self,
7086
8069
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
7087
8070
  body: Annotated[V1Organization, Field(..., description="Organization body")],
7088
- **kwargs
8071
+ **kwargs,
7089
8072
  ): # noqa: E501
7090
8073
  """Update organization settings # noqa: E501
7091
8074
 
@@ -7157,14 +8140,11 @@ class OrganizationsV1Api(BaseApi):
7157
8140
 
7158
8141
  # process the query parameters
7159
8142
  _query_params = []
7160
-
7161
8143
  # process the header parameters
7162
8144
  _header_params = dict(_params.get("_headers", {}))
7163
-
7164
8145
  # process the form parameters
7165
8146
  _form_params = []
7166
8147
  _files = {}
7167
-
7168
8148
  # process the body parameter
7169
8149
  _body_params = None
7170
8150
  if _params["body"]: