polyaxon 2.5.3__py3-none-any.whl → 2.6.0.post1__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 (201) 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/_compiler/resolver/agent.py +10 -9
  5. polyaxon/_deploy/schemas/auth.py +3 -3
  6. polyaxon/_deploy/schemas/celery.py +10 -8
  7. polyaxon/_deploy/schemas/deployment.py +148 -115
  8. polyaxon/_deploy/schemas/email.py +8 -8
  9. polyaxon/_deploy/schemas/ingress.py +7 -7
  10. polyaxon/_deploy/schemas/intervals.py +3 -1
  11. polyaxon/_deploy/schemas/operators.py +8 -8
  12. polyaxon/_deploy/schemas/proxy.py +9 -9
  13. polyaxon/_deploy/schemas/rbac.py +1 -1
  14. polyaxon/_deploy/schemas/root_user.py +5 -5
  15. polyaxon/_deploy/schemas/security_context.py +25 -15
  16. polyaxon/_deploy/schemas/service.py +73 -69
  17. polyaxon/_deploy/schemas/ssl.py +3 -3
  18. polyaxon/_deploy/schemas/ui.py +10 -8
  19. polyaxon/_docker/builder/builder.py +4 -1
  20. polyaxon/_docker/converter/base/containers.py +4 -7
  21. polyaxon/_docker/converter/base/env_vars.py +5 -5
  22. polyaxon/_docker/converter/base/mounts.py +2 -2
  23. polyaxon/_docker/docker_types.py +57 -30
  24. polyaxon/_flow/__init__.py +3 -2
  25. polyaxon/_flow/builds/__init__.py +8 -8
  26. polyaxon/_flow/cache/__init__.py +4 -4
  27. polyaxon/_flow/component/base.py +25 -18
  28. polyaxon/_flow/component/component.py +4 -3
  29. polyaxon/_flow/early_stopping/__init__.py +1 -1
  30. polyaxon/_flow/early_stopping/policies.py +12 -10
  31. polyaxon/_flow/environment/__init__.py +42 -24
  32. polyaxon/_flow/hooks/__init__.py +11 -11
  33. polyaxon/_flow/init/__init__.py +41 -25
  34. polyaxon/_flow/io/io.py +59 -47
  35. polyaxon/_flow/joins/__init__.py +5 -5
  36. polyaxon/_flow/matrix/bayes.py +23 -17
  37. polyaxon/_flow/matrix/grid_search.py +16 -7
  38. polyaxon/_flow/matrix/hyperband.py +10 -10
  39. polyaxon/_flow/matrix/hyperopt.py +14 -9
  40. polyaxon/_flow/matrix/iterative.py +14 -8
  41. polyaxon/_flow/matrix/mapping.py +4 -4
  42. polyaxon/_flow/matrix/params.py +138 -77
  43. polyaxon/_flow/matrix/random_search.py +10 -5
  44. polyaxon/_flow/matrix/tuner.py +4 -4
  45. polyaxon/_flow/mounts/artifacts_mounts.py +1 -1
  46. polyaxon/_flow/notifications/__init__.py +1 -1
  47. polyaxon/_flow/operations/base.py +10 -8
  48. polyaxon/_flow/operations/compiled_operation.py +5 -4
  49. polyaxon/_flow/operations/operation.py +30 -22
  50. polyaxon/_flow/optimization/__init__.py +2 -2
  51. polyaxon/_flow/params/params.py +11 -10
  52. polyaxon/_flow/plugins/__init__.py +19 -13
  53. polyaxon/_flow/run/dag.py +12 -9
  54. polyaxon/_flow/run/dask/dask.py +4 -4
  55. polyaxon/_flow/run/dask/replica.py +17 -11
  56. polyaxon/_flow/run/job.py +17 -11
  57. polyaxon/_flow/run/kubeflow/mpi_job.py +10 -5
  58. polyaxon/_flow/run/kubeflow/mx_job.py +25 -9
  59. polyaxon/_flow/run/kubeflow/paddle_job.py +16 -9
  60. polyaxon/_flow/run/kubeflow/pytorch_job.py +24 -17
  61. polyaxon/_flow/run/kubeflow/replica.py +17 -11
  62. polyaxon/_flow/run/kubeflow/scheduling_policy.py +7 -5
  63. polyaxon/_flow/run/kubeflow/tf_job.py +15 -8
  64. polyaxon/_flow/run/kubeflow/xgboost_job.py +9 -4
  65. polyaxon/_flow/run/ray/ray.py +9 -6
  66. polyaxon/_flow/run/ray/replica.py +25 -16
  67. polyaxon/_flow/run/resources.py +14 -13
  68. polyaxon/_flow/run/service.py +4 -4
  69. polyaxon/_flow/schedules/cron.py +4 -4
  70. polyaxon/_flow/schedules/interval.py +4 -4
  71. polyaxon/_flow/templates/__init__.py +3 -3
  72. polyaxon/_flow/termination/__init__.py +3 -3
  73. polyaxon/_fs/watcher.py +26 -27
  74. polyaxon/_k8s/k8s_validation.py +1 -1
  75. polyaxon/_local_process/converter/base/containers.py +4 -7
  76. polyaxon/_local_process/converter/base/env_vars.py +5 -5
  77. polyaxon/_local_process/process_types.py +15 -12
  78. polyaxon/_polyaxonfile/specs/compiled_operation.py +1 -1
  79. polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
  80. polyaxon/_polyaxonfile/specs/operation.py +1 -1
  81. polyaxon/_runner/agent/sync_agent.py +1 -1
  82. polyaxon/_runner/converter/converter.py +1 -1
  83. polyaxon/_schemas/agent.py +69 -37
  84. polyaxon/_schemas/authentication.py +4 -4
  85. polyaxon/_schemas/base.py +26 -2
  86. polyaxon/_schemas/checks.py +3 -3
  87. polyaxon/_schemas/cli.py +4 -6
  88. polyaxon/_schemas/client.py +20 -18
  89. polyaxon/_schemas/compatibility.py +4 -4
  90. polyaxon/_schemas/container_resources.py +1 -1
  91. polyaxon/_schemas/home.py +3 -3
  92. polyaxon/_schemas/installation.py +8 -8
  93. polyaxon/_schemas/lifecycle.py +21 -21
  94. polyaxon/_schemas/log_handler.py +2 -2
  95. polyaxon/_schemas/services.py +26 -14
  96. polyaxon/_schemas/types/artifacts.py +3 -3
  97. polyaxon/_schemas/types/dockerfile.py +14 -12
  98. polyaxon/_schemas/types/event.py +2 -2
  99. polyaxon/_schemas/types/file.py +3 -3
  100. polyaxon/_schemas/types/git.py +12 -4
  101. polyaxon/_schemas/types/tensorboard.py +14 -8
  102. polyaxon/_schemas/user.py +3 -3
  103. polyaxon/_schemas/version.py +2 -2
  104. polyaxon/_sdk/api/agents_v1_api.py +45 -45
  105. polyaxon/_sdk/api/artifacts_stores_v1_api.py +3 -3
  106. polyaxon/_sdk/api/auth_v1_api.py +13 -13
  107. polyaxon/_sdk/api/connections_v1_api.py +15 -15
  108. polyaxon/_sdk/api/dashboards_v1_api.py +15 -15
  109. polyaxon/_sdk/api/organizations_v1_api.py +77 -77
  110. polyaxon/_sdk/api/presets_v1_api.py +15 -15
  111. polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -17
  112. polyaxon/_sdk/api/project_searches_v1_api.py +17 -17
  113. polyaxon/_sdk/api/projects_v1_api.py +65 -65
  114. polyaxon/_sdk/api/queues_v1_api.py +19 -19
  115. polyaxon/_sdk/api/runs_v1_api.py +127 -127
  116. polyaxon/_sdk/api/searches_v1_api.py +15 -15
  117. polyaxon/_sdk/api/service_accounts_v1_api.py +27 -27
  118. polyaxon/_sdk/api/tags_v1_api.py +17 -17
  119. polyaxon/_sdk/api/teams_v1_api.py +51 -51
  120. polyaxon/_sdk/api/users_v1_api.py +25 -25
  121. polyaxon/_sdk/api/versions_v1_api.py +7 -7
  122. polyaxon/_sdk/schemas/v1_activity.py +8 -8
  123. polyaxon/_sdk/schemas/v1_agent.py +17 -17
  124. polyaxon/_sdk/schemas/v1_agent_state_response.py +4 -4
  125. polyaxon/_sdk/schemas/v1_agent_state_response_agent_state.py +10 -10
  126. polyaxon/_sdk/schemas/v1_agent_status_body_request.py +3 -3
  127. polyaxon/_sdk/schemas/v1_analytics_spec.py +4 -4
  128. polyaxon/_sdk/schemas/v1_artifact_tree.py +3 -3
  129. polyaxon/_sdk/schemas/v1_auth.py +1 -1
  130. polyaxon/_sdk/schemas/v1_cloning.py +3 -3
  131. polyaxon/_sdk/schemas/v1_connection_response.py +9 -9
  132. polyaxon/_sdk/schemas/v1_dashboard.py +9 -9
  133. polyaxon/_sdk/schemas/v1_dashboard_spec.py +5 -5
  134. polyaxon/_sdk/schemas/v1_entities_tags.py +2 -2
  135. polyaxon/_sdk/schemas/v1_entities_transfer.py +2 -2
  136. polyaxon/_sdk/schemas/v1_entity_notification_body.py +7 -7
  137. polyaxon/_sdk/schemas/v1_entity_stage_body_request.py +5 -5
  138. polyaxon/_sdk/schemas/v1_entity_status_body_request.py +5 -5
  139. polyaxon/_sdk/schemas/v1_events_response.py +2 -2
  140. polyaxon/_sdk/schemas/v1_list_activities_response.py +4 -4
  141. polyaxon/_sdk/schemas/v1_list_agents_response.py +4 -4
  142. polyaxon/_sdk/schemas/v1_list_bookmarks_response.py +4 -4
  143. polyaxon/_sdk/schemas/v1_list_connections_response.py +4 -4
  144. polyaxon/_sdk/schemas/v1_list_dashboards_response.py +4 -4
  145. polyaxon/_sdk/schemas/v1_list_organization_members_response.py +4 -4
  146. polyaxon/_sdk/schemas/v1_list_organizations_response.py +4 -4
  147. polyaxon/_sdk/schemas/v1_list_presets_response.py +4 -4
  148. polyaxon/_sdk/schemas/v1_list_project_versions_response.py +4 -4
  149. polyaxon/_sdk/schemas/v1_list_projects_response.py +4 -4
  150. polyaxon/_sdk/schemas/v1_list_queues_response.py +4 -4
  151. polyaxon/_sdk/schemas/v1_list_run_artifacts_response.py +4 -4
  152. polyaxon/_sdk/schemas/v1_list_run_connections_response.py +4 -4
  153. polyaxon/_sdk/schemas/v1_list_run_edges_response.py +4 -4
  154. polyaxon/_sdk/schemas/v1_list_runs_response.py +4 -4
  155. polyaxon/_sdk/schemas/v1_list_searches_response.py +4 -4
  156. polyaxon/_sdk/schemas/v1_list_service_accounts_response.py +4 -4
  157. polyaxon/_sdk/schemas/v1_list_tags_response.py +4 -4
  158. polyaxon/_sdk/schemas/v1_list_team_members_response.py +4 -4
  159. polyaxon/_sdk/schemas/v1_list_teams_response.py +4 -4
  160. polyaxon/_sdk/schemas/v1_list_token_response.py +4 -4
  161. polyaxon/_sdk/schemas/v1_operation_body.py +8 -8
  162. polyaxon/_sdk/schemas/v1_organization.py +16 -16
  163. polyaxon/_sdk/schemas/v1_organization_member.py +6 -6
  164. polyaxon/_sdk/schemas/v1_password_change.py +3 -3
  165. polyaxon/_sdk/schemas/v1_pipeline.py +3 -3
  166. polyaxon/_sdk/schemas/v1_preset.py +11 -11
  167. polyaxon/_sdk/schemas/v1_project.py +17 -17
  168. polyaxon/_sdk/schemas/v1_project_settings.py +11 -11
  169. polyaxon/_sdk/schemas/v1_project_version.py +20 -20
  170. polyaxon/_sdk/schemas/v1_queue.py +12 -12
  171. polyaxon/_sdk/schemas/v1_run.py +38 -38
  172. polyaxon/_sdk/schemas/v1_run_connection.py +3 -3
  173. polyaxon/_sdk/schemas/v1_run_edge.py +5 -5
  174. polyaxon/_sdk/schemas/v1_run_edge_lineage.py +3 -3
  175. polyaxon/_sdk/schemas/v1_run_edges_graph.py +1 -1
  176. polyaxon/_sdk/schemas/v1_run_reference_catalog.py +4 -4
  177. polyaxon/_sdk/schemas/v1_run_settings.py +9 -9
  178. polyaxon/_sdk/schemas/v1_search.py +10 -10
  179. polyaxon/_sdk/schemas/v1_search_spec.py +14 -14
  180. polyaxon/_sdk/schemas/v1_section_spec.py +12 -12
  181. polyaxon/_sdk/schemas/v1_service_account.py +9 -9
  182. polyaxon/_sdk/schemas/v1_settings_catalog.py +4 -4
  183. polyaxon/_sdk/schemas/v1_tag.py +6 -6
  184. polyaxon/_sdk/schemas/v1_team.py +11 -11
  185. polyaxon/_sdk/schemas/v1_team_member.py +6 -6
  186. polyaxon/_sdk/schemas/v1_team_settings.py +2 -2
  187. polyaxon/_sdk/schemas/v1_token.py +10 -10
  188. polyaxon/_sdk/schemas/v1_trial_start.py +6 -6
  189. polyaxon/_sdk/schemas/v1_user.py +6 -6
  190. polyaxon/_sdk/schemas/v1_user_access.py +7 -7
  191. polyaxon/_sdk/schemas/v1_user_email.py +1 -1
  192. polyaxon/_sdk/schemas/v1_user_singup.py +5 -5
  193. polyaxon/_sdk/schemas/v1_uuids.py +1 -1
  194. polyaxon/_utils/test_utils.py +2 -1
  195. polyaxon/pkg.py +1 -1
  196. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/METADATA +10 -10
  197. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/RECORD +201 -201
  198. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/LICENSE +0 -0
  199. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/WHEEL +0 -0
  200. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/entry_points.txt +0 -0
  201. {polyaxon-2.5.3.dist-info → polyaxon-2.6.0.post1.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  from typing import Optional
2
2
  from typing_extensions import Annotated
3
3
 
4
- from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_arguments
4
+ from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
5
5
 
6
6
  from polyaxon._sdk.base_api import BaseApi
7
7
  from polyaxon._sdk.schemas.v1_list_presets_response import V1ListPresetsResponse
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
10
10
 
11
11
 
12
12
  class PresetsV1Api(BaseApi):
13
- @validate_arguments
13
+ @validate_call
14
14
  def create_preset(
15
15
  self,
16
16
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -47,7 +47,7 @@ class PresetsV1Api(BaseApi):
47
47
  kwargs["_return_http_data_only"] = True
48
48
  return self.create_preset_with_http_info(owner, body, **kwargs)
49
49
 
50
- @validate_arguments
50
+ @validate_call
51
51
  def create_preset_with_http_info(
52
52
  self,
53
53
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -179,7 +179,7 @@ class PresetsV1Api(BaseApi):
179
179
  _request_auth=_params.get("_request_auth"),
180
180
  )
181
181
 
182
- @validate_arguments
182
+ @validate_call
183
183
  def delete_preset(
184
184
  self,
185
185
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -226,7 +226,7 @@ class PresetsV1Api(BaseApi):
226
226
  owner, uuid, entity, **kwargs
227
227
  ) # noqa: E501
228
228
 
229
- @validate_arguments
229
+ @validate_call
230
230
  def delete_preset_with_http_info(
231
231
  self,
232
232
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -355,7 +355,7 @@ class PresetsV1Api(BaseApi):
355
355
  _request_auth=_params.get("_request_auth"),
356
356
  )
357
357
 
358
- @validate_arguments
358
+ @validate_call
359
359
  def get_preset(
360
360
  self,
361
361
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -402,7 +402,7 @@ class PresetsV1Api(BaseApi):
402
402
  owner, uuid, entity, **kwargs
403
403
  ) # noqa: E501
404
404
 
405
- @validate_arguments
405
+ @validate_call
406
406
  def get_preset_with_http_info(
407
407
  self,
408
408
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -536,7 +536,7 @@ class PresetsV1Api(BaseApi):
536
536
  _request_auth=_params.get("_request_auth"),
537
537
  )
538
538
 
539
- @validate_arguments
539
+ @validate_call
540
540
  def list_preset_names(
541
541
  self,
542
542
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -603,7 +603,7 @@ class PresetsV1Api(BaseApi):
603
603
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
604
604
  ) # noqa: E501
605
605
 
606
- @validate_arguments
606
+ @validate_call
607
607
  def list_preset_names_with_http_info(
608
608
  self,
609
609
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -776,7 +776,7 @@ class PresetsV1Api(BaseApi):
776
776
  _request_auth=_params.get("_request_auth"),
777
777
  )
778
778
 
779
- @validate_arguments
779
+ @validate_call
780
780
  def list_presets(
781
781
  self,
782
782
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -843,7 +843,7 @@ class PresetsV1Api(BaseApi):
843
843
  owner, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
844
844
  ) # noqa: E501
845
845
 
846
- @validate_arguments
846
+ @validate_call
847
847
  def list_presets_with_http_info(
848
848
  self,
849
849
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1016,7 +1016,7 @@ class PresetsV1Api(BaseApi):
1016
1016
  _request_auth=_params.get("_request_auth"),
1017
1017
  )
1018
1018
 
1019
- @validate_arguments
1019
+ @validate_call
1020
1020
  def patch_preset(
1021
1021
  self,
1022
1022
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1058,7 +1058,7 @@ class PresetsV1Api(BaseApi):
1058
1058
  owner, preset_uuid, body, **kwargs
1059
1059
  ) # noqa: E501
1060
1060
 
1061
- @validate_arguments
1061
+ @validate_call
1062
1062
  def patch_preset_with_http_info(
1063
1063
  self,
1064
1064
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1195,7 +1195,7 @@ class PresetsV1Api(BaseApi):
1195
1195
  _request_auth=_params.get("_request_auth"),
1196
1196
  )
1197
1197
 
1198
- @validate_arguments
1198
+ @validate_call
1199
1199
  def update_preset(
1200
1200
  self,
1201
1201
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1237,7 +1237,7 @@ class PresetsV1Api(BaseApi):
1237
1237
  owner, preset_uuid, body, **kwargs
1238
1238
  ) # noqa: E501
1239
1239
 
1240
- @validate_arguments
1240
+ @validate_call
1241
1241
  def update_preset_with_http_info(
1242
1242
  self,
1243
1243
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1,7 +1,7 @@
1
1
  from typing import Optional
2
2
  from typing_extensions import Annotated
3
3
 
4
- from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_arguments
4
+ from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
5
5
 
6
6
  from polyaxon._sdk.base_api import BaseApi
7
7
  from polyaxon._sdk.schemas.v1_dashboard import V1Dashboard
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
10
10
 
11
11
 
12
12
  class ProjectDashboardsV1Api(BaseApi):
13
- @validate_arguments
13
+ @validate_call
14
14
  def create_project_dashboard(
15
15
  self,
16
16
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -54,7 +54,7 @@ class ProjectDashboardsV1Api(BaseApi):
54
54
  owner, project, body, **kwargs
55
55
  )
56
56
 
57
- @validate_arguments
57
+ @validate_call
58
58
  def create_project_dashboard_with_http_info(
59
59
  self,
60
60
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -193,7 +193,7 @@ class ProjectDashboardsV1Api(BaseApi):
193
193
  _request_auth=_params.get("_request_auth"),
194
194
  )
195
195
 
196
- @validate_arguments
196
+ @validate_call
197
197
  def delete_project_dashboard(
198
198
  self,
199
199
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -242,7 +242,7 @@ class ProjectDashboardsV1Api(BaseApi):
242
242
  owner, entity, uuid, **kwargs
243
243
  ) # noqa: E501
244
244
 
245
- @validate_arguments
245
+ @validate_call
246
246
  def delete_project_dashboard_with_http_info(
247
247
  self,
248
248
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -373,7 +373,7 @@ class ProjectDashboardsV1Api(BaseApi):
373
373
  _request_auth=_params.get("_request_auth"),
374
374
  )
375
375
 
376
- @validate_arguments
376
+ @validate_call
377
377
  def get_project_dashboard(
378
378
  self,
379
379
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -422,7 +422,7 @@ class ProjectDashboardsV1Api(BaseApi):
422
422
  owner, entity, uuid, **kwargs
423
423
  ) # noqa: E501
424
424
 
425
- @validate_arguments
425
+ @validate_call
426
426
  def get_project_dashboard_with_http_info(
427
427
  self,
428
428
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -558,7 +558,7 @@ class ProjectDashboardsV1Api(BaseApi):
558
558
  _request_auth=_params.get("_request_auth"),
559
559
  )
560
560
 
561
- @validate_arguments
561
+ @validate_call
562
562
  def list_project_dashboard_names(
563
563
  self,
564
564
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -630,7 +630,7 @@ class ProjectDashboardsV1Api(BaseApi):
630
630
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
631
631
  ) # noqa: E501
632
632
 
633
- @validate_arguments
633
+ @validate_call
634
634
  def list_project_dashboard_names_with_http_info(
635
635
  self,
636
636
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -811,7 +811,7 @@ class ProjectDashboardsV1Api(BaseApi):
811
811
  _request_auth=_params.get("_request_auth"),
812
812
  )
813
813
 
814
- @validate_arguments
814
+ @validate_call
815
815
  def list_project_dashboards(
816
816
  self,
817
817
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -883,7 +883,7 @@ class ProjectDashboardsV1Api(BaseApi):
883
883
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
884
884
  ) # noqa: E501
885
885
 
886
- @validate_arguments
886
+ @validate_call
887
887
  def list_project_dashboards_with_http_info(
888
888
  self,
889
889
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1064,7 +1064,7 @@ class ProjectDashboardsV1Api(BaseApi):
1064
1064
  _request_auth=_params.get("_request_auth"),
1065
1065
  )
1066
1066
 
1067
- @validate_arguments
1067
+ @validate_call
1068
1068
  def patch_project_dashboard(
1069
1069
  self,
1070
1070
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1111,7 +1111,7 @@ class ProjectDashboardsV1Api(BaseApi):
1111
1111
  owner, project, dashboard_uuid, body, **kwargs
1112
1112
  ) # noqa: E501
1113
1113
 
1114
- @validate_arguments
1114
+ @validate_call
1115
1115
  def patch_project_dashboard_with_http_info(
1116
1116
  self,
1117
1117
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1255,7 +1255,7 @@ class ProjectDashboardsV1Api(BaseApi):
1255
1255
  _request_auth=_params.get("_request_auth"),
1256
1256
  )
1257
1257
 
1258
- @validate_arguments
1258
+ @validate_call
1259
1259
  def promote_project_dashboard(
1260
1260
  self,
1261
1261
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1304,7 +1304,7 @@ class ProjectDashboardsV1Api(BaseApi):
1304
1304
  owner, entity, uuid, **kwargs
1305
1305
  ) # noqa: E501
1306
1306
 
1307
- @validate_arguments
1307
+ @validate_call
1308
1308
  def promote_project_dashboard_with_http_info(
1309
1309
  self,
1310
1310
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1435,7 +1435,7 @@ class ProjectDashboardsV1Api(BaseApi):
1435
1435
  _request_auth=_params.get("_request_auth"),
1436
1436
  )
1437
1437
 
1438
- @validate_arguments
1438
+ @validate_call
1439
1439
  def update_project_dashboard(
1440
1440
  self,
1441
1441
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1482,7 +1482,7 @@ class ProjectDashboardsV1Api(BaseApi):
1482
1482
  owner, project, dashboard_uuid, body, **kwargs
1483
1483
  ) # noqa: E501
1484
1484
 
1485
- @validate_arguments
1485
+ @validate_call
1486
1486
  def update_project_dashboard_with_http_info(
1487
1487
  self,
1488
1488
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1,7 +1,7 @@
1
1
  from typing import Optional
2
2
  from typing_extensions import Annotated
3
3
 
4
- from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_arguments
4
+ from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_call
5
5
 
6
6
  from polyaxon._sdk.base_api import BaseApi
7
7
  from polyaxon._sdk.schemas.v1_list_searches_response import V1ListSearchesResponse
@@ -10,7 +10,7 @@ from polyaxon.exceptions import ApiTypeError
10
10
 
11
11
 
12
12
  class ProjectSearchesV1Api(BaseApi):
13
- @validate_arguments
13
+ @validate_call
14
14
  def create_project_search(
15
15
  self,
16
16
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -54,7 +54,7 @@ class ProjectSearchesV1Api(BaseApi):
54
54
  owner, project, body, **kwargs
55
55
  ) # noqa: E501
56
56
 
57
- @validate_arguments
57
+ @validate_call
58
58
  def create_project_search_with_http_info(
59
59
  self,
60
60
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -193,7 +193,7 @@ class ProjectSearchesV1Api(BaseApi):
193
193
  _request_auth=_params.get("_request_auth"),
194
194
  )
195
195
 
196
- @validate_arguments
196
+ @validate_call
197
197
  def delete_project_search(
198
198
  self,
199
199
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -242,7 +242,7 @@ class ProjectSearchesV1Api(BaseApi):
242
242
  owner, entity, uuid, **kwargs
243
243
  ) # noqa: E501
244
244
 
245
- @validate_arguments
245
+ @validate_call
246
246
  def delete_project_search_with_http_info(
247
247
  self,
248
248
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -373,7 +373,7 @@ class ProjectSearchesV1Api(BaseApi):
373
373
  _request_auth=_params.get("_request_auth"),
374
374
  )
375
375
 
376
- @validate_arguments
376
+ @validate_call
377
377
  def get_project_search(
378
378
  self,
379
379
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -422,7 +422,7 @@ class ProjectSearchesV1Api(BaseApi):
422
422
  owner, entity, uuid, **kwargs
423
423
  ) # noqa: E501
424
424
 
425
- @validate_arguments
425
+ @validate_call
426
426
  def get_project_search_with_http_info(
427
427
  self,
428
428
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -558,7 +558,7 @@ class ProjectSearchesV1Api(BaseApi):
558
558
  _request_auth=_params.get("_request_auth"),
559
559
  )
560
560
 
561
- @validate_arguments
561
+ @validate_call
562
562
  def list_project_search_names(
563
563
  self,
564
564
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -630,7 +630,7 @@ class ProjectSearchesV1Api(BaseApi):
630
630
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
631
631
  ) # noqa: E501
632
632
 
633
- @validate_arguments
633
+ @validate_call
634
634
  def list_project_search_names_with_http_info(
635
635
  self,
636
636
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -811,7 +811,7 @@ class ProjectSearchesV1Api(BaseApi):
811
811
  _request_auth=_params.get("_request_auth"),
812
812
  )
813
813
 
814
- @validate_arguments
814
+ @validate_call
815
815
  def list_project_searches(
816
816
  self,
817
817
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -883,7 +883,7 @@ class ProjectSearchesV1Api(BaseApi):
883
883
  owner, name, offset, limit, sort, query, bookmarks, mode, no_page, **kwargs
884
884
  ) # noqa: E501
885
885
 
886
- @validate_arguments
886
+ @validate_call
887
887
  def list_project_searches_with_http_info(
888
888
  self,
889
889
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1064,7 +1064,7 @@ class ProjectSearchesV1Api(BaseApi):
1064
1064
  _request_auth=_params.get("_request_auth"),
1065
1065
  )
1066
1066
 
1067
- @validate_arguments
1067
+ @validate_call
1068
1068
  def patch_project_search(
1069
1069
  self,
1070
1070
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1111,7 +1111,7 @@ class ProjectSearchesV1Api(BaseApi):
1111
1111
  owner, project, search_uuid, body, **kwargs
1112
1112
  ) # noqa: E501
1113
1113
 
1114
- @validate_arguments
1114
+ @validate_call
1115
1115
  def patch_project_search_with_http_info(
1116
1116
  self,
1117
1117
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1255,7 +1255,7 @@ class ProjectSearchesV1Api(BaseApi):
1255
1255
  _request_auth=_params.get("_request_auth"),
1256
1256
  )
1257
1257
 
1258
- @validate_arguments
1258
+ @validate_call
1259
1259
  def promote_project_search(
1260
1260
  self,
1261
1261
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1304,7 +1304,7 @@ class ProjectSearchesV1Api(BaseApi):
1304
1304
  owner, entity, uuid, **kwargs
1305
1305
  ) # noqa: E501
1306
1306
 
1307
- @validate_arguments
1307
+ @validate_call
1308
1308
  def promote_project_search_with_http_info(
1309
1309
  self,
1310
1310
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1435,7 +1435,7 @@ class ProjectSearchesV1Api(BaseApi):
1435
1435
  _request_auth=_params.get("_request_auth"),
1436
1436
  )
1437
1437
 
1438
- @validate_arguments
1438
+ @validate_call
1439
1439
  def update_project_search(
1440
1440
  self,
1441
1441
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
@@ -1482,7 +1482,7 @@ class ProjectSearchesV1Api(BaseApi):
1482
1482
  owner, project, search_uuid, body, **kwargs
1483
1483
  ) # noqa: E501
1484
1484
 
1485
- @validate_arguments
1485
+ @validate_call
1486
1486
  def update_project_search_with_http_info(
1487
1487
  self,
1488
1488
  owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],