polyaxon 2.4.0rc1__py3-none-any.whl → 2.6.0__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 (218) hide show
  1. polyaxon/_auxiliaries/default_scheduling.py +17 -7
  2. polyaxon/_auxiliaries/init.py +14 -6
  3. polyaxon/_auxiliaries/sidecar.py +10 -8
  4. polyaxon/_cli/dashboard.py +2 -5
  5. polyaxon/_cli/run.py +14 -0
  6. polyaxon/_cli/version.py +4 -1
  7. polyaxon/_compiler/contexts/contexts.py +4 -0
  8. polyaxon/_compiler/resolver/agent.py +10 -9
  9. polyaxon/_compiler/resolver/runtime.py +4 -0
  10. polyaxon/_constants/metadata.py +1 -0
  11. polyaxon/_contexts/keys.py +1 -0
  12. polyaxon/_deploy/schemas/auth.py +3 -3
  13. polyaxon/_deploy/schemas/celery.py +10 -8
  14. polyaxon/_deploy/schemas/deployment.py +148 -116
  15. polyaxon/_deploy/schemas/email.py +8 -8
  16. polyaxon/_deploy/schemas/ingress.py +7 -7
  17. polyaxon/_deploy/schemas/intervals.py +3 -1
  18. polyaxon/_deploy/schemas/operators.py +8 -8
  19. polyaxon/_deploy/schemas/proxy.py +9 -9
  20. polyaxon/_deploy/schemas/rbac.py +1 -1
  21. polyaxon/_deploy/schemas/root_user.py +5 -5
  22. polyaxon/_deploy/schemas/security_context.py +25 -15
  23. polyaxon/_deploy/schemas/service.py +73 -69
  24. polyaxon/_deploy/schemas/ssl.py +3 -3
  25. polyaxon/_deploy/schemas/ui.py +10 -6
  26. polyaxon/_docker/builder/builder.py +4 -1
  27. polyaxon/_docker/converter/base/containers.py +4 -7
  28. polyaxon/_docker/converter/base/env_vars.py +5 -5
  29. polyaxon/_docker/converter/base/mounts.py +2 -2
  30. polyaxon/_docker/docker_types.py +57 -30
  31. polyaxon/_env_vars/keys.py +2 -0
  32. polyaxon/_flow/__init__.py +3 -2
  33. polyaxon/_flow/builds/__init__.py +8 -8
  34. polyaxon/_flow/cache/__init__.py +4 -4
  35. polyaxon/_flow/component/base.py +25 -18
  36. polyaxon/_flow/component/component.py +4 -3
  37. polyaxon/_flow/early_stopping/__init__.py +1 -1
  38. polyaxon/_flow/early_stopping/policies.py +12 -10
  39. polyaxon/_flow/environment/__init__.py +42 -24
  40. polyaxon/_flow/events/__init__.py +1 -1
  41. polyaxon/_flow/hooks/__init__.py +11 -11
  42. polyaxon/_flow/init/__init__.py +41 -25
  43. polyaxon/_flow/io/io.py +57 -47
  44. polyaxon/_flow/joins/__init__.py +5 -5
  45. polyaxon/_flow/matrix/bayes.py +23 -17
  46. polyaxon/_flow/matrix/grid_search.py +16 -7
  47. polyaxon/_flow/matrix/hyperband.py +10 -10
  48. polyaxon/_flow/matrix/hyperopt.py +14 -9
  49. polyaxon/_flow/matrix/iterative.py +14 -8
  50. polyaxon/_flow/matrix/mapping.py +4 -4
  51. polyaxon/_flow/matrix/params.py +138 -77
  52. polyaxon/_flow/matrix/random_search.py +10 -5
  53. polyaxon/_flow/matrix/tuner.py +4 -4
  54. polyaxon/_flow/mounts/artifacts_mounts.py +1 -1
  55. polyaxon/_flow/notifications/__init__.py +1 -1
  56. polyaxon/_flow/operations/base.py +10 -8
  57. polyaxon/_flow/operations/compiled_operation.py +5 -4
  58. polyaxon/_flow/operations/operation.py +30 -22
  59. polyaxon/_flow/optimization/__init__.py +2 -2
  60. polyaxon/_flow/params/params.py +10 -9
  61. polyaxon/_flow/plugins/__init__.py +19 -13
  62. polyaxon/_flow/run/dag.py +12 -9
  63. polyaxon/_flow/run/dask/dask.py +4 -4
  64. polyaxon/_flow/run/dask/replica.py +17 -11
  65. polyaxon/_flow/run/job.py +17 -11
  66. polyaxon/_flow/run/kubeflow/mpi_job.py +10 -5
  67. polyaxon/_flow/run/kubeflow/mx_job.py +25 -9
  68. polyaxon/_flow/run/kubeflow/paddle_job.py +16 -9
  69. polyaxon/_flow/run/kubeflow/pytorch_job.py +24 -17
  70. polyaxon/_flow/run/kubeflow/replica.py +17 -11
  71. polyaxon/_flow/run/kubeflow/scheduling_policy.py +7 -5
  72. polyaxon/_flow/run/kubeflow/tf_job.py +15 -8
  73. polyaxon/_flow/run/kubeflow/xgboost_job.py +9 -4
  74. polyaxon/_flow/run/ray/ray.py +9 -6
  75. polyaxon/_flow/run/ray/replica.py +25 -16
  76. polyaxon/_flow/run/resources.py +14 -13
  77. polyaxon/_flow/run/service.py +4 -4
  78. polyaxon/_flow/schedules/cron.py +4 -4
  79. polyaxon/_flow/schedules/interval.py +4 -4
  80. polyaxon/_flow/templates/__init__.py +3 -3
  81. polyaxon/_flow/termination/__init__.py +3 -3
  82. polyaxon/_fs/async_manager.py +1 -1
  83. polyaxon/_fs/watcher.py +26 -27
  84. polyaxon/_k8s/k8s_validation.py +1 -1
  85. polyaxon/_k8s/logging/async_monitor.py +18 -3
  86. polyaxon/_local_process/converter/base/containers.py +4 -7
  87. polyaxon/_local_process/converter/base/env_vars.py +5 -5
  88. polyaxon/_local_process/process_types.py +15 -12
  89. polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
  90. polyaxon/_polyaxonfile/specs/libs/parser.py +1 -1
  91. polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
  92. polyaxon/_polyaxonfile/specs/operation.py +1 -1
  93. polyaxon/_polyaxonfile/specs/sections.py +8 -0
  94. polyaxon/_runner/agent/async_agent.py +9 -6
  95. polyaxon/_runner/agent/base_agent.py +8 -5
  96. polyaxon/_runner/agent/sync_agent.py +8 -5
  97. polyaxon/_runner/converter/converter.py +12 -4
  98. polyaxon/_schemas/agent.py +69 -37
  99. polyaxon/_schemas/authentication.py +4 -4
  100. polyaxon/_schemas/base.py +26 -2
  101. polyaxon/_schemas/checks.py +3 -3
  102. polyaxon/_schemas/cli.py +4 -6
  103. polyaxon/_schemas/client.py +20 -18
  104. polyaxon/_schemas/compatibility.py +4 -4
  105. polyaxon/_schemas/container_resources.py +1 -1
  106. polyaxon/_schemas/home.py +3 -3
  107. polyaxon/_schemas/installation.py +13 -9
  108. polyaxon/_schemas/lifecycle.py +23 -23
  109. polyaxon/_schemas/log_handler.py +2 -2
  110. polyaxon/_schemas/services.py +26 -14
  111. polyaxon/_schemas/types/artifacts.py +3 -3
  112. polyaxon/_schemas/types/dockerfile.py +14 -12
  113. polyaxon/_schemas/types/event.py +2 -2
  114. polyaxon/_schemas/types/file.py +3 -3
  115. polyaxon/_schemas/types/git.py +12 -4
  116. polyaxon/_schemas/types/tensorboard.py +14 -8
  117. polyaxon/_schemas/user.py +3 -3
  118. polyaxon/_schemas/version.py +2 -2
  119. polyaxon/_sdk/api/agents_v1_api.py +45 -45
  120. polyaxon/_sdk/api/artifacts_stores_v1_api.py +3 -3
  121. polyaxon/_sdk/api/auth_v1_api.py +13 -13
  122. polyaxon/_sdk/api/connections_v1_api.py +15 -15
  123. polyaxon/_sdk/api/dashboards_v1_api.py +15 -15
  124. polyaxon/_sdk/api/organizations_v1_api.py +77 -77
  125. polyaxon/_sdk/api/presets_v1_api.py +15 -15
  126. polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -17
  127. polyaxon/_sdk/api/project_searches_v1_api.py +17 -17
  128. polyaxon/_sdk/api/projects_v1_api.py +65 -65
  129. polyaxon/_sdk/api/queues_v1_api.py +19 -19
  130. polyaxon/_sdk/api/runs_v1_api.py +127 -127
  131. polyaxon/_sdk/api/searches_v1_api.py +15 -15
  132. polyaxon/_sdk/api/service_accounts_v1_api.py +27 -27
  133. polyaxon/_sdk/api/tags_v1_api.py +17 -17
  134. polyaxon/_sdk/api/teams_v1_api.py +51 -51
  135. polyaxon/_sdk/api/users_v1_api.py +25 -25
  136. polyaxon/_sdk/api/versions_v1_api.py +7 -7
  137. polyaxon/_sdk/schemas/v1_activity.py +8 -8
  138. polyaxon/_sdk/schemas/v1_agent.py +17 -16
  139. polyaxon/_sdk/schemas/v1_agent_state_response.py +4 -4
  140. polyaxon/_sdk/schemas/v1_agent_state_response_agent_state.py +10 -10
  141. polyaxon/_sdk/schemas/v1_agent_status_body_request.py +3 -3
  142. polyaxon/_sdk/schemas/v1_analytics_spec.py +4 -4
  143. polyaxon/_sdk/schemas/v1_artifact_tree.py +3 -3
  144. polyaxon/_sdk/schemas/v1_auth.py +1 -1
  145. polyaxon/_sdk/schemas/v1_cloning.py +3 -3
  146. polyaxon/_sdk/schemas/v1_connection_response.py +9 -9
  147. polyaxon/_sdk/schemas/v1_dashboard.py +9 -9
  148. polyaxon/_sdk/schemas/v1_dashboard_spec.py +5 -5
  149. polyaxon/_sdk/schemas/v1_entities_tags.py +2 -2
  150. polyaxon/_sdk/schemas/v1_entities_transfer.py +2 -2
  151. polyaxon/_sdk/schemas/v1_entity_notification_body.py +7 -7
  152. polyaxon/_sdk/schemas/v1_entity_stage_body_request.py +5 -5
  153. polyaxon/_sdk/schemas/v1_entity_status_body_request.py +5 -5
  154. polyaxon/_sdk/schemas/v1_events_response.py +2 -2
  155. polyaxon/_sdk/schemas/v1_list_activities_response.py +4 -4
  156. polyaxon/_sdk/schemas/v1_list_agents_response.py +4 -4
  157. polyaxon/_sdk/schemas/v1_list_bookmarks_response.py +4 -4
  158. polyaxon/_sdk/schemas/v1_list_connections_response.py +4 -4
  159. polyaxon/_sdk/schemas/v1_list_dashboards_response.py +4 -4
  160. polyaxon/_sdk/schemas/v1_list_organization_members_response.py +4 -4
  161. polyaxon/_sdk/schemas/v1_list_organizations_response.py +4 -4
  162. polyaxon/_sdk/schemas/v1_list_presets_response.py +4 -4
  163. polyaxon/_sdk/schemas/v1_list_project_versions_response.py +4 -4
  164. polyaxon/_sdk/schemas/v1_list_projects_response.py +4 -4
  165. polyaxon/_sdk/schemas/v1_list_queues_response.py +4 -4
  166. polyaxon/_sdk/schemas/v1_list_run_artifacts_response.py +4 -4
  167. polyaxon/_sdk/schemas/v1_list_run_connections_response.py +4 -4
  168. polyaxon/_sdk/schemas/v1_list_run_edges_response.py +4 -4
  169. polyaxon/_sdk/schemas/v1_list_runs_response.py +4 -4
  170. polyaxon/_sdk/schemas/v1_list_searches_response.py +4 -4
  171. polyaxon/_sdk/schemas/v1_list_service_accounts_response.py +4 -4
  172. polyaxon/_sdk/schemas/v1_list_tags_response.py +4 -4
  173. polyaxon/_sdk/schemas/v1_list_team_members_response.py +4 -4
  174. polyaxon/_sdk/schemas/v1_list_teams_response.py +4 -4
  175. polyaxon/_sdk/schemas/v1_list_token_response.py +4 -4
  176. polyaxon/_sdk/schemas/v1_operation_body.py +8 -8
  177. polyaxon/_sdk/schemas/v1_organization.py +16 -16
  178. polyaxon/_sdk/schemas/v1_organization_member.py +6 -6
  179. polyaxon/_sdk/schemas/v1_password_change.py +3 -3
  180. polyaxon/_sdk/schemas/v1_pipeline.py +3 -3
  181. polyaxon/_sdk/schemas/v1_preset.py +11 -12
  182. polyaxon/_sdk/schemas/v1_project.py +17 -17
  183. polyaxon/_sdk/schemas/v1_project_settings.py +11 -11
  184. polyaxon/_sdk/schemas/v1_project_version.py +20 -20
  185. polyaxon/_sdk/schemas/v1_queue.py +12 -12
  186. polyaxon/_sdk/schemas/v1_run.py +38 -38
  187. polyaxon/_sdk/schemas/v1_run_connection.py +3 -3
  188. polyaxon/_sdk/schemas/v1_run_edge.py +5 -5
  189. polyaxon/_sdk/schemas/v1_run_edge_lineage.py +3 -3
  190. polyaxon/_sdk/schemas/v1_run_edges_graph.py +1 -1
  191. polyaxon/_sdk/schemas/v1_run_reference_catalog.py +4 -4
  192. polyaxon/_sdk/schemas/v1_run_settings.py +9 -9
  193. polyaxon/_sdk/schemas/v1_search.py +10 -10
  194. polyaxon/_sdk/schemas/v1_search_spec.py +14 -14
  195. polyaxon/_sdk/schemas/v1_section_spec.py +12 -12
  196. polyaxon/_sdk/schemas/v1_service_account.py +9 -9
  197. polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -4
  198. polyaxon/_sdk/schemas/v1_tag.py +6 -6
  199. polyaxon/_sdk/schemas/v1_team.py +11 -11
  200. polyaxon/_sdk/schemas/v1_team_member.py +6 -6
  201. polyaxon/_sdk/schemas/v1_team_settings.py +2 -2
  202. polyaxon/_sdk/schemas/v1_token.py +10 -10
  203. polyaxon/_sdk/schemas/v1_trial_start.py +6 -6
  204. polyaxon/_sdk/schemas/v1_user.py +6 -6
  205. polyaxon/_sdk/schemas/v1_user_access.py +7 -7
  206. polyaxon/_sdk/schemas/v1_user_email.py +1 -1
  207. polyaxon/_sdk/schemas/v1_user_singup.py +5 -5
  208. polyaxon/_sdk/schemas/v1_uuids.py +1 -1
  209. polyaxon/_sidecar/container/__init__.py +13 -8
  210. polyaxon/_utils/cli_constants.py +2 -0
  211. polyaxon/_utils/test_utils.py +2 -1
  212. polyaxon/pkg.py +1 -1
  213. {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/METADATA +13 -13
  214. {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/RECORD +218 -218
  215. {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/WHEEL +1 -1
  216. {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/LICENSE +0 -0
  217. {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/entry_points.txt +0 -0
  218. {polyaxon-2.4.0rc1.dist-info → polyaxon-2.6.0.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@ from datetime import datetime
2
2
  from typing import Optional
3
3
  from typing_extensions import Annotated
4
4
 
5
- from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_arguments
5
+ from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
6
6
 
7
7
  from polyaxon._sdk.base_api import BaseApi
8
8
  from polyaxon._sdk.schemas.v1_entities_tags import V1EntitiesTags
@@ -23,7 +23,7 @@ from polyaxon.exceptions import ApiTypeError
23
23
 
24
24
 
25
25
  class OrganizationsV1Api(BaseApi):
26
- @validate_arguments
26
+ @validate_call
27
27
  def approve_organization_runs(
28
28
  self,
29
29
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -60,7 +60,7 @@ class OrganizationsV1Api(BaseApi):
60
60
  kwargs["_return_http_data_only"] = True
61
61
  return self.approve_organization_runs_with_http_info(owner, body, **kwargs)
62
62
 
63
- @validate_arguments
63
+ @validate_call
64
64
  def approve_organization_runs_with_http_info(
65
65
  self,
66
66
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -187,7 +187,7 @@ class OrganizationsV1Api(BaseApi):
187
187
  _request_auth=_params.get("_request_auth"),
188
188
  )
189
189
 
190
- @validate_arguments
190
+ @validate_call
191
191
  def archive_organization_runs(
192
192
  self,
193
193
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -224,7 +224,7 @@ class OrganizationsV1Api(BaseApi):
224
224
  kwargs["_return_http_data_only"] = True
225
225
  return self.archive_organization_runs_with_http_info(owner, body, **kwargs)
226
226
 
227
- @validate_arguments
227
+ @validate_call
228
228
  def archive_organization_runs_with_http_info(
229
229
  self,
230
230
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -351,7 +351,7 @@ class OrganizationsV1Api(BaseApi):
351
351
  _request_auth=_params.get("_request_auth"),
352
352
  )
353
353
 
354
- @validate_arguments
354
+ @validate_call
355
355
  def bookmark_organization_runs(
356
356
  self,
357
357
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -390,7 +390,7 @@ class OrganizationsV1Api(BaseApi):
390
390
  owner, body, **kwargs
391
391
  ) # noqa: E501
392
392
 
393
- @validate_arguments
393
+ @validate_call
394
394
  def bookmark_organization_runs_with_http_info(
395
395
  self,
396
396
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -517,7 +517,7 @@ class OrganizationsV1Api(BaseApi):
517
517
  _request_auth=_params.get("_request_auth"),
518
518
  )
519
519
 
520
- @validate_arguments
520
+ @validate_call
521
521
  def create_organization(
522
522
  self, body: V1Organization, **kwargs
523
523
  ) -> V1Organization: # noqa: E501
@@ -549,7 +549,7 @@ class OrganizationsV1Api(BaseApi):
549
549
  kwargs["_return_http_data_only"] = True
550
550
  return self.create_organization_with_http_info(body, **kwargs) # noqa: E501
551
551
 
552
- @validate_arguments
552
+ @validate_call
553
553
  def create_organization_with_http_info(
554
554
  self, body: V1Organization, **kwargs
555
555
  ): # noqa: E501
@@ -674,7 +674,7 @@ class OrganizationsV1Api(BaseApi):
674
674
  _request_auth=_params.get("_request_auth"),
675
675
  )
676
676
 
677
- @validate_arguments
677
+ @validate_call
678
678
  def create_organization_member(
679
679
  self,
680
680
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -720,7 +720,7 @@ class OrganizationsV1Api(BaseApi):
720
720
  owner, body, email, **kwargs
721
721
  ) # noqa: E501
722
722
 
723
- @validate_arguments
723
+ @validate_call
724
724
  def create_organization_member_with_http_info(
725
725
  self,
726
726
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -861,7 +861,7 @@ class OrganizationsV1Api(BaseApi):
861
861
  _request_auth=_params.get("_request_auth"),
862
862
  )
863
863
 
864
- @validate_arguments
864
+ @validate_call
865
865
  def delete_organization(
866
866
  self,
867
867
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -902,7 +902,7 @@ class OrganizationsV1Api(BaseApi):
902
902
  owner, usage, **kwargs
903
903
  ) # noqa: E501
904
904
 
905
- @validate_arguments
905
+ @validate_call
906
906
  def delete_organization_with_http_info(
907
907
  self,
908
908
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1023,7 +1023,7 @@ class OrganizationsV1Api(BaseApi):
1023
1023
  _request_auth=_params.get("_request_auth"),
1024
1024
  )
1025
1025
 
1026
- @validate_arguments
1026
+ @validate_call
1027
1027
  def delete_organization_invitation(
1028
1028
  self,
1029
1029
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1098,7 +1098,7 @@ class OrganizationsV1Api(BaseApi):
1098
1098
  **kwargs
1099
1099
  ) # noqa: E501
1100
1100
 
1101
- @validate_arguments
1101
+ @validate_call
1102
1102
  def delete_organization_invitation_with_http_info(
1103
1103
  self,
1104
1104
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1266,7 +1266,7 @@ class OrganizationsV1Api(BaseApi):
1266
1266
  _request_auth=_params.get("_request_auth"),
1267
1267
  )
1268
1268
 
1269
- @validate_arguments
1269
+ @validate_call
1270
1270
  def delete_organization_member(
1271
1271
  self,
1272
1272
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1305,7 +1305,7 @@ class OrganizationsV1Api(BaseApi):
1305
1305
  owner, name, **kwargs
1306
1306
  ) # noqa: E501
1307
1307
 
1308
- @validate_arguments
1308
+ @validate_call
1309
1309
  def delete_organization_member_with_http_info(
1310
1310
  self,
1311
1311
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1424,7 +1424,7 @@ class OrganizationsV1Api(BaseApi):
1424
1424
  _request_auth=_params.get("_request_auth"),
1425
1425
  )
1426
1426
 
1427
- @validate_arguments
1427
+ @validate_call
1428
1428
  def delete_organization_runs(
1429
1429
  self,
1430
1430
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1463,7 +1463,7 @@ class OrganizationsV1Api(BaseApi):
1463
1463
  owner, body, **kwargs
1464
1464
  ) # noqa: E501
1465
1465
 
1466
- @validate_arguments
1466
+ @validate_call
1467
1467
  def delete_organization_runs_with_http_info(
1468
1468
  self,
1469
1469
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1590,7 +1590,7 @@ class OrganizationsV1Api(BaseApi):
1590
1590
  _request_auth=_params.get("_request_auth"),
1591
1591
  )
1592
1592
 
1593
- @validate_arguments
1593
+ @validate_call
1594
1594
  def get_organization(
1595
1595
  self,
1596
1596
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1631,7 +1631,7 @@ class OrganizationsV1Api(BaseApi):
1631
1631
  owner, usage, **kwargs
1632
1632
  ) # noqa: E501
1633
1633
 
1634
- @validate_arguments
1634
+ @validate_call
1635
1635
  def get_organization_with_http_info(
1636
1636
  self,
1637
1637
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1757,7 +1757,7 @@ class OrganizationsV1Api(BaseApi):
1757
1757
  _request_auth=_params.get("_request_auth"),
1758
1758
  )
1759
1759
 
1760
- @validate_arguments
1760
+ @validate_call
1761
1761
  def get_organization_activities(
1762
1762
  self,
1763
1763
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1824,7 +1824,7 @@ class OrganizationsV1Api(BaseApi):
1824
1824
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
1825
1825
  ) # noqa: E501
1826
1826
 
1827
- @validate_arguments
1827
+ @validate_call
1828
1828
  def get_organization_activities_with_http_info(
1829
1829
  self,
1830
1830
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1997,7 +1997,7 @@ class OrganizationsV1Api(BaseApi):
1997
1997
  _request_auth=_params.get("_request_auth"),
1998
1998
  )
1999
1999
 
2000
- @validate_arguments
2000
+ @validate_call
2001
2001
  def get_organization_invitation(
2002
2002
  self,
2003
2003
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2072,7 +2072,7 @@ class OrganizationsV1Api(BaseApi):
2072
2072
  **kwargs
2073
2073
  ) # noqa: E501
2074
2074
 
2075
- @validate_arguments
2075
+ @validate_call
2076
2076
  def get_organization_invitation_with_http_info(
2077
2077
  self,
2078
2078
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2245,7 +2245,7 @@ class OrganizationsV1Api(BaseApi):
2245
2245
  _request_auth=_params.get("_request_auth"),
2246
2246
  )
2247
2247
 
2248
- @validate_arguments
2248
+ @validate_call
2249
2249
  def get_organization_member(
2250
2250
  self,
2251
2251
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2284,7 +2284,7 @@ class OrganizationsV1Api(BaseApi):
2284
2284
  owner, name, **kwargs
2285
2285
  ) # noqa: E501
2286
2286
 
2287
- @validate_arguments
2287
+ @validate_call
2288
2288
  def get_organization_member_with_http_info(
2289
2289
  self,
2290
2290
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2408,7 +2408,7 @@ class OrganizationsV1Api(BaseApi):
2408
2408
  _request_auth=_params.get("_request_auth"),
2409
2409
  )
2410
2410
 
2411
- @validate_arguments
2411
+ @validate_call
2412
2412
  def get_organization_run(
2413
2413
  self,
2414
2414
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2449,7 +2449,7 @@ class OrganizationsV1Api(BaseApi):
2449
2449
  owner, uuid, **kwargs
2450
2450
  ) # noqa: E501
2451
2451
 
2452
- @validate_arguments
2452
+ @validate_call
2453
2453
  def get_organization_run_with_http_info(
2454
2454
  self,
2455
2455
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2575,7 +2575,7 @@ class OrganizationsV1Api(BaseApi):
2575
2575
  _request_auth=_params.get("_request_auth"),
2576
2576
  )
2577
2577
 
2578
- @validate_arguments
2578
+ @validate_call
2579
2579
  def get_organization_runs(
2580
2580
  self,
2581
2581
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2642,7 +2642,7 @@ class OrganizationsV1Api(BaseApi):
2642
2642
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
2643
2643
  ) # noqa: E501
2644
2644
 
2645
- @validate_arguments
2645
+ @validate_call
2646
2646
  def get_organization_runs_with_http_info(
2647
2647
  self,
2648
2648
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2815,7 +2815,7 @@ class OrganizationsV1Api(BaseApi):
2815
2815
  _request_auth=_params.get("_request_auth"),
2816
2816
  )
2817
2817
 
2818
- @validate_arguments
2818
+ @validate_call
2819
2819
  def get_organization_settings(
2820
2820
  self,
2821
2821
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -2938,7 +2938,7 @@ class OrganizationsV1Api(BaseApi):
2938
2938
  **kwargs
2939
2939
  ) # noqa: E501
2940
2940
 
2941
- @validate_arguments
2941
+ @validate_call
2942
2942
  def get_organization_settings_with_http_info(
2943
2943
  self,
2944
2944
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3200,7 +3200,7 @@ class OrganizationsV1Api(BaseApi):
3200
3200
  _request_auth=_params.get("_request_auth"),
3201
3201
  )
3202
3202
 
3203
- @validate_arguments
3203
+ @validate_call
3204
3204
  def get_organization_stats(
3205
3205
  self,
3206
3206
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3289,7 +3289,7 @@ class OrganizationsV1Api(BaseApi):
3289
3289
  **kwargs
3290
3290
  ) # noqa: E501
3291
3291
 
3292
- @validate_arguments
3292
+ @validate_call
3293
3293
  def get_organization_stats_with_http_info(
3294
3294
  self,
3295
3295
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3482,7 +3482,7 @@ class OrganizationsV1Api(BaseApi):
3482
3482
  _request_auth=_params.get("_request_auth"),
3483
3483
  )
3484
3484
 
3485
- @validate_arguments
3485
+ @validate_call
3486
3486
  def invalidate_organization_runs(
3487
3487
  self,
3488
3488
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3521,7 +3521,7 @@ class OrganizationsV1Api(BaseApi):
3521
3521
  owner, body, **kwargs
3522
3522
  ) # noqa: E501
3523
3523
 
3524
- @validate_arguments
3524
+ @validate_call
3525
3525
  def invalidate_organization_runs_with_http_info(
3526
3526
  self,
3527
3527
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3648,7 +3648,7 @@ class OrganizationsV1Api(BaseApi):
3648
3648
  _request_auth=_params.get("_request_auth"),
3649
3649
  )
3650
3650
 
3651
- @validate_arguments
3651
+ @validate_call
3652
3652
  def list_organization_member_names(
3653
3653
  self,
3654
3654
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3715,7 +3715,7 @@ class OrganizationsV1Api(BaseApi):
3715
3715
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
3716
3716
  ) # noqa: E501
3717
3717
 
3718
- @validate_arguments
3718
+ @validate_call
3719
3719
  def list_organization_member_names_with_http_info(
3720
3720
  self,
3721
3721
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3888,7 +3888,7 @@ class OrganizationsV1Api(BaseApi):
3888
3888
  _request_auth=_params.get("_request_auth"),
3889
3889
  )
3890
3890
 
3891
- @validate_arguments
3891
+ @validate_call
3892
3892
  def list_organization_members(
3893
3893
  self,
3894
3894
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -3955,7 +3955,7 @@ class OrganizationsV1Api(BaseApi):
3955
3955
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
3956
3956
  ) # noqa: E501
3957
3957
 
3958
- @validate_arguments
3958
+ @validate_call
3959
3959
  def list_organization_members_with_http_info(
3960
3960
  self,
3961
3961
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4128,7 +4128,7 @@ class OrganizationsV1Api(BaseApi):
4128
4128
  _request_auth=_params.get("_request_auth"),
4129
4129
  )
4130
4130
 
4131
- @validate_arguments
4131
+ @validate_call
4132
4132
  def list_organization_names(
4133
4133
  self, **kwargs
4134
4134
  ) -> V1ListOrganizationsResponse: # noqa: E501
@@ -4158,7 +4158,7 @@ class OrganizationsV1Api(BaseApi):
4158
4158
  kwargs["_return_http_data_only"] = True
4159
4159
  return self.list_organization_names_with_http_info(**kwargs) # noqa: E501
4160
4160
 
4161
- @validate_arguments
4161
+ @validate_call
4162
4162
  def list_organization_names_with_http_info(self, **kwargs): # noqa: E501
4163
4163
  """List organizations names # noqa: E501
4164
4164
 
@@ -4269,7 +4269,7 @@ class OrganizationsV1Api(BaseApi):
4269
4269
  _request_auth=_params.get("_request_auth"),
4270
4270
  )
4271
4271
 
4272
- @validate_arguments
4272
+ @validate_call
4273
4273
  def list_organizations(self, **kwargs) -> V1ListOrganizationsResponse: # noqa: E501
4274
4274
  """List organizations # noqa: E501
4275
4275
 
@@ -4297,7 +4297,7 @@ class OrganizationsV1Api(BaseApi):
4297
4297
  kwargs["_return_http_data_only"] = True
4298
4298
  return self.list_organizations_with_http_info(**kwargs) # noqa: E501
4299
4299
 
4300
- @validate_arguments
4300
+ @validate_call
4301
4301
  def list_organizations_with_http_info(self, **kwargs): # noqa: E501
4302
4302
  """List organizations # noqa: E501
4303
4303
 
@@ -4408,7 +4408,7 @@ class OrganizationsV1Api(BaseApi):
4408
4408
  _request_auth=_params.get("_request_auth"),
4409
4409
  )
4410
4410
 
4411
- @validate_arguments
4411
+ @validate_call
4412
4412
  def organization_plan(
4413
4413
  self,
4414
4414
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4447,7 +4447,7 @@ class OrganizationsV1Api(BaseApi):
4447
4447
  owner, body, **kwargs
4448
4448
  ) # noqa: E501
4449
4449
 
4450
- @validate_arguments
4450
+ @validate_call
4451
4451
  def organization_plan_with_http_info(
4452
4452
  self,
4453
4453
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4579,7 +4579,7 @@ class OrganizationsV1Api(BaseApi):
4579
4579
  _request_auth=_params.get("_request_auth"),
4580
4580
  )
4581
4581
 
4582
- @validate_arguments
4582
+ @validate_call
4583
4583
  def organization_license(
4584
4584
  self,
4585
4585
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4618,7 +4618,7 @@ class OrganizationsV1Api(BaseApi):
4618
4618
  owner, body, **kwargs
4619
4619
  ) # noqa: E501
4620
4620
 
4621
- @validate_arguments
4621
+ @validate_call
4622
4622
  def organization_license_with_http_info(
4623
4623
  self,
4624
4624
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4750,7 +4750,7 @@ class OrganizationsV1Api(BaseApi):
4750
4750
  _request_auth=_params.get("_request_auth"),
4751
4751
  )
4752
4752
 
4753
- @validate_arguments
4753
+ @validate_call
4754
4754
  def patch_organization(
4755
4755
  self,
4756
4756
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4789,7 +4789,7 @@ class OrganizationsV1Api(BaseApi):
4789
4789
  owner, body, **kwargs
4790
4790
  ) # noqa: E501
4791
4791
 
4792
- @validate_arguments
4792
+ @validate_call
4793
4793
  def patch_organization_with_http_info(
4794
4794
  self,
4795
4795
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4921,7 +4921,7 @@ class OrganizationsV1Api(BaseApi):
4921
4921
  _request_auth=_params.get("_request_auth"),
4922
4922
  )
4923
4923
 
4924
- @validate_arguments
4924
+ @validate_call
4925
4925
  def patch_organization_invitation(
4926
4926
  self,
4927
4927
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -4967,7 +4967,7 @@ class OrganizationsV1Api(BaseApi):
4967
4967
  owner, body, email, **kwargs
4968
4968
  ) # noqa: E501
4969
4969
 
4970
- @validate_arguments
4970
+ @validate_call
4971
4971
  def patch_organization_invitation_with_http_info(
4972
4972
  self,
4973
4973
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5108,7 +5108,7 @@ class OrganizationsV1Api(BaseApi):
5108
5108
  _request_auth=_params.get("_request_auth"),
5109
5109
  )
5110
5110
 
5111
- @validate_arguments
5111
+ @validate_call
5112
5112
  def patch_organization_member(
5113
5113
  self,
5114
5114
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5157,7 +5157,7 @@ class OrganizationsV1Api(BaseApi):
5157
5157
  owner, member_user, body, email, **kwargs
5158
5158
  ) # noqa: E501
5159
5159
 
5160
- @validate_arguments
5160
+ @validate_call
5161
5161
  def patch_organization_member_with_http_info(
5162
5162
  self,
5163
5163
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5303,7 +5303,7 @@ class OrganizationsV1Api(BaseApi):
5303
5303
  _request_auth=_params.get("_request_auth"),
5304
5304
  )
5305
5305
 
5306
- @validate_arguments
5306
+ @validate_call
5307
5307
  def patch_organization_settings(
5308
5308
  self,
5309
5309
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5342,7 +5342,7 @@ class OrganizationsV1Api(BaseApi):
5342
5342
  owner, body, **kwargs
5343
5343
  ) # noqa: E501
5344
5344
 
5345
- @validate_arguments
5345
+ @validate_call
5346
5346
  def patch_organization_settings_with_http_info(
5347
5347
  self,
5348
5348
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5474,7 +5474,7 @@ class OrganizationsV1Api(BaseApi):
5474
5474
  _request_auth=_params.get("_request_auth"),
5475
5475
  )
5476
5476
 
5477
- @validate_arguments
5477
+ @validate_call
5478
5478
  def resend_organization_invitation(
5479
5479
  self,
5480
5480
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5520,7 +5520,7 @@ class OrganizationsV1Api(BaseApi):
5520
5520
  owner, body, email, **kwargs
5521
5521
  ) # noqa: E501
5522
5522
 
5523
- @validate_arguments
5523
+ @validate_call
5524
5524
  def resend_organization_invitation_with_http_info(
5525
5525
  self,
5526
5526
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5661,7 +5661,7 @@ class OrganizationsV1Api(BaseApi):
5661
5661
  _request_auth=_params.get("_request_auth"),
5662
5662
  )
5663
5663
 
5664
- @validate_arguments
5664
+ @validate_call
5665
5665
  def restore_organization_runs(
5666
5666
  self,
5667
5667
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5700,7 +5700,7 @@ class OrganizationsV1Api(BaseApi):
5700
5700
  owner, body, **kwargs
5701
5701
  ) # noqa: E501
5702
5702
 
5703
- @validate_arguments
5703
+ @validate_call
5704
5704
  def restore_organization_runs_with_http_info(
5705
5705
  self,
5706
5706
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5827,7 +5827,7 @@ class OrganizationsV1Api(BaseApi):
5827
5827
  _request_auth=_params.get("_request_auth"),
5828
5828
  )
5829
5829
 
5830
- @validate_arguments
5830
+ @validate_call
5831
5831
  def skip_organization_runs(
5832
5832
  self,
5833
5833
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5866,7 +5866,7 @@ class OrganizationsV1Api(BaseApi):
5866
5866
  owner, body, **kwargs
5867
5867
  ) # noqa: E501
5868
5868
 
5869
- @validate_arguments
5869
+ @validate_call
5870
5870
  def skip_organization_runs_with_http_info(
5871
5871
  self,
5872
5872
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -5990,7 +5990,7 @@ class OrganizationsV1Api(BaseApi):
5990
5990
  _request_auth=_params.get("_request_auth"),
5991
5991
  )
5992
5992
 
5993
- @validate_arguments
5993
+ @validate_call
5994
5994
  def stop_organization_runs(
5995
5995
  self,
5996
5996
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6029,7 +6029,7 @@ class OrganizationsV1Api(BaseApi):
6029
6029
  owner, body, **kwargs
6030
6030
  ) # noqa: E501
6031
6031
 
6032
- @validate_arguments
6032
+ @validate_call
6033
6033
  def stop_organization_runs_with_http_info(
6034
6034
  self,
6035
6035
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6156,7 +6156,7 @@ class OrganizationsV1Api(BaseApi):
6156
6156
  _request_auth=_params.get("_request_auth"),
6157
6157
  )
6158
6158
 
6159
- @validate_arguments
6159
+ @validate_call
6160
6160
  def tag_organization_runs(
6161
6161
  self,
6162
6162
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6195,7 +6195,7 @@ class OrganizationsV1Api(BaseApi):
6195
6195
  owner, body, **kwargs
6196
6196
  ) # noqa: E501
6197
6197
 
6198
- @validate_arguments
6198
+ @validate_call
6199
6199
  def tag_organization_runs_with_http_info(
6200
6200
  self,
6201
6201
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6322,7 +6322,7 @@ class OrganizationsV1Api(BaseApi):
6322
6322
  _request_auth=_params.get("_request_auth"),
6323
6323
  )
6324
6324
 
6325
- @validate_arguments
6325
+ @validate_call
6326
6326
  def transfer_organization_runs(
6327
6327
  self,
6328
6328
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6361,7 +6361,7 @@ class OrganizationsV1Api(BaseApi):
6361
6361
  owner, body, **kwargs
6362
6362
  ) # noqa: E501
6363
6363
 
6364
- @validate_arguments
6364
+ @validate_call
6365
6365
  def transfer_organization_runs_with_http_info(
6366
6366
  self,
6367
6367
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6488,7 +6488,7 @@ class OrganizationsV1Api(BaseApi):
6488
6488
  _request_auth=_params.get("_request_auth"),
6489
6489
  )
6490
6490
 
6491
- @validate_arguments
6491
+ @validate_call
6492
6492
  def update_organization(
6493
6493
  self,
6494
6494
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6527,7 +6527,7 @@ class OrganizationsV1Api(BaseApi):
6527
6527
  owner, body, **kwargs
6528
6528
  ) # noqa: E501
6529
6529
 
6530
- @validate_arguments
6530
+ @validate_call
6531
6531
  def update_organization_with_http_info(
6532
6532
  self,
6533
6533
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6659,7 +6659,7 @@ class OrganizationsV1Api(BaseApi):
6659
6659
  _request_auth=_params.get("_request_auth"),
6660
6660
  )
6661
6661
 
6662
- @validate_arguments
6662
+ @validate_call
6663
6663
  def update_organization_invitation(
6664
6664
  self,
6665
6665
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6705,7 +6705,7 @@ class OrganizationsV1Api(BaseApi):
6705
6705
  owner, body, email, **kwargs
6706
6706
  ) # noqa: E501
6707
6707
 
6708
- @validate_arguments
6708
+ @validate_call
6709
6709
  def update_organization_invitation_with_http_info(
6710
6710
  self,
6711
6711
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6846,7 +6846,7 @@ class OrganizationsV1Api(BaseApi):
6846
6846
  _request_auth=_params.get("_request_auth"),
6847
6847
  )
6848
6848
 
6849
- @validate_arguments
6849
+ @validate_call
6850
6850
  def update_organization_member(
6851
6851
  self,
6852
6852
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -6895,7 +6895,7 @@ class OrganizationsV1Api(BaseApi):
6895
6895
  owner, member_user, body, email, **kwargs
6896
6896
  ) # noqa: E501
6897
6897
 
6898
- @validate_arguments
6898
+ @validate_call
6899
6899
  def update_organization_member_with_http_info(
6900
6900
  self,
6901
6901
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -7041,7 +7041,7 @@ class OrganizationsV1Api(BaseApi):
7041
7041
  _request_auth=_params.get("_request_auth"),
7042
7042
  )
7043
7043
 
7044
- @validate_arguments
7044
+ @validate_call
7045
7045
  def update_organization_settings(
7046
7046
  self,
7047
7047
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -7080,7 +7080,7 @@ class OrganizationsV1Api(BaseApi):
7080
7080
  owner, body, **kwargs
7081
7081
  ) # noqa: E501
7082
7082
 
7083
- @validate_arguments
7083
+ @validate_call
7084
7084
  def update_organization_settings_with_http_info(
7085
7085
  self,
7086
7086
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],