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
@@ -18,7 +18,7 @@ class QueuesV1Api(BaseApi):
18
18
  StrictStr, Field(..., description="Agent that consumes the queue")
19
19
  ],
20
20
  body: Annotated[V1Queue, Field(..., description="Queue body")],
21
- **kwargs
21
+ **kwargs,
22
22
  ) -> V1Queue: # noqa: E501
23
23
  """Create queue # noqa: E501
24
24
 
@@ -50,9 +50,7 @@ class QueuesV1Api(BaseApi):
50
50
  :rtype: V1Queue
51
51
  """
52
52
  kwargs["_return_http_data_only"] = True
53
- return self.create_queue_with_http_info(
54
- owner, agent, body, **kwargs
55
- ) # noqa: E501
53
+ return self.create_queue_with_http_info(owner, agent, body, **kwargs) # noqa: E501
56
54
 
57
55
  @validate_call
58
56
  def create_queue_with_http_info(
@@ -62,7 +60,7 @@ class QueuesV1Api(BaseApi):
62
60
  StrictStr, Field(..., description="Agent that consumes the queue")
63
61
  ],
64
62
  body: Annotated[V1Queue, Field(..., description="Queue body")],
65
- **kwargs
63
+ **kwargs,
66
64
  ): # noqa: E501
67
65
  """Create queue # noqa: E501
68
66
 
@@ -206,7 +204,7 @@ class QueuesV1Api(BaseApi):
206
204
  uuid: Annotated[
207
205
  StrictStr, Field(..., description="Uuid identifier of the sub-entity")
208
206
  ],
209
- **kwargs
207
+ **kwargs,
210
208
  ) -> None: # noqa: E501
211
209
  """Delete queue # noqa: E501
212
210
 
@@ -238,9 +236,7 @@ class QueuesV1Api(BaseApi):
238
236
  :rtype: None
239
237
  """
240
238
  kwargs["_return_http_data_only"] = True
241
- return self.delete_queue_with_http_info(
242
- owner, entity, uuid, **kwargs
243
- ) # noqa: E501
239
+ return self.delete_queue_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
244
240
 
245
241
  @validate_call
246
242
  def delete_queue_with_http_info(
@@ -255,7 +251,7 @@ class QueuesV1Api(BaseApi):
255
251
  uuid: Annotated[
256
252
  StrictStr, Field(..., description="Uuid identifier of the sub-entity")
257
253
  ],
258
- **kwargs
254
+ **kwargs,
259
255
  ): # noqa: E501
260
256
  """Delete queue # noqa: E501
261
257
 
@@ -386,7 +382,7 @@ class QueuesV1Api(BaseApi):
386
382
  uuid: Annotated[
387
383
  StrictStr, Field(..., description="Uuid identifier of the sub-entity")
388
384
  ],
389
- **kwargs
385
+ **kwargs,
390
386
  ) -> V1Queue: # noqa: E501
391
387
  """Get queue # noqa: E501
392
388
 
@@ -418,9 +414,7 @@ class QueuesV1Api(BaseApi):
418
414
  :rtype: V1Queue
419
415
  """
420
416
  kwargs["_return_http_data_only"] = True
421
- return self.get_queue_with_http_info(
422
- owner, entity, uuid, **kwargs
423
- ) # noqa: E501
417
+ return self.get_queue_with_http_info(owner, entity, uuid, **kwargs) # noqa: E501
424
418
 
425
419
  @validate_call
426
420
  def get_queue_with_http_info(
@@ -435,7 +429,7 @@ class QueuesV1Api(BaseApi):
435
429
  uuid: Annotated[
436
430
  StrictStr, Field(..., description="Uuid identifier of the sub-entity")
437
431
  ],
438
- **kwargs
432
+ **kwargs,
439
433
  ): # noqa: E501
440
434
  """Get queue # noqa: E501
441
435
 
@@ -579,7 +573,7 @@ class QueuesV1Api(BaseApi):
579
573
  Optional[StrictStr], Field(description="Mode of the search.")
580
574
  ] = None,
581
575
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
582
- **kwargs
576
+ **kwargs,
583
577
  ) -> V1ListQueuesResponse: # noqa: E501
584
578
  """List organization level queues names # noqa: E501
585
579
 
@@ -646,7 +640,7 @@ class QueuesV1Api(BaseApi):
646
640
  Optional[StrictStr], Field(description="Mode of the search.")
647
641
  ] = None,
648
642
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
649
- **kwargs
643
+ **kwargs,
650
644
  ): # noqa: E501
651
645
  """List organization level queues names # noqa: E501
652
646
 
@@ -819,7 +813,7 @@ class QueuesV1Api(BaseApi):
819
813
  Optional[StrictStr], Field(description="Mode of the search.")
820
814
  ] = None,
821
815
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
822
- **kwargs
816
+ **kwargs,
823
817
  ) -> V1ListQueuesResponse: # noqa: E501
824
818
  """List organization level queues # noqa: E501
825
819
 
@@ -886,7 +880,7 @@ class QueuesV1Api(BaseApi):
886
880
  Optional[StrictStr], Field(description="Mode of the search.")
887
881
  ] = None,
888
882
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
889
- **kwargs
883
+ **kwargs,
890
884
  ): # noqa: E501
891
885
  """List organization level queues # noqa: E501
892
886
 
@@ -1062,7 +1056,7 @@ class QueuesV1Api(BaseApi):
1062
1056
  Optional[StrictStr], Field(description="Mode of the search.")
1063
1057
  ] = None,
1064
1058
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
1065
- **kwargs
1059
+ **kwargs,
1066
1060
  ) -> V1ListQueuesResponse: # noqa: E501
1067
1061
  """List queues names # noqa: E501
1068
1062
 
@@ -1134,7 +1128,7 @@ class QueuesV1Api(BaseApi):
1134
1128
  Optional[StrictStr], Field(description="Mode of the search.")
1135
1129
  ] = None,
1136
1130
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
1137
- **kwargs
1131
+ **kwargs,
1138
1132
  ): # noqa: E501
1139
1133
  """List queues names # noqa: E501
1140
1134
 
@@ -1315,7 +1309,7 @@ class QueuesV1Api(BaseApi):
1315
1309
  Optional[StrictStr], Field(description="Mode of the search.")
1316
1310
  ] = None,
1317
1311
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
1318
- **kwargs
1312
+ **kwargs,
1319
1313
  ) -> V1ListQueuesResponse: # noqa: E501
1320
1314
  """List queues # noqa: E501
1321
1315
 
@@ -1387,7 +1381,7 @@ class QueuesV1Api(BaseApi):
1387
1381
  Optional[StrictStr], Field(description="Mode of the search.")
1388
1382
  ] = None,
1389
1383
  no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
1390
- **kwargs
1384
+ **kwargs,
1391
1385
  ): # noqa: E501
1392
1386
  """List queues # noqa: E501
1393
1387
 
@@ -1553,7 +1547,7 @@ class QueuesV1Api(BaseApi):
1553
1547
  ],
1554
1548
  queue_uuid: Annotated[StrictStr, Field(..., description="UUID")],
1555
1549
  body: Annotated[V1Queue, Field(..., description="Queue body")],
1556
- **kwargs
1550
+ **kwargs,
1557
1551
  ) -> V1Queue: # noqa: E501
1558
1552
  """Patch queue # noqa: E501
1559
1553
 
@@ -1587,9 +1581,7 @@ class QueuesV1Api(BaseApi):
1587
1581
  :rtype: V1Queue
1588
1582
  """
1589
1583
  kwargs["_return_http_data_only"] = True
1590
- return self.patch_queue_with_http_info(
1591
- owner, agent, queue_uuid, body, **kwargs
1592
- ) # noqa: E501
1584
+ return self.patch_queue_with_http_info(owner, agent, queue_uuid, body, **kwargs) # noqa: E501
1593
1585
 
1594
1586
  @validate_call
1595
1587
  def patch_queue_with_http_info(
@@ -1600,7 +1592,7 @@ class QueuesV1Api(BaseApi):
1600
1592
  ],
1601
1593
  queue_uuid: Annotated[StrictStr, Field(..., description="UUID")],
1602
1594
  body: Annotated[V1Queue, Field(..., description="Queue body")],
1603
- **kwargs
1595
+ **kwargs,
1604
1596
  ): # noqa: E501
1605
1597
  """Patch queue # noqa: E501
1606
1598
 
@@ -1744,7 +1736,7 @@ class QueuesV1Api(BaseApi):
1744
1736
  ],
1745
1737
  queue_uuid: Annotated[StrictStr, Field(..., description="UUID")],
1746
1738
  body: Annotated[V1Queue, Field(..., description="Queue body")],
1747
- **kwargs
1739
+ **kwargs,
1748
1740
  ) -> V1Queue: # noqa: E501
1749
1741
  """Update queue # noqa: E501
1750
1742
 
@@ -1791,7 +1783,7 @@ class QueuesV1Api(BaseApi):
1791
1783
  ],
1792
1784
  queue_uuid: Annotated[StrictStr, Field(..., description="UUID")],
1793
1785
  body: Annotated[V1Queue, Field(..., description="Queue body")],
1794
- **kwargs
1786
+ **kwargs,
1795
1787
  ): # noqa: E501
1796
1788
  """Update queue # noqa: E501
1797
1789