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.
- polyaxon/_cli/operations.py +1 -1
- polyaxon/_cli/projects.py +2 -2
- polyaxon/_compiler/contexts/contexts.py +5 -5
- polyaxon/_compiler/contexts/dask_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/mpi_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/mx_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/paddle_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/pytroch_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/tf_job.py +1 -1
- polyaxon/_compiler/contexts/kubeflow/xgb_job.py +1 -1
- polyaxon/_compiler/contexts/ray_job.py +1 -1
- polyaxon/_compiler/resolver/agent.py +1 -1
- polyaxon/_compiler/resolver/runtime.py +1 -1
- polyaxon/_deploy/schemas/deployment.py +1 -0
- polyaxon/_deploy/schemas/ui.py +3 -1
- polyaxon/_docker/converter/base/base.py +1 -1
- polyaxon/_docker/converter/base/env_vars.py +1 -1
- polyaxon/_docker/converter/converters/job.py +1 -1
- polyaxon/_docker/converter/converters/service.py +1 -1
- polyaxon/_flow/component/component.py +4 -0
- polyaxon/_flow/environment/__init__.py +5 -4
- polyaxon/_flow/io/io.py +2 -0
- polyaxon/_flow/matrix/params.py +1 -1
- polyaxon/_flow/operations/compiled_operation.py +4 -0
- polyaxon/_flow/operations/operation.py +5 -3
- polyaxon/_flow/params/params.py +2 -2
- polyaxon/_flow/run/__init__.py +3 -0
- polyaxon/_flow/run/dag.py +6 -6
- polyaxon/_flow/run/dask/dask.py +10 -0
- polyaxon/_flow/run/kubeflow/mpi_job.py +8 -0
- polyaxon/_flow/run/kubeflow/mx_job.py +16 -0
- polyaxon/_flow/run/kubeflow/paddle_job.py +8 -0
- polyaxon/_flow/run/kubeflow/pytorch_job.py +8 -0
- polyaxon/_flow/run/kubeflow/tf_job.py +12 -0
- polyaxon/_flow/run/kubeflow/xgboost_job.py +19 -33
- polyaxon/_flow/run/patch.py +37 -9
- polyaxon/_flow/run/ray/ray.py +9 -0
- polyaxon/_flow/run/resources.py +1 -1
- polyaxon/_fs/fs.py +1 -1
- polyaxon/_k8s/converter/base/containers.py +1 -1
- polyaxon/_k8s/converter/converters/dask_job.py +1 -1
- polyaxon/_k8s/converter/converters/job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/mpi_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/mx_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/paddle_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/pytroch_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/tf_job.py +1 -1
- polyaxon/_k8s/converter/converters/kubeflow/xgboost_job.py +1 -1
- polyaxon/_k8s/converter/converters/ray_job.py +1 -2
- polyaxon/_k8s/converter/converters/service.py +1 -1
- polyaxon/_k8s/k8s_validation.py +16 -16
- polyaxon/_k8s/logging/async_monitor.py +4 -4
- polyaxon/_k8s/manager/async_manager.py +5 -3
- polyaxon/_k8s/manager/manager.py +6 -6
- polyaxon/_local_process/converter/base/env_vars.py +1 -1
- polyaxon/_local_process/converter/base/init.py +1 -1
- polyaxon/_local_process/converter/base/mounts.py +0 -2
- polyaxon/_local_process/converter/converters/job.py +1 -1
- polyaxon/_local_process/converter/converters/service.py +1 -1
- polyaxon/_managers/project.py +3 -2
- polyaxon/_polyaxonfile/check.py +4 -4
- polyaxon/_polyaxonfile/specs/compiled_operation.py +8 -6
- polyaxon/_polyaxonfile/specs/libs/parser.py +1 -3
- polyaxon/_polyaxonfile/specs/libs/validator.py +1 -1
- polyaxon/_polyaxonfile/specs/operation.py +7 -3
- polyaxon/_pql/manager.py +1 -1
- polyaxon/_pql/parser.py +29 -26
- polyaxon/_runner/agent/base_agent.py +1 -2
- polyaxon/_runner/converter/init/artifacts.py +3 -2
- polyaxon/_runner/converter/init/tensorboard.py +1 -1
- polyaxon/_schemas/client.py +1 -1
- polyaxon/_sdk/api/agents_v1_api.py +56 -80
- polyaxon/_sdk/api/artifacts_stores_v1_api.py +2 -2
- polyaxon/_sdk/api/auth_v1_api.py +2 -6
- polyaxon/_sdk/api/connections_v1_api.py +16 -20
- polyaxon/_sdk/api/dashboards_v1_api.py +14 -14
- polyaxon/_sdk/api/organizations_v1_api.py +1735 -755
- polyaxon/_sdk/api/presets_v1_api.py +18 -26
- polyaxon/_sdk/api/project_dashboards_v1_api.py +17 -19
- polyaxon/_sdk/api/project_searches_v1_api.py +20 -28
- polyaxon/_sdk/api/projects_v1_api.py +74 -92
- polyaxon/_sdk/api/queues_v1_api.py +22 -30
- polyaxon/_sdk/api/runs_v1_api.py +157 -207
- polyaxon/_sdk/api/searches_v1_api.py +16 -20
- polyaxon/_sdk/api/service_accounts_v1_api.py +30 -38
- polyaxon/_sdk/api/tags_v1_api.py +19 -25
- polyaxon/_sdk/api/teams_v1_api.py +64 -90
- polyaxon/_sdk/api/users_v1_api.py +17 -19
- polyaxon/_sdk/api/versions_v1_api.py +4 -4
- polyaxon/_sdk/async_client/rest.py +1 -3
- polyaxon/_sdk/schemas/v1_organization.py +3 -2
- polyaxon/_sdk/schemas/v1_project_settings.py +2 -1
- polyaxon/_sdk/schemas/v1_section_spec.py +1 -1
- polyaxon/_sdk/schemas/v1_user_access.py +3 -2
- polyaxon/_sdk/sync_client/api_client.py +2 -6
- polyaxon/_sdk/sync_client/rest.py +4 -8
- polyaxon/pkg.py +1 -1
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/METADATA +9 -9
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/RECORD +103 -103
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/LICENSE +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/WHEEL +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.6.0rc1.dist-info → polyaxon-2.7.0rc0.dist-info}/top_level.txt +0 -0
@@ -26,7 +26,7 @@ class AgentsV1Api(BaseApi):
|
|
26
26
|
uuid: Annotated[
|
27
27
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
28
28
|
],
|
29
|
-
**kwargs
|
29
|
+
**kwargs,
|
30
30
|
) -> object: # noqa: E501
|
31
31
|
"""collect agent # noqa: E501
|
32
32
|
|
@@ -58,9 +58,7 @@ class AgentsV1Api(BaseApi):
|
|
58
58
|
:rtype: object
|
59
59
|
"""
|
60
60
|
kwargs["_return_http_data_only"] = True
|
61
|
-
return self.collect_agent_data_with_http_info(
|
62
|
-
namespace, owner, uuid, **kwargs
|
63
|
-
) # noqa: E501
|
61
|
+
return self.collect_agent_data_with_http_info(namespace, owner, uuid, **kwargs) # noqa: E501
|
64
62
|
|
65
63
|
@validate_call
|
66
64
|
def collect_agent_data_with_http_info(
|
@@ -70,7 +68,7 @@ class AgentsV1Api(BaseApi):
|
|
70
68
|
uuid: Annotated[
|
71
69
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
72
70
|
],
|
73
|
-
**kwargs
|
71
|
+
**kwargs,
|
74
72
|
): # noqa: E501
|
75
73
|
"""collect agent # noqa: E501
|
76
74
|
|
@@ -194,7 +192,7 @@ class AgentsV1Api(BaseApi):
|
|
194
192
|
self,
|
195
193
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
196
194
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
197
|
-
**kwargs
|
195
|
+
**kwargs,
|
198
196
|
) -> V1Agent: # noqa: E501
|
199
197
|
"""Create agent # noqa: E501
|
200
198
|
|
@@ -231,7 +229,7 @@ class AgentsV1Api(BaseApi):
|
|
231
229
|
self,
|
232
230
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
233
231
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
234
|
-
**kwargs
|
232
|
+
**kwargs,
|
235
233
|
): # noqa: E501
|
236
234
|
"""Create agent # noqa: E501
|
237
235
|
|
@@ -366,7 +364,7 @@ class AgentsV1Api(BaseApi):
|
|
366
364
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
367
365
|
],
|
368
366
|
body: V1AgentStatusBodyRequest,
|
369
|
-
**kwargs
|
367
|
+
**kwargs,
|
370
368
|
) -> V1Status: # noqa: E501
|
371
369
|
"""Create new agent status # noqa: E501
|
372
370
|
|
@@ -398,9 +396,7 @@ class AgentsV1Api(BaseApi):
|
|
398
396
|
:rtype: V1Status
|
399
397
|
"""
|
400
398
|
kwargs["_return_http_data_only"] = True
|
401
|
-
return self.create_agent_status_with_http_info(
|
402
|
-
owner, uuid, body, **kwargs
|
403
|
-
) # noqa: E501
|
399
|
+
return self.create_agent_status_with_http_info(owner, uuid, body, **kwargs) # noqa: E501
|
404
400
|
|
405
401
|
@validate_call
|
406
402
|
def create_agent_status_with_http_info(
|
@@ -410,7 +406,7 @@ class AgentsV1Api(BaseApi):
|
|
410
406
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
411
407
|
],
|
412
408
|
body: V1AgentStatusBodyRequest,
|
413
|
-
**kwargs
|
409
|
+
**kwargs,
|
414
410
|
): # noqa: E501
|
415
411
|
"""Create new agent status # noqa: E501
|
416
412
|
|
@@ -552,7 +548,7 @@ class AgentsV1Api(BaseApi):
|
|
552
548
|
Optional[StrictStr],
|
553
549
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
554
550
|
] = None,
|
555
|
-
**kwargs
|
551
|
+
**kwargs,
|
556
552
|
): # noqa: E501
|
557
553
|
"""Delete agent # noqa: E501
|
558
554
|
|
@@ -584,9 +580,7 @@ class AgentsV1Api(BaseApi):
|
|
584
580
|
:rtype: None
|
585
581
|
"""
|
586
582
|
kwargs["_return_http_data_only"] = True
|
587
|
-
return self.delete_agent_with_http_info(
|
588
|
-
owner, uuid, entity, **kwargs
|
589
|
-
) # noqa: E501
|
583
|
+
return self.delete_agent_with_http_info(owner, uuid, entity, **kwargs) # noqa: E501
|
590
584
|
|
591
585
|
@validate_call
|
592
586
|
def delete_agent_with_http_info(
|
@@ -599,7 +593,7 @@ class AgentsV1Api(BaseApi):
|
|
599
593
|
Optional[StrictStr],
|
600
594
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
601
595
|
] = None,
|
602
|
-
**kwargs
|
596
|
+
**kwargs,
|
603
597
|
): # noqa: E501
|
604
598
|
"""Delete agent # noqa: E501
|
605
599
|
|
@@ -728,7 +722,7 @@ class AgentsV1Api(BaseApi):
|
|
728
722
|
Optional[StrictStr],
|
729
723
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
730
724
|
] = None,
|
731
|
-
**kwargs
|
725
|
+
**kwargs,
|
732
726
|
) -> V1Agent: # noqa: E501
|
733
727
|
"""Get agent # noqa: E501
|
734
728
|
|
@@ -760,9 +754,7 @@ class AgentsV1Api(BaseApi):
|
|
760
754
|
:rtype: V1Agent
|
761
755
|
"""
|
762
756
|
kwargs["_return_http_data_only"] = True
|
763
|
-
return self.get_agent_with_http_info(
|
764
|
-
owner, uuid, entity, **kwargs
|
765
|
-
) # noqa: E501
|
757
|
+
return self.get_agent_with_http_info(owner, uuid, entity, **kwargs) # noqa: E501
|
766
758
|
|
767
759
|
@validate_call
|
768
760
|
def get_agent_with_http_info(
|
@@ -775,7 +767,7 @@ class AgentsV1Api(BaseApi):
|
|
775
767
|
Optional[StrictStr],
|
776
768
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
777
769
|
] = None,
|
778
|
-
**kwargs
|
770
|
+
**kwargs,
|
779
771
|
): # noqa: E501
|
780
772
|
"""Get agent # noqa: E501
|
781
773
|
|
@@ -909,7 +901,7 @@ class AgentsV1Api(BaseApi):
|
|
909
901
|
Optional[StrictStr],
|
910
902
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
911
903
|
] = None,
|
912
|
-
**kwargs
|
904
|
+
**kwargs,
|
913
905
|
) -> V1Agent: # noqa: E501
|
914
906
|
"""Get agent config # noqa: E501
|
915
907
|
|
@@ -941,9 +933,7 @@ class AgentsV1Api(BaseApi):
|
|
941
933
|
:rtype: V1Agent
|
942
934
|
"""
|
943
935
|
kwargs["_return_http_data_only"] = True
|
944
|
-
return self.get_agent_config_with_http_info(
|
945
|
-
owner, uuid, entity, **kwargs
|
946
|
-
) # noqa: E501
|
936
|
+
return self.get_agent_config_with_http_info(owner, uuid, entity, **kwargs) # noqa: E501
|
947
937
|
|
948
938
|
@validate_call
|
949
939
|
def get_agent_config_with_http_info(
|
@@ -956,7 +946,7 @@ class AgentsV1Api(BaseApi):
|
|
956
946
|
Optional[StrictStr],
|
957
947
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
958
948
|
] = None,
|
959
|
-
**kwargs
|
949
|
+
**kwargs,
|
960
950
|
): # noqa: E501
|
961
951
|
"""Get agent config # noqa: E501
|
962
952
|
|
@@ -1097,7 +1087,7 @@ class AgentsV1Api(BaseApi):
|
|
1097
1087
|
connection: Annotated[
|
1098
1088
|
Optional[StrictStr], Field(description="Connection to use.")
|
1099
1089
|
] = None,
|
1100
|
-
**kwargs
|
1090
|
+
**kwargs,
|
1101
1091
|
) -> V1Logs: # noqa: E501
|
1102
1092
|
"""Get run logs # noqa: E501
|
1103
1093
|
|
@@ -1159,7 +1149,7 @@ class AgentsV1Api(BaseApi):
|
|
1159
1149
|
connection: Annotated[
|
1160
1150
|
Optional[StrictStr], Field(description="Connection to use.")
|
1161
1151
|
] = None,
|
1162
|
-
**kwargs
|
1152
|
+
**kwargs,
|
1163
1153
|
): # noqa: E501
|
1164
1154
|
"""Get run logs # noqa: E501
|
1165
1155
|
|
@@ -1310,7 +1300,7 @@ class AgentsV1Api(BaseApi):
|
|
1310
1300
|
uuid: Annotated[
|
1311
1301
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
1312
1302
|
],
|
1313
|
-
**kwargs
|
1303
|
+
**kwargs,
|
1314
1304
|
) -> V1AgentStateResponse: # noqa: E501
|
1315
1305
|
"""Get State (queues/runs) # noqa: E501
|
1316
1306
|
|
@@ -1349,7 +1339,7 @@ class AgentsV1Api(BaseApi):
|
|
1349
1339
|
uuid: Annotated[
|
1350
1340
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
1351
1341
|
],
|
1352
|
-
**kwargs
|
1342
|
+
**kwargs,
|
1353
1343
|
): # noqa: E501
|
1354
1344
|
"""Get State (queues/runs) # noqa: E501
|
1355
1345
|
|
@@ -1479,7 +1469,7 @@ class AgentsV1Api(BaseApi):
|
|
1479
1469
|
Optional[StrictStr],
|
1480
1470
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
1481
1471
|
] = None,
|
1482
|
-
**kwargs
|
1472
|
+
**kwargs,
|
1483
1473
|
) -> V1Status: # noqa: E501
|
1484
1474
|
"""Get Agent statuses # noqa: E501
|
1485
1475
|
|
@@ -1511,9 +1501,7 @@ class AgentsV1Api(BaseApi):
|
|
1511
1501
|
:rtype: V1Status
|
1512
1502
|
"""
|
1513
1503
|
kwargs["_return_http_data_only"] = True
|
1514
|
-
return self.get_agent_statuses_with_http_info(
|
1515
|
-
owner, uuid, entity, **kwargs
|
1516
|
-
) # noqa: E501
|
1504
|
+
return self.get_agent_statuses_with_http_info(owner, uuid, entity, **kwargs) # noqa: E501
|
1517
1505
|
|
1518
1506
|
@validate_call
|
1519
1507
|
def get_agent_statuses_with_http_info(
|
@@ -1526,7 +1514,7 @@ class AgentsV1Api(BaseApi):
|
|
1526
1514
|
Optional[StrictStr],
|
1527
1515
|
Field(description="Entity: project name, hub name, registry name, ..."),
|
1528
1516
|
] = None,
|
1529
|
-
**kwargs
|
1517
|
+
**kwargs,
|
1530
1518
|
): # noqa: E501
|
1531
1519
|
"""Get Agent statuses # noqa: E501
|
1532
1520
|
|
@@ -1654,7 +1642,7 @@ class AgentsV1Api(BaseApi):
|
|
1654
1642
|
uuid: Annotated[
|
1655
1643
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
1656
1644
|
],
|
1657
|
-
**kwargs
|
1645
|
+
**kwargs,
|
1658
1646
|
) -> V1Token: # noqa: E501
|
1659
1647
|
"""Get agent token # noqa: E501
|
1660
1648
|
|
@@ -1693,7 +1681,7 @@ class AgentsV1Api(BaseApi):
|
|
1693
1681
|
uuid: Annotated[
|
1694
1682
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
1695
1683
|
],
|
1696
|
-
**kwargs
|
1684
|
+
**kwargs,
|
1697
1685
|
): # noqa: E501
|
1698
1686
|
"""Get agent token # noqa: E501
|
1699
1687
|
|
@@ -1816,7 +1804,7 @@ class AgentsV1Api(BaseApi):
|
|
1816
1804
|
def get_global_state(
|
1817
1805
|
self,
|
1818
1806
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1819
|
-
**kwargs
|
1807
|
+
**kwargs,
|
1820
1808
|
) -> V1AgentStateResponse: # noqa: E501
|
1821
1809
|
"""Get Global State (queues/runs) # noqa: E501
|
1822
1810
|
|
@@ -1850,7 +1838,7 @@ class AgentsV1Api(BaseApi):
|
|
1850
1838
|
def get_global_state_with_http_info(
|
1851
1839
|
self,
|
1852
1840
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
1853
|
-
**kwargs
|
1841
|
+
**kwargs,
|
1854
1842
|
): # noqa: E501
|
1855
1843
|
"""Get Global State (queues/runs) # noqa: E501
|
1856
1844
|
|
@@ -1979,7 +1967,7 @@ class AgentsV1Api(BaseApi):
|
|
1979
1967
|
connection: Annotated[
|
1980
1968
|
Optional[StrictStr], Field(description="Connection to use.")
|
1981
1969
|
] = None,
|
1982
|
-
**kwargs
|
1970
|
+
**kwargs,
|
1983
1971
|
) -> object: # noqa: E501
|
1984
1972
|
"""Inspect an agent's service full conditions # noqa: E501
|
1985
1973
|
|
@@ -2041,7 +2029,7 @@ class AgentsV1Api(BaseApi):
|
|
2041
2029
|
connection: Annotated[
|
2042
2030
|
Optional[StrictStr], Field(description="Connection to use.")
|
2043
2031
|
] = None,
|
2044
|
-
**kwargs
|
2032
|
+
**kwargs,
|
2045
2033
|
): # noqa: E501
|
2046
2034
|
"""Inspect an agent's service full conditions # noqa: E501
|
2047
2035
|
|
@@ -2206,7 +2194,7 @@ class AgentsV1Api(BaseApi):
|
|
2206
2194
|
Optional[StrictStr], Field(description="Mode of the search.")
|
2207
2195
|
] = None,
|
2208
2196
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
2209
|
-
**kwargs
|
2197
|
+
**kwargs,
|
2210
2198
|
) -> V1ListAgentsResponse: # noqa: E501
|
2211
2199
|
"""List agents names # noqa: E501
|
2212
2200
|
|
@@ -2273,7 +2261,7 @@ class AgentsV1Api(BaseApi):
|
|
2273
2261
|
Optional[StrictStr], Field(description="Mode of the search.")
|
2274
2262
|
] = None,
|
2275
2263
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
2276
|
-
**kwargs
|
2264
|
+
**kwargs,
|
2277
2265
|
): # noqa: E501
|
2278
2266
|
"""List agents names # noqa: E501
|
2279
2267
|
|
@@ -2446,7 +2434,7 @@ class AgentsV1Api(BaseApi):
|
|
2446
2434
|
Optional[StrictStr], Field(description="Mode of the search.")
|
2447
2435
|
] = None,
|
2448
2436
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
2449
|
-
**kwargs
|
2437
|
+
**kwargs,
|
2450
2438
|
) -> V1ListAgentsResponse: # noqa: E501
|
2451
2439
|
"""List agents # noqa: E501
|
2452
2440
|
|
@@ -2513,7 +2501,7 @@ class AgentsV1Api(BaseApi):
|
|
2513
2501
|
Optional[StrictStr], Field(description="Mode of the search.")
|
2514
2502
|
] = None,
|
2515
2503
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
2516
|
-
**kwargs
|
2504
|
+
**kwargs,
|
2517
2505
|
): # noqa: E501
|
2518
2506
|
"""List agents # noqa: E501
|
2519
2507
|
|
@@ -2671,7 +2659,7 @@ class AgentsV1Api(BaseApi):
|
|
2671
2659
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2672
2660
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2673
2661
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
2674
|
-
**kwargs
|
2662
|
+
**kwargs,
|
2675
2663
|
) -> V1Agent: # noqa: E501
|
2676
2664
|
"""Patch agent # noqa: E501
|
2677
2665
|
|
@@ -2703,9 +2691,7 @@ class AgentsV1Api(BaseApi):
|
|
2703
2691
|
:rtype: V1Agent
|
2704
2692
|
"""
|
2705
2693
|
kwargs["_return_http_data_only"] = True
|
2706
|
-
return self.patch_agent_with_http_info(
|
2707
|
-
owner, agent_uuid, body, **kwargs
|
2708
|
-
) # noqa: E501
|
2694
|
+
return self.patch_agent_with_http_info(owner, agent_uuid, body, **kwargs) # noqa: E501
|
2709
2695
|
|
2710
2696
|
@validate_call
|
2711
2697
|
def patch_agent_with_http_info(
|
@@ -2713,7 +2699,7 @@ class AgentsV1Api(BaseApi):
|
|
2713
2699
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2714
2700
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
2715
2701
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
2716
|
-
**kwargs
|
2702
|
+
**kwargs,
|
2717
2703
|
): # noqa: E501
|
2718
2704
|
"""Patch agent # noqa: E501
|
2719
2705
|
|
@@ -2850,7 +2836,7 @@ class AgentsV1Api(BaseApi):
|
|
2850
2836
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2851
2837
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2852
2838
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2853
|
-
**kwargs
|
2839
|
+
**kwargs,
|
2854
2840
|
) -> V1Token: # noqa: E501
|
2855
2841
|
"""Patch agent token # noqa: E501
|
2856
2842
|
|
@@ -2882,9 +2868,7 @@ class AgentsV1Api(BaseApi):
|
|
2882
2868
|
:rtype: V1Token
|
2883
2869
|
"""
|
2884
2870
|
kwargs["_return_http_data_only"] = True
|
2885
|
-
return self.patch_agent_token_with_http_info(
|
2886
|
-
owner, entity, body, **kwargs
|
2887
|
-
) # noqa: E501
|
2871
|
+
return self.patch_agent_token_with_http_info(owner, entity, body, **kwargs) # noqa: E501
|
2888
2872
|
|
2889
2873
|
@validate_call
|
2890
2874
|
def patch_agent_token_with_http_info(
|
@@ -2892,7 +2876,7 @@ class AgentsV1Api(BaseApi):
|
|
2892
2876
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
2893
2877
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
2894
2878
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
2895
|
-
**kwargs
|
2879
|
+
**kwargs,
|
2896
2880
|
): # noqa: E501
|
2897
2881
|
"""Patch agent token # noqa: E501
|
2898
2882
|
|
@@ -3031,7 +3015,7 @@ class AgentsV1Api(BaseApi):
|
|
3031
3015
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
3032
3016
|
],
|
3033
3017
|
body: V1AgentReconcileBodyRequest,
|
3034
|
-
**kwargs
|
3018
|
+
**kwargs,
|
3035
3019
|
) -> object: # noqa: E501
|
3036
3020
|
"""Reconcile agent # noqa: E501
|
3037
3021
|
|
@@ -3063,9 +3047,7 @@ class AgentsV1Api(BaseApi):
|
|
3063
3047
|
:rtype: object
|
3064
3048
|
"""
|
3065
3049
|
kwargs["_return_http_data_only"] = True
|
3066
|
-
return self.reconcile_agent_with_http_info(
|
3067
|
-
owner, uuid, body, **kwargs
|
3068
|
-
) # noqa: E501
|
3050
|
+
return self.reconcile_agent_with_http_info(owner, uuid, body, **kwargs) # noqa: E501
|
3069
3051
|
|
3070
3052
|
@validate_call
|
3071
3053
|
def reconcile_agent_with_http_info(
|
@@ -3075,7 +3057,7 @@ class AgentsV1Api(BaseApi):
|
|
3075
3057
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
3076
3058
|
],
|
3077
3059
|
body: V1AgentReconcileBodyRequest,
|
3078
|
-
**kwargs
|
3060
|
+
**kwargs,
|
3079
3061
|
): # noqa: E501
|
3080
3062
|
"""Reconcile agent # noqa: E501
|
3081
3063
|
|
@@ -3209,7 +3191,7 @@ class AgentsV1Api(BaseApi):
|
|
3209
3191
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3210
3192
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
3211
3193
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
3212
|
-
**kwargs
|
3194
|
+
**kwargs,
|
3213
3195
|
): # noqa: E501
|
3214
3196
|
"""Sync agent # noqa: E501
|
3215
3197
|
|
@@ -3241,9 +3223,7 @@ class AgentsV1Api(BaseApi):
|
|
3241
3223
|
:rtype: None
|
3242
3224
|
"""
|
3243
3225
|
kwargs["_return_http_data_only"] = True
|
3244
|
-
return self.sync_agent_with_http_info(
|
3245
|
-
owner, agent_uuid, body, **kwargs
|
3246
|
-
) # noqa: E501
|
3226
|
+
return self.sync_agent_with_http_info(owner, agent_uuid, body, **kwargs) # noqa: E501
|
3247
3227
|
|
3248
3228
|
@validate_call
|
3249
3229
|
def sync_agent_with_http_info(
|
@@ -3251,7 +3231,7 @@ class AgentsV1Api(BaseApi):
|
|
3251
3231
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3252
3232
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
3253
3233
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
3254
|
-
**kwargs
|
3234
|
+
**kwargs,
|
3255
3235
|
): # noqa: E501
|
3256
3236
|
"""Sync agent # noqa: E501
|
3257
3237
|
|
@@ -3382,7 +3362,7 @@ class AgentsV1Api(BaseApi):
|
|
3382
3362
|
self,
|
3383
3363
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3384
3364
|
body: Annotated[Optional[Dict], Field(..., description="Cron body")] = None,
|
3385
|
-
**kwargs
|
3365
|
+
**kwargs,
|
3386
3366
|
) -> V1AgentStateResponse: # noqa: E501
|
3387
3367
|
"""Global Cron agent # noqa: E501
|
3388
3368
|
|
@@ -3419,7 +3399,7 @@ class AgentsV1Api(BaseApi):
|
|
3419
3399
|
self,
|
3420
3400
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3421
3401
|
body: Annotated[Optional[Dict], Field(..., description="Cron body")] = None,
|
3422
|
-
**kwargs
|
3402
|
+
**kwargs,
|
3423
3403
|
): # noqa: E501
|
3424
3404
|
"""Cron agent # noqa: E501
|
3425
3405
|
|
@@ -3548,7 +3528,7 @@ class AgentsV1Api(BaseApi):
|
|
3548
3528
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3549
3529
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
3550
3530
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
3551
|
-
**kwargs
|
3531
|
+
**kwargs,
|
3552
3532
|
) -> V1Agent: # noqa: E501
|
3553
3533
|
"""Update agent # noqa: E501
|
3554
3534
|
|
@@ -3580,9 +3560,7 @@ class AgentsV1Api(BaseApi):
|
|
3580
3560
|
:rtype: V1Agent
|
3581
3561
|
"""
|
3582
3562
|
kwargs["_return_http_data_only"] = True
|
3583
|
-
return self.update_agent_with_http_info(
|
3584
|
-
owner, agent_uuid, body, **kwargs
|
3585
|
-
) # noqa: E501
|
3563
|
+
return self.update_agent_with_http_info(owner, agent_uuid, body, **kwargs) # noqa: E501
|
3586
3564
|
|
3587
3565
|
@validate_call
|
3588
3566
|
def update_agent_with_http_info(
|
@@ -3590,7 +3568,7 @@ class AgentsV1Api(BaseApi):
|
|
3590
3568
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3591
3569
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
3592
3570
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
3593
|
-
**kwargs
|
3571
|
+
**kwargs,
|
3594
3572
|
): # noqa: E501
|
3595
3573
|
"""Update agent # noqa: E501
|
3596
3574
|
|
@@ -3727,7 +3705,7 @@ class AgentsV1Api(BaseApi):
|
|
3727
3705
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3728
3706
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
3729
3707
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
3730
|
-
**kwargs
|
3708
|
+
**kwargs,
|
3731
3709
|
) -> V1Agent: # noqa: E501
|
3732
3710
|
"""Update agent config # noqa: E501
|
3733
3711
|
|
@@ -3769,7 +3747,7 @@ class AgentsV1Api(BaseApi):
|
|
3769
3747
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3770
3748
|
agent_uuid: Annotated[StrictStr, Field(..., description="UUID")],
|
3771
3749
|
body: Annotated[V1Agent, Field(..., description="Agent body")],
|
3772
|
-
**kwargs
|
3750
|
+
**kwargs,
|
3773
3751
|
): # noqa: E501
|
3774
3752
|
"""Update agent config # noqa: E501
|
3775
3753
|
|
@@ -3906,7 +3884,7 @@ class AgentsV1Api(BaseApi):
|
|
3906
3884
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3907
3885
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
3908
3886
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
3909
|
-
**kwargs
|
3887
|
+
**kwargs,
|
3910
3888
|
) -> V1Token: # noqa: E501
|
3911
3889
|
"""Update agent token # noqa: E501
|
3912
3890
|
|
@@ -3938,9 +3916,7 @@ class AgentsV1Api(BaseApi):
|
|
3938
3916
|
:rtype: V1Token
|
3939
3917
|
"""
|
3940
3918
|
kwargs["_return_http_data_only"] = True
|
3941
|
-
return self.update_agent_token_with_http_info(
|
3942
|
-
owner, entity, body, **kwargs
|
3943
|
-
) # noqa: E501
|
3919
|
+
return self.update_agent_token_with_http_info(owner, entity, body, **kwargs) # noqa: E501
|
3944
3920
|
|
3945
3921
|
@validate_call
|
3946
3922
|
def update_agent_token_with_http_info(
|
@@ -3948,7 +3924,7 @@ class AgentsV1Api(BaseApi):
|
|
3948
3924
|
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
3949
3925
|
entity: Annotated[StrictStr, Field(..., description="Entity")],
|
3950
3926
|
body: Annotated[V1Token, Field(..., description="Token body")],
|
3951
|
-
**kwargs
|
3927
|
+
**kwargs,
|
3952
3928
|
): # noqa: E501
|
3953
3929
|
"""Update agent token # noqa: E501
|
3954
3930
|
|
@@ -22,7 +22,7 @@ class ArtifactsStoresV1Api(BaseApi):
|
|
22
22
|
overwrite: Annotated[
|
23
23
|
Optional[bool], Field(description="File path query params.")
|
24
24
|
] = None,
|
25
|
-
**kwargs
|
25
|
+
**kwargs,
|
26
26
|
) -> None:
|
27
27
|
"""Upload artifact to a store
|
28
28
|
|
@@ -76,7 +76,7 @@ class ArtifactsStoresV1Api(BaseApi):
|
|
76
76
|
overwrite: Annotated[
|
77
77
|
Optional[bool], Field(description="File path query params.")
|
78
78
|
] = None,
|
79
|
-
**kwargs
|
79
|
+
**kwargs,
|
80
80
|
):
|
81
81
|
"""Upload artifact to a store
|
82
82
|
|
polyaxon/_sdk/api/auth_v1_api.py
CHANGED
@@ -460,9 +460,7 @@ class AuthV1Api(BaseApi):
|
|
460
460
|
)
|
461
461
|
|
462
462
|
@validate_call
|
463
|
-
def reset_password_confirm(
|
464
|
-
self, body: V1PasswordChange, **kwargs
|
465
|
-
) -> V1Auth: # noqa: E501
|
463
|
+
def reset_password_confirm(self, body: V1PasswordChange, **kwargs) -> V1Auth: # noqa: E501
|
466
464
|
"""Reset password confirm # noqa: E501
|
467
465
|
|
468
466
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -492,9 +490,7 @@ class AuthV1Api(BaseApi):
|
|
492
490
|
return self.reset_password_confirm_with_http_info(body, **kwargs) # noqa: E501
|
493
491
|
|
494
492
|
@validate_call
|
495
|
-
def reset_password_confirm_with_http_info(
|
496
|
-
self, body: V1PasswordChange, **kwargs
|
497
|
-
): # noqa: E501
|
493
|
+
def reset_password_confirm_with_http_info(self, body: V1PasswordChange, **kwargs): # noqa: E501
|
498
494
|
"""Reset password confirm # noqa: E501
|
499
495
|
|
500
496
|
This method makes a synchronous HTTP request by default. To make an
|
@@ -17,7 +17,7 @@ class ConnectionsV1Api(BaseApi):
|
|
17
17
|
body: Annotated[
|
18
18
|
V1ConnectionResponse, Field(..., description="Connection body")
|
19
19
|
],
|
20
|
-
**kwargs
|
20
|
+
**kwargs,
|
21
21
|
) -> V1ConnectionResponse: # noqa: E501
|
22
22
|
"""Create connection # noqa: E501
|
23
23
|
|
@@ -47,9 +47,7 @@ class ConnectionsV1Api(BaseApi):
|
|
47
47
|
:rtype: V1ConnectionResponse
|
48
48
|
"""
|
49
49
|
kwargs["_return_http_data_only"] = True
|
50
|
-
return self.create_connection_with_http_info(
|
51
|
-
owner, body, **kwargs
|
52
|
-
) # noqa: E501
|
50
|
+
return self.create_connection_with_http_info(owner, body, **kwargs) # noqa: E501
|
53
51
|
|
54
52
|
@validate_call
|
55
53
|
def create_connection_with_http_info(
|
@@ -58,7 +56,7 @@ class ConnectionsV1Api(BaseApi):
|
|
58
56
|
body: Annotated[
|
59
57
|
V1ConnectionResponse, Field(..., description="Connection body")
|
60
58
|
],
|
61
|
-
**kwargs
|
59
|
+
**kwargs,
|
62
60
|
): # noqa: E501
|
63
61
|
"""Create connection # noqa: E501
|
64
62
|
|
@@ -192,7 +190,7 @@ class ConnectionsV1Api(BaseApi):
|
|
192
190
|
uuid: Annotated[
|
193
191
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
194
192
|
],
|
195
|
-
**kwargs
|
193
|
+
**kwargs,
|
196
194
|
) -> None: # noqa: E501
|
197
195
|
"""Delete connection # noqa: E501
|
198
196
|
|
@@ -222,9 +220,7 @@ class ConnectionsV1Api(BaseApi):
|
|
222
220
|
:rtype: None
|
223
221
|
"""
|
224
222
|
kwargs["_return_http_data_only"] = True
|
225
|
-
return self.delete_connection_with_http_info(
|
226
|
-
owner, uuid, **kwargs
|
227
|
-
) # noqa: E501
|
223
|
+
return self.delete_connection_with_http_info(owner, uuid, **kwargs) # noqa: E501
|
228
224
|
|
229
225
|
@validate_call
|
230
226
|
def delete_connection_with_http_info(
|
@@ -233,7 +229,7 @@ class ConnectionsV1Api(BaseApi):
|
|
233
229
|
uuid: Annotated[
|
234
230
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
235
231
|
],
|
236
|
-
**kwargs
|
232
|
+
**kwargs,
|
237
233
|
): # noqa: E501
|
238
234
|
"""Delete connection # noqa: E501
|
239
235
|
|
@@ -354,7 +350,7 @@ class ConnectionsV1Api(BaseApi):
|
|
354
350
|
uuid: Annotated[
|
355
351
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
356
352
|
],
|
357
|
-
**kwargs
|
353
|
+
**kwargs,
|
358
354
|
) -> V1ConnectionResponse: # noqa: E501
|
359
355
|
"""Get connection # noqa: E501
|
360
356
|
|
@@ -393,7 +389,7 @@ class ConnectionsV1Api(BaseApi):
|
|
393
389
|
uuid: Annotated[
|
394
390
|
StrictStr, Field(..., description="Uuid identifier of the entity")
|
395
391
|
],
|
396
|
-
**kwargs
|
392
|
+
**kwargs,
|
397
393
|
): # noqa: E501
|
398
394
|
"""Get connection # noqa: E501
|
399
395
|
|
@@ -533,7 +529,7 @@ class ConnectionsV1Api(BaseApi):
|
|
533
529
|
Optional[StrictStr], Field(description="Mode of the search.")
|
534
530
|
] = None,
|
535
531
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
536
|
-
**kwargs
|
532
|
+
**kwargs,
|
537
533
|
) -> V1ListConnectionsResponse: # noqa: E501
|
538
534
|
"""List connections names # noqa: E501
|
539
535
|
|
@@ -600,7 +596,7 @@ class ConnectionsV1Api(BaseApi):
|
|
600
596
|
Optional[StrictStr], Field(description="Mode of the search.")
|
601
597
|
] = None,
|
602
598
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
603
|
-
**kwargs
|
599
|
+
**kwargs,
|
604
600
|
): # noqa: E501
|
605
601
|
"""List connections names # noqa: E501
|
606
602
|
|
@@ -773,7 +769,7 @@ class ConnectionsV1Api(BaseApi):
|
|
773
769
|
Optional[StrictStr], Field(description="Mode of the search.")
|
774
770
|
] = None,
|
775
771
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
776
|
-
**kwargs
|
772
|
+
**kwargs,
|
777
773
|
) -> V1ListConnectionsResponse: # noqa: E501
|
778
774
|
"""List connections # noqa: E501
|
779
775
|
|
@@ -840,7 +836,7 @@ class ConnectionsV1Api(BaseApi):
|
|
840
836
|
Optional[StrictStr], Field(description="Mode of the search.")
|
841
837
|
] = None,
|
842
838
|
no_page: Annotated[Optional[bool], Field(description="No pagination.")] = None,
|
843
|
-
**kwargs
|
839
|
+
**kwargs,
|
844
840
|
): # noqa: E501
|
845
841
|
"""List connections # noqa: E501
|
846
842
|
|
@@ -1000,7 +996,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1000
996
|
body: Annotated[
|
1001
997
|
V1ConnectionResponse, Field(..., description="Connection body")
|
1002
998
|
],
|
1003
|
-
**kwargs
|
999
|
+
**kwargs,
|
1004
1000
|
) -> V1ConnectionResponse: # noqa: E501
|
1005
1001
|
"""Patch connection # noqa: E501
|
1006
1002
|
|
@@ -1044,7 +1040,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1044
1040
|
body: Annotated[
|
1045
1041
|
V1ConnectionResponse, Field(..., description="Connection body")
|
1046
1042
|
],
|
1047
|
-
**kwargs
|
1043
|
+
**kwargs,
|
1048
1044
|
): # noqa: E501
|
1049
1045
|
"""Patch connection # noqa: E501
|
1050
1046
|
|
@@ -1183,7 +1179,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1183
1179
|
body: Annotated[
|
1184
1180
|
V1ConnectionResponse, Field(..., description="Connection body")
|
1185
1181
|
],
|
1186
|
-
**kwargs
|
1182
|
+
**kwargs,
|
1187
1183
|
) -> V1ConnectionResponse: # noqa: E501
|
1188
1184
|
"""Update connection # noqa: E501
|
1189
1185
|
|
@@ -1227,7 +1223,7 @@ class ConnectionsV1Api(BaseApi):
|
|
1227
1223
|
body: Annotated[
|
1228
1224
|
V1ConnectionResponse, Field(..., description="Connection body")
|
1229
1225
|
],
|
1230
|
-
**kwargs
|
1226
|
+
**kwargs,
|
1231
1227
|
): # noqa: E501
|
1232
1228
|
"""Update connection # noqa: E501
|
1233
1229
|
|