polyaxon 2.0.0rc49__py3-none-any.whl → 2.0.0rc51__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/_client/run.py +21 -1
- polyaxon/_compiler/contexts/contexts.py +2 -2
- polyaxon/_flow/run/enums.py +1 -0
- polyaxon/_schemas/lifecycle.py +4 -4
- polyaxon/_sdk/api/organizations_v1_api.py +29 -2
- polyaxon/_sdk/api/runs_v1_api.py +180 -0
- polyaxon/_sdk/schemas/__init__.py +2 -0
- polyaxon/_sdk/schemas/v1_organization.py +1 -0
- polyaxon/_sdk/schemas/v1_project.py +1 -0
- polyaxon/_sdk/schemas/v1_run.py +2 -2
- polyaxon/_sdk/schemas/v1_run_edge_lineage.py +14 -0
- polyaxon/_sdk/schemas/v1_run_edges_graph.py +9 -0
- polyaxon/pkg.py +1 -1
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.0.0rc51.dist-info}/METADATA +3 -3
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.0.0rc51.dist-info}/RECORD +19 -17
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.0.0rc51.dist-info}/LICENSE +0 -0
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.0.0rc51.dist-info}/WHEEL +0 -0
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.0.0rc51.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.0.0rc49.dist-info → polyaxon-2.0.0rc51.dist-info}/top_level.txt +0 -0
polyaxon/_client/run.py
CHANGED
@@ -58,6 +58,7 @@ from polyaxon._schemas.lifecycle import (
|
|
58
58
|
V1Statuses,
|
59
59
|
)
|
60
60
|
from polyaxon._schemas.types import V1ArtifactsType
|
61
|
+
from polyaxon._sdk.schemas import V1RunEdgeLineage, V1RunEdgesGraph
|
61
62
|
from polyaxon._sdk.schemas.v1_operation_body import V1OperationBody
|
62
63
|
from polyaxon._sdk.schemas.v1_project_version import V1ProjectVersion
|
63
64
|
from polyaxon._sdk.schemas.v1_run import V1Run
|
@@ -2119,6 +2120,10 @@ class RunClient:
|
|
2119
2120
|
if not self._has_meta_key("has_events"):
|
2120
2121
|
self.log_meta(has_events=True)
|
2121
2122
|
|
2123
|
+
def _log_has_traces(self):
|
2124
|
+
if not self._has_meta_key("has_traces"):
|
2125
|
+
self.log_meta(has_traces=True, has_events=True)
|
2126
|
+
|
2122
2127
|
def _log_has_metrics(self):
|
2123
2128
|
data = {}
|
2124
2129
|
if not self._has_meta_key("has_metrics"):
|
@@ -2646,6 +2651,21 @@ class RunClient:
|
|
2646
2651
|
force=force,
|
2647
2652
|
)
|
2648
2653
|
|
2654
|
+
@client_handler(check_no_op=True, check_offline=True)
|
2655
|
+
def set_run_edges_lineage(self, run_edges: List[V1RunEdgeLineage]):
|
2656
|
+
"""
|
2657
|
+
Set run edges lineage.
|
2658
|
+
|
2659
|
+
Args:
|
2660
|
+
run_edges: List[V1RunEdgeLineage], list of run edges.
|
2661
|
+
"""
|
2662
|
+
return self.client.runs_v1.set_run_edges_lineage(
|
2663
|
+
self.owner,
|
2664
|
+
self.project,
|
2665
|
+
self.run_uuid,
|
2666
|
+
body=V1RunEdgesGraph(edges=run_edges),
|
2667
|
+
)
|
2668
|
+
|
2649
2669
|
@client_handler(check_no_op=True, check_offline=True)
|
2650
2670
|
def promote_to_artifact_version(
|
2651
2671
|
self,
|
@@ -2669,7 +2689,7 @@ class RunClient:
|
|
2669
2689
|
description: str, optional, the version description.
|
2670
2690
|
tags: str or List[str], optional.
|
2671
2691
|
content: str or dict, optional, content/metadata (JSON object) of the version.
|
2672
|
-
connection: str, optional,
|
2692
|
+
connection: str, optional, uuid reference to a connection.
|
2673
2693
|
artifacts: List[str], optional, list of artifacts to highlight(requires passing a run)
|
2674
2694
|
force: bool, optional, to force push, i.e. update if exists.
|
2675
2695
|
|
@@ -55,7 +55,7 @@ def resolve_globals_contexts(
|
|
55
55
|
schedule_at: Optional[datetime] = None,
|
56
56
|
started_at: Optional[datetime] = None,
|
57
57
|
finished_at: Optional[datetime] = None,
|
58
|
-
duration: Optional[
|
58
|
+
duration: Optional[float] = None,
|
59
59
|
plugins: Optional[V1Plugins] = None,
|
60
60
|
artifacts_store: V1Connection = None,
|
61
61
|
cloning_kind: V1CloningKind = None,
|
@@ -134,7 +134,7 @@ def resolve_contexts(
|
|
134
134
|
schedule_at: Optional[datetime] = None,
|
135
135
|
started_at: Optional[datetime] = None,
|
136
136
|
finished_at: Optional[datetime] = None,
|
137
|
-
duration: Optional[
|
137
|
+
duration: Optional[float] = None,
|
138
138
|
cloning_kind: V1CloningKind = None,
|
139
139
|
original_uuid: Optional[str] = None,
|
140
140
|
is_independent: bool = True,
|
polyaxon/_flow/run/enums.py
CHANGED
polyaxon/_schemas/lifecycle.py
CHANGED
@@ -275,8 +275,8 @@ class LifeCycle:
|
|
275
275
|
entity.started_at = now()
|
276
276
|
# Update wait_time
|
277
277
|
if entity.wait_time is None:
|
278
|
-
entity.wait_time =
|
279
|
-
(entity.started_at - entity.created_at).total_seconds()
|
278
|
+
entity.wait_time = round(
|
279
|
+
(entity.started_at - entity.created_at).total_seconds(), 2
|
280
280
|
)
|
281
281
|
return True
|
282
282
|
|
@@ -290,8 +290,8 @@ class LifeCycle:
|
|
290
290
|
entity.started_at = entity.created_at
|
291
291
|
# Update duration
|
292
292
|
if entity.duration is None:
|
293
|
-
entity.duration =
|
294
|
-
(entity.finished_at - entity.started_at).total_seconds()
|
293
|
+
entity.duration = round(
|
294
|
+
(entity.finished_at - entity.started_at).total_seconds(), 2
|
295
295
|
)
|
296
296
|
return True
|
297
297
|
return False
|
@@ -2860,6 +2860,12 @@ class OrganizationsV1Api(BaseApi):
|
|
2860
2860
|
Optional[bool],
|
2861
2861
|
Field(description="Setting to enable viewable metadata on cloud."),
|
2862
2862
|
] = None,
|
2863
|
+
organization_archived_deletion_interval: Annotated[
|
2864
|
+
Optional[StrictInt],
|
2865
|
+
Field(
|
2866
|
+
description="Setting to configure default archived deletion interval."
|
2867
|
+
),
|
2868
|
+
] = None,
|
2863
2869
|
**kwargs
|
2864
2870
|
) -> V1Organization: # noqa: E501
|
2865
2871
|
"""Get organization settings # noqa: E501
|
@@ -2867,7 +2873,7 @@ class OrganizationsV1Api(BaseApi):
|
|
2867
2873
|
This method makes a synchronous HTTP request by default. To make an
|
2868
2874
|
asynchronous HTTP request, please pass async_req=True
|
2869
2875
|
|
2870
|
-
>>> thread = api.get_organization_settings(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_preset, organization_is_cloud_viewable, async_req=True)
|
2876
|
+
>>> thread = api.get_organization_settings(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_preset, organization_is_cloud_viewable, organization_archived_deletion_interval, async_req=True)
|
2871
2877
|
>>> result = thread.get()
|
2872
2878
|
|
2873
2879
|
:param owner: Owner of the namespace (required)
|
@@ -2896,6 +2902,8 @@ class OrganizationsV1Api(BaseApi):
|
|
2896
2902
|
:type organization_preset: str
|
2897
2903
|
:param organization_is_cloud_viewable: Setting to enable viewable metadata on cloud.
|
2898
2904
|
:type organization_is_cloud_viewable: bool
|
2905
|
+
:param organization_archived_deletion_interval: Setting to configure default archived deletion interval.
|
2906
|
+
:type organization_archived_deletion_interval: int
|
2899
2907
|
:param async_req: Whether to execute the request asynchronously.
|
2900
2908
|
:type async_req: bool, optional
|
2901
2909
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -2926,6 +2934,7 @@ class OrganizationsV1Api(BaseApi):
|
|
2926
2934
|
organization_queue,
|
2927
2935
|
organization_preset,
|
2928
2936
|
organization_is_cloud_viewable,
|
2937
|
+
organization_archived_deletion_interval,
|
2929
2938
|
**kwargs
|
2930
2939
|
) # noqa: E501
|
2931
2940
|
|
@@ -2974,6 +2983,12 @@ class OrganizationsV1Api(BaseApi):
|
|
2974
2983
|
Optional[bool],
|
2975
2984
|
Field(description="Setting to enable viewable metadata on cloud."),
|
2976
2985
|
] = None,
|
2986
|
+
organization_archived_deletion_interval: Annotated[
|
2987
|
+
Optional[StrictInt],
|
2988
|
+
Field(
|
2989
|
+
description="Setting to configure default archived deletion interval."
|
2990
|
+
),
|
2991
|
+
] = None,
|
2977
2992
|
**kwargs
|
2978
2993
|
): # noqa: E501
|
2979
2994
|
"""Get organization settings # noqa: E501
|
@@ -2981,7 +2996,7 @@ class OrganizationsV1Api(BaseApi):
|
|
2981
2996
|
This method makes a synchronous HTTP request by default. To make an
|
2982
2997
|
asynchronous HTTP request, please pass async_req=True
|
2983
2998
|
|
2984
|
-
>>> thread = api.get_organization_settings_with_http_info(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_preset, organization_is_cloud_viewable, async_req=True)
|
2999
|
+
>>> thread = api.get_organization_settings_with_http_info(owner, organization_user, organization_user_email, organization_name, organization_is_public, organization_created_at, organization_updated_at, organization_support_revoke_at, organization_expiration, organization_role, organization_queue, organization_preset, organization_is_cloud_viewable, organization_archived_deletion_interval, async_req=True)
|
2985
3000
|
>>> result = thread.get()
|
2986
3001
|
|
2987
3002
|
:param owner: Owner of the namespace (required)
|
@@ -3010,6 +3025,8 @@ class OrganizationsV1Api(BaseApi):
|
|
3010
3025
|
:type organization_preset: str
|
3011
3026
|
:param organization_is_cloud_viewable: Setting to enable viewable metadata on cloud.
|
3012
3027
|
:type organization_is_cloud_viewable: bool
|
3028
|
+
:param organization_archived_deletion_interval: Setting to configure default archived deletion interval.
|
3029
|
+
:type organization_archived_deletion_interval: int
|
3013
3030
|
:param async_req: Whether to execute the request asynchronously.
|
3014
3031
|
:type async_req: bool, optional
|
3015
3032
|
:param _return_http_data_only: response data without head status code
|
@@ -3050,6 +3067,7 @@ class OrganizationsV1Api(BaseApi):
|
|
3050
3067
|
"organization_queue",
|
3051
3068
|
"organization_preset",
|
3052
3069
|
"organization_is_cloud_viewable",
|
3070
|
+
"organization_archived_deletion_interval",
|
3053
3071
|
]
|
3054
3072
|
_all_params.extend(
|
3055
3073
|
[
|
@@ -3128,6 +3146,15 @@ class OrganizationsV1Api(BaseApi):
|
|
3128
3146
|
_params["organization_is_cloud_viewable"],
|
3129
3147
|
)
|
3130
3148
|
)
|
3149
|
+
if (
|
3150
|
+
_params.get("organization_archived_deletion_interval") is not None
|
3151
|
+
): # noqa: E501
|
3152
|
+
_query_params.append(
|
3153
|
+
(
|
3154
|
+
"organization.archived_deletion_interval",
|
3155
|
+
_params["organization_archived_deletion_interval"],
|
3156
|
+
)
|
3157
|
+
)
|
3131
3158
|
|
3132
3159
|
# process the header parameters
|
3133
3160
|
_header_params = dict(_params.get("_headers", {}))
|
polyaxon/_sdk/api/runs_v1_api.py
CHANGED
@@ -6,6 +6,7 @@ from clipped.compact.pydantic import Field, StrictInt, StrictStr, validate_argum
|
|
6
6
|
|
7
7
|
from polyaxon._schemas.lifecycle import V1Status
|
8
8
|
from polyaxon._sdk.base_api import BaseApi
|
9
|
+
from polyaxon._sdk.schemas import V1RunEdgesGraph
|
9
10
|
from polyaxon._sdk.schemas.v1_artifact_tree import V1ArtifactTree
|
10
11
|
from polyaxon._sdk.schemas.v1_auth import V1Auth
|
11
12
|
from polyaxon._sdk.schemas.v1_entities_tags import V1EntitiesTags
|
@@ -10573,6 +10574,185 @@ class RunsV1Api(BaseApi):
|
|
10573
10574
|
_request_auth=_params.get("_request_auth"),
|
10574
10575
|
)
|
10575
10576
|
|
10577
|
+
@validate_arguments
|
10578
|
+
def set_run_edges_lineage(
|
10579
|
+
self,
|
10580
|
+
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
10581
|
+
project: Annotated[StrictStr, Field(..., description="Project")],
|
10582
|
+
uuid: Annotated[StrictStr, Field(..., description="Run uuid")],
|
10583
|
+
body: Annotated[V1RunEdgesGraph, Field(..., description="Run edges graph")],
|
10584
|
+
**kwargs
|
10585
|
+
) -> None: # noqa: E501
|
10586
|
+
"""Set run edges graph lineage # noqa: E501
|
10587
|
+
|
10588
|
+
This method makes a synchronous HTTP request by default. To make an
|
10589
|
+
asynchronous HTTP request, please pass async_req=True
|
10590
|
+
|
10591
|
+
>>> thread = api.set_run_edges_lineage(owner, project, uuid, body, async_req=True)
|
10592
|
+
>>> result = thread.get()
|
10593
|
+
|
10594
|
+
:param owner: Owner of the namespace (required)
|
10595
|
+
:type owner: str
|
10596
|
+
:param project: Project (required)
|
10597
|
+
:type project: str
|
10598
|
+
:param uuid: Run uuid (required)
|
10599
|
+
:type uuid: str
|
10600
|
+
:param body: Run edges graph (required)
|
10601
|
+
:type body: V1RunEdgesGraph
|
10602
|
+
:param async_req: Whether to execute the request asynchronously.
|
10603
|
+
:type async_req: bool, optional
|
10604
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
10605
|
+
be returned without reading/decoding response
|
10606
|
+
data. Default is True.
|
10607
|
+
:type _preload_content: bool, optional
|
10608
|
+
:param _request_timeout: timeout setting for this request. If one
|
10609
|
+
number provided, it will be total request
|
10610
|
+
timeout. It can also be a pair (tuple) of
|
10611
|
+
(connection, read) timeouts.
|
10612
|
+
:return: Returns the result object.
|
10613
|
+
If the method is called asynchronously,
|
10614
|
+
returns the request thread.
|
10615
|
+
:rtype: None
|
10616
|
+
"""
|
10617
|
+
kwargs["_return_http_data_only"] = True
|
10618
|
+
return self.set_run_edges_lineage_with_http_info(
|
10619
|
+
owner, project, uuid, body, **kwargs
|
10620
|
+
) # noqa: E501
|
10621
|
+
|
10622
|
+
@validate_arguments
|
10623
|
+
def set_run_edges_lineage_with_http_info(
|
10624
|
+
self,
|
10625
|
+
owner: Annotated[StrictStr, Field(..., description="Owner of the namespace")],
|
10626
|
+
project: Annotated[StrictStr, Field(..., description="Project")],
|
10627
|
+
uuid: Annotated[StrictStr, Field(..., description="Run uuid")],
|
10628
|
+
body: Annotated[V1RunEdgesGraph, Field(..., description="Run edges graph")],
|
10629
|
+
**kwargs
|
10630
|
+
): # noqa: E501
|
10631
|
+
"""Set run edges graph lineage # noqa: E501
|
10632
|
+
|
10633
|
+
This method makes a synchronous HTTP request by default. To make an
|
10634
|
+
asynchronous HTTP request, please pass async_req=True
|
10635
|
+
|
10636
|
+
>>> thread = api.set_run_edges_lineage_with_http_info(owner, project, uuid, body, async_req=True)
|
10637
|
+
>>> result = thread.get()
|
10638
|
+
|
10639
|
+
:param owner: Owner of the namespace (required)
|
10640
|
+
:type owner: str
|
10641
|
+
:param project: Project (required)
|
10642
|
+
:type project: str
|
10643
|
+
:param uuid: Run uuid (required)
|
10644
|
+
:type uuid: str
|
10645
|
+
:param body: Run edges graph (required)
|
10646
|
+
:type body: V1RunEdgesGraph
|
10647
|
+
:param async_req: Whether to execute the request asynchronously.
|
10648
|
+
:type async_req: bool, optional
|
10649
|
+
:param _return_http_data_only: response data without head status code
|
10650
|
+
and headers
|
10651
|
+
:type _return_http_data_only: bool, optional
|
10652
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
10653
|
+
be returned without reading/decoding response
|
10654
|
+
data. Default is True.
|
10655
|
+
:type _preload_content: bool, optional
|
10656
|
+
:param _request_timeout: timeout setting for this request. If one
|
10657
|
+
number provided, it will be total request
|
10658
|
+
timeout. It can also be a pair (tuple) of
|
10659
|
+
(connection, read) timeouts.
|
10660
|
+
:param _request_auth: set to override the auth_settings for an a single
|
10661
|
+
request; this effectively ignores the authentication
|
10662
|
+
in the spec for a single request.
|
10663
|
+
:type _request_auth: dict, optional
|
10664
|
+
:type _content_type: string, optional: force content-type for the request
|
10665
|
+
:return: Returns the result object.
|
10666
|
+
If the method is called asynchronously,
|
10667
|
+
returns the request thread.
|
10668
|
+
:rtype: None
|
10669
|
+
"""
|
10670
|
+
|
10671
|
+
_params = locals()
|
10672
|
+
|
10673
|
+
_all_params = ["owner", "project", "uuid", "body"]
|
10674
|
+
_all_params.extend(
|
10675
|
+
[
|
10676
|
+
"async_req",
|
10677
|
+
"_return_http_data_only",
|
10678
|
+
"_preload_content",
|
10679
|
+
"_request_timeout",
|
10680
|
+
"_request_auth",
|
10681
|
+
"_content_type",
|
10682
|
+
"_headers",
|
10683
|
+
]
|
10684
|
+
)
|
10685
|
+
|
10686
|
+
# validate the arguments
|
10687
|
+
for _key, _val in _params["kwargs"].items():
|
10688
|
+
if _key not in _all_params:
|
10689
|
+
raise ApiTypeError(
|
10690
|
+
"Got an unexpected keyword argument '%s'"
|
10691
|
+
" to method set_run_edges_lineage" % _key
|
10692
|
+
)
|
10693
|
+
_params[_key] = _val
|
10694
|
+
del _params["kwargs"]
|
10695
|
+
|
10696
|
+
_collection_formats = {}
|
10697
|
+
|
10698
|
+
# process the path parameters
|
10699
|
+
_path_params = {}
|
10700
|
+
if _params["owner"]:
|
10701
|
+
_path_params["owner"] = _params["owner"]
|
10702
|
+
if _params["project"]:
|
10703
|
+
_path_params["project"] = _params["project"]
|
10704
|
+
if _params["uuid"]:
|
10705
|
+
_path_params["uuid"] = _params["uuid"]
|
10706
|
+
|
10707
|
+
# process the query parameters
|
10708
|
+
_query_params = []
|
10709
|
+
# process the header parameters
|
10710
|
+
_header_params = dict(_params.get("_headers", {}))
|
10711
|
+
# process the form parameters
|
10712
|
+
_form_params = []
|
10713
|
+
_files = {}
|
10714
|
+
# process the body parameter
|
10715
|
+
_body_params = None
|
10716
|
+
if _params["body"]:
|
10717
|
+
_body_params = _params["body"]
|
10718
|
+
|
10719
|
+
# set the HTTP header `Accept`
|
10720
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
10721
|
+
["application/json"]
|
10722
|
+
) # noqa: E501
|
10723
|
+
|
10724
|
+
# set the HTTP header `Content-Type`
|
10725
|
+
_content_types_list = _params.get(
|
10726
|
+
"_content_type",
|
10727
|
+
self.api_client.select_header_content_type(["application/json"]),
|
10728
|
+
)
|
10729
|
+
if _content_types_list:
|
10730
|
+
_header_params["Content-Type"] = _content_types_list
|
10731
|
+
|
10732
|
+
# authentication setting
|
10733
|
+
_auth_settings = ["ApiKey"] # noqa: E501
|
10734
|
+
|
10735
|
+
_response_types_map = {}
|
10736
|
+
|
10737
|
+
return self.api_client.call_api(
|
10738
|
+
"/api/v1/{owner}/{project}/runs/{uuid}/lineage/edges",
|
10739
|
+
"POST",
|
10740
|
+
_path_params,
|
10741
|
+
_query_params,
|
10742
|
+
_header_params,
|
10743
|
+
body=_body_params,
|
10744
|
+
post_params=_form_params,
|
10745
|
+
files=_files,
|
10746
|
+
response_types_map=_response_types_map,
|
10747
|
+
auth_settings=_auth_settings,
|
10748
|
+
async_req=_params.get("async_req"),
|
10749
|
+
_return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
|
10750
|
+
_preload_content=_params.get("_preload_content", True),
|
10751
|
+
_request_timeout=_params.get("_request_timeout"),
|
10752
|
+
collection_formats=_collection_formats,
|
10753
|
+
_request_auth=_params.get("_request_auth"),
|
10754
|
+
)
|
10755
|
+
|
10576
10756
|
@validate_arguments
|
10577
10757
|
def stop_run(
|
10578
10758
|
self,
|
@@ -69,6 +69,8 @@ from polyaxon._sdk.schemas.v1_queue import V1Queue
|
|
69
69
|
from polyaxon._sdk.schemas.v1_run import V1Run
|
70
70
|
from polyaxon._sdk.schemas.v1_run_connection import V1RunConnection
|
71
71
|
from polyaxon._sdk.schemas.v1_run_edge import V1RunEdge
|
72
|
+
from polyaxon._sdk.schemas.v1_run_edge_lineage import V1RunEdgeLineage
|
73
|
+
from polyaxon._sdk.schemas.v1_run_edges_graph import V1RunEdgesGraph
|
72
74
|
from polyaxon._sdk.schemas.v1_run_reference_catalog import V1RunReferenceCatalog
|
73
75
|
from polyaxon._sdk.schemas.v1_run_settings import V1RunSettings
|
74
76
|
from polyaxon._sdk.schemas.v1_search import V1Search
|
@@ -20,6 +20,7 @@ class V1Organization(BaseAllowSchemaModel):
|
|
20
20
|
queue: Optional[StrictStr]
|
21
21
|
preset: Optional[StrictStr]
|
22
22
|
is_cloud_viewable: Optional[bool]
|
23
|
+
archived_deletion_interval: Optional[int]
|
23
24
|
auth: Optional[Dict[str, Any]]
|
24
25
|
plan: Optional[Dict[str, Any]]
|
25
26
|
usage: Optional[Dict[str, Any]]
|
@@ -22,6 +22,7 @@ class V1Project(BaseAllowSchemaModel):
|
|
22
22
|
readme: Optional[StrictStr]
|
23
23
|
excluded_features: Optional[List[StrictStr]]
|
24
24
|
excluded_runtimes: Optional[List[StrictStr]]
|
25
|
+
archived_deletion_interval: Optional[int]
|
25
26
|
settings: Optional[V1ProjectSettings]
|
26
27
|
role: Optional[StrictStr]
|
27
28
|
contributors: Optional[Dict[str, Any]]
|
polyaxon/_sdk/schemas/v1_run.py
CHANGED
@@ -32,8 +32,8 @@ class V1Run(BaseAllowSchemaModel):
|
|
32
32
|
updated_at: Optional[datetime.datetime]
|
33
33
|
started_at: Optional[datetime.datetime]
|
34
34
|
finished_at: Optional[datetime.datetime]
|
35
|
-
wait_time: Optional[
|
36
|
-
duration: Optional[
|
35
|
+
wait_time: Optional[float]
|
36
|
+
duration: Optional[float]
|
37
37
|
managed_by: Optional[ManagedBy]
|
38
38
|
is_managed: Optional[bool]
|
39
39
|
is_approved: Optional[bool]
|
@@ -0,0 +1,14 @@
|
|
1
|
+
from typing import Any, Dict, Optional
|
2
|
+
|
3
|
+
from clipped.config.schema import BaseAllowSchemaModel
|
4
|
+
from clipped.types.uuids import UUIDStr
|
5
|
+
|
6
|
+
|
7
|
+
class V1RunEdgeLineage(BaseAllowSchemaModel):
|
8
|
+
"""
|
9
|
+
V1RunEdgeLineage
|
10
|
+
"""
|
11
|
+
|
12
|
+
uuid: Optional[UUIDStr]
|
13
|
+
is_upstream: Optional[bool]
|
14
|
+
values: Optional[Dict[str, Any]]
|
polyaxon/pkg.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: polyaxon
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.0rc51
|
4
4
|
Summary: Command Line Interface (CLI) and client to interact with Polyaxon API.
|
5
5
|
Home-page: https://github.com/polyaxon/polyaxon
|
6
6
|
Author: Polyaxon, Inc.
|
@@ -50,8 +50,8 @@ Requires-Dist: sentry-sdk >=1.2.0
|
|
50
50
|
Requires-Dist: urllib3 >=1.25.6
|
51
51
|
Requires-Dist: certifi >=2022.12.7
|
52
52
|
Requires-Dist: pydantic >=1.10.2
|
53
|
-
Requires-Dist: traceml ==1.1.
|
54
|
-
Requires-Dist: hypertune ==1.1.
|
53
|
+
Requires-Dist: traceml ==1.1.0rc42
|
54
|
+
Requires-Dist: hypertune ==1.1.0rc42
|
55
55
|
Provides-Extra: azure
|
56
56
|
Requires-Dist: adlfs ; extra == 'azure'
|
57
57
|
Provides-Extra: dev
|
@@ -9,7 +9,7 @@ polyaxon/exceptions.py,sha256=ujvG9p1Pn2KHYbHqB3-faadW46dEuULUQXNtfkd2zk8,10236
|
|
9
9
|
polyaxon/fs.py,sha256=RS8XmVrrfXfIJXN6cTCCRRYwesCLHVVfC01Vi56lecs,246
|
10
10
|
polyaxon/k8s.py,sha256=nI5oPCSlqU4aaeVShM6SlYS9eqYiYUL4GDXIZ4bnq-I,1051
|
11
11
|
polyaxon/logger.py,sha256=gdZQms37Pe5G2j-Ear5jbSAJeGgX6fnvg7oE8_9MSlc,2309
|
12
|
-
polyaxon/pkg.py,sha256=
|
12
|
+
polyaxon/pkg.py,sha256=xcmGhmTCBpuX5-PmEmqajvW7JsX7rfyJIsr9vQQbPsQ,267
|
13
13
|
polyaxon/polyaxonfile.py,sha256=xHmHT_cHomfuAQm82Jhnp71YNN5mQ-Lod7EbonjY4b4,429
|
14
14
|
polyaxon/schemas.py,sha256=21EjK-aQERasHGgTNZb5z-MDcGuxr_v9PMfEVT5gGcw,5704
|
15
15
|
polyaxon/settings.py,sha256=OYLJq_iwZqarQVytWK0dWA2BGXxZPEZ77WtLVUTHang,3964
|
@@ -56,7 +56,7 @@ polyaxon/_client/client.py,sha256=hF59FnMXlI_JLVh2LLIhWtXpTFEYQualNqJWa3j8jYo,74
|
|
56
56
|
polyaxon/_client/impersonate.py,sha256=4jRoJoX8nkwvVc3zAYqVqPoysNT1kZoPRbwyTpyHGHw,1260
|
57
57
|
polyaxon/_client/init.py,sha256=QECGjzuBTFaagndubzd9U1COpc5NGe-E0aVkSRetcIs,418
|
58
58
|
polyaxon/_client/project.py,sha256=AdMJXhYVEmMxG1vqOCYrftn9HYQnARIVzWcsV2FgVWY,58035
|
59
|
-
polyaxon/_client/run.py,sha256=
|
59
|
+
polyaxon/_client/run.py,sha256=ubKbhgIZzKXvr1xi3OHWt0QajB_r0ddYrYFZMqsFREk,117379
|
60
60
|
polyaxon/_client/store.py,sha256=-Y33ypkijGQnhHTQ_vCTqLlpk0wRqoaP-ntJhdUtv7E,11311
|
61
61
|
polyaxon/_client/decorators/__init__.py,sha256=e5CBijciLP-Ic-YkaL4tFhUdr--uod_TexvxAJamGZQ,186
|
62
62
|
polyaxon/_client/decorators/client_call_handler.py,sha256=dgdidWsL9e8AgJmOfxz4urkI3bBgX64whWI1WHeAJDU,4587
|
@@ -76,7 +76,7 @@ polyaxon/_client/workers/queue_worker.py,sha256=-hZa8bJeXb407B8VrPpJWdSkipFlj92F
|
|
76
76
|
polyaxon/_compiler/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
77
77
|
polyaxon/_compiler/contexts/__init__.py,sha256=qSmtu6aGcXZa6EVQOzzavVOd-FcBY2WNsUye3-gYry8,105
|
78
78
|
polyaxon/_compiler/contexts/base.py,sha256=4EVQQlLgxvFORZ27ouBhwcJKhl3vMGXyOVP9HLZ0MLs,2366
|
79
|
-
polyaxon/_compiler/contexts/contexts.py,sha256=
|
79
|
+
polyaxon/_compiler/contexts/contexts.py,sha256=tJy8eL9UrUhjisJ3MdYNmMVERSK_m_fKfgPTQgC-0y4,6535
|
80
80
|
polyaxon/_compiler/contexts/dask_job.py,sha256=GxhLcZtCDWSDfc45UenmKsJ6Fhr0f_GeneaAzLHtncg,1265
|
81
81
|
polyaxon/_compiler/contexts/job.py,sha256=1lkjfMO2eHndmmtxC551K6n6RE5XasqkWBfwNpYy_MA,759
|
82
82
|
polyaxon/_compiler/contexts/ray_job.py,sha256=rdf__86SFoUEYf5T3vUTZXGLL-QI10enYwyngXhEJ7Q,1242
|
@@ -232,7 +232,7 @@ polyaxon/_flow/run/__init__.py,sha256=E2EvbgLB5oWFe3B9uYoEJeoz7U_lCc9pQBDXdDJ4V_
|
|
232
232
|
polyaxon/_flow/run/base.py,sha256=0YHYNPwWrzK0AE-ZdMdDeGjWZEMxaM_-6ogixczhJ2k,381
|
233
233
|
polyaxon/_flow/run/cleaner.py,sha256=nqAssWXYjcvcrAOZCtL3aAVTbXT2P7x6CmsD4370n_k,238
|
234
234
|
polyaxon/_flow/run/dag.py,sha256=-pqnOidTT1Jfmu_2ZQjInqR_SP9yDOAQiI8YvIm3TIo,22911
|
235
|
-
polyaxon/_flow/run/enums.py,sha256=
|
235
|
+
polyaxon/_flow/run/enums.py,sha256=WQjUT7jQsTX-uyGXGa4FXZx87nSMkOyeFCrpPPeoZZg,1288
|
236
236
|
polyaxon/_flow/run/job.py,sha256=WQcrJG3Uc1t4ZJsfDnAAw0j3zrQy0p6R0fozufcvHlU,7559
|
237
237
|
polyaxon/_flow/run/notifier.py,sha256=AYH0h6hUa7yvPyHqLjNN4Gxpxg2XZtpJVukJHjfNUGU,240
|
238
238
|
polyaxon/_flow/run/patch.py,sha256=GYXYsBFvqnVndEr6uer4nxlmmlmvKkgfmRXqv-JYKfw,3181
|
@@ -423,7 +423,7 @@ polyaxon/_schemas/compatibility.py,sha256=qNNYxkOr5crVJFny_Bc3e0xDt9O8A51rWcX_8T
|
|
423
423
|
polyaxon/_schemas/container_resources.py,sha256=aZ4XZn0uwCbVGnyhfpAB8Ejs8miNJpwmhVxgs7dC_38,1401
|
424
424
|
polyaxon/_schemas/home.py,sha256=3RFrNvgXeCEVWMGbQ_WtnBqP6aAczeDktyUW4h7u6Pk,510
|
425
425
|
polyaxon/_schemas/installation.py,sha256=VizrArjvIhdM20brNzEdg7TyCVstYePw27YKNIGPjoE,363
|
426
|
-
polyaxon/_schemas/lifecycle.py,sha256=
|
426
|
+
polyaxon/_schemas/lifecycle.py,sha256=iTig9hn0bOaDO-m7eUhkq_NI567FK737VrFoUd_UbKg,11415
|
427
427
|
polyaxon/_schemas/log_handler.py,sha256=vsXvQ5eYzTh5JJZEorSZlEf5Z8xx40Il6ir8RcX3rVk,422
|
428
428
|
polyaxon/_schemas/services.py,sha256=J3mr-7xj52I5s5JHlaq2pYeCocqvH6GgV8WP6EfshKY,1481
|
429
429
|
polyaxon/_schemas/user.py,sha256=kTtPQdvFoeDca5v5Esf9lnIuVThXPNj99QBziTRyn6w,341
|
@@ -446,13 +446,13 @@ polyaxon/_sdk/api/artifacts_stores_v1_api.py,sha256=VuBdfwKi0URQQCuh9GeHceRPMc7f
|
|
446
446
|
polyaxon/_sdk/api/auth_v1_api.py,sha256=Bov8wCCYmv8r1cZyodmIyDC_SahUpMsTKQsOa-vbuyg,35802
|
447
447
|
polyaxon/_sdk/api/connections_v1_api.py,sha256=PPTGX7FrmD1zls1lWBukCWgNuRn7Eui365Ji5t_Sz0A,54365
|
448
448
|
polyaxon/_sdk/api/dashboards_v1_api.py,sha256=mTnhARbf6NJdC3wLkqXHLRnskqnfetfB1TAf246TTzk,53802
|
449
|
-
polyaxon/_sdk/api/organizations_v1_api.py,sha256=
|
449
|
+
polyaxon/_sdk/api/organizations_v1_api.py,sha256=8fBJzgo5r4bD-DgYWDz9lij3ViDYN8V6Qe-ueGc3-dY,278480
|
450
450
|
polyaxon/_sdk/api/presets_v1_api.py,sha256=3t_Ul_RCVpyz0RfXV73Y0gCmgPk38Noy9A5ExHvuS6o,54930
|
451
451
|
polyaxon/_sdk/api/project_dashboards_v1_api.py,sha256=-6VgEpnj6CdxKGWW4VXMKBsaWvoHKQDkKlQ9tPL60yo,65408
|
452
452
|
polyaxon/_sdk/api/project_searches_v1_api.py,sha256=D1kCv8zcSn_OxoXTIKG1X-Bf7z205FrqH3X_fph08Gw,65058
|
453
453
|
polyaxon/_sdk/api/projects_v1_api.py,sha256=K11LdAW2ZwGXjH80kYrHLrOyHpHXcacY9bqV4hlVACk,244751
|
454
454
|
polyaxon/_sdk/api/queues_v1_api.py,sha256=nUwo9O6mgrr0i-n1GsF4avnfbQmohWR2vaLkq-uzET0,77083
|
455
|
-
polyaxon/_sdk/api/runs_v1_api.py,sha256=
|
455
|
+
polyaxon/_sdk/api/runs_v1_api.py,sha256=AY2OQ2o23-UxSfST7RkMOsHd3EJSE9W0oPFsRbs940I,506711
|
456
456
|
polyaxon/_sdk/api/searches_v1_api.py,sha256=7cEdH1PRBb1AGmjJjqZWddt6nPX__880bXurLxl3LXQ,53284
|
457
457
|
polyaxon/_sdk/api/service_accounts_v1_api.py,sha256=sv3vQKJ4w3PWjCfOj56pFetbEcv0rTGmj_O2XAwjAbQ,101005
|
458
458
|
polyaxon/_sdk/api/tags_v1_api.py,sha256=F5PBCRTK6RhP_XaX0s2o2Byt-aYtpKoHkSTgJTL8GPs,59912
|
@@ -462,7 +462,7 @@ polyaxon/_sdk/api/versions_v1_api.py,sha256=sweDykt3iZBf7hgMPKOS6c56HtCZUNuvc-jZ
|
|
462
462
|
polyaxon/_sdk/async_client/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
463
463
|
polyaxon/_sdk/async_client/api_client.py,sha256=dw2Xh928MFDVQtDY-QQ_H8M7PSxix3hxsB-t09s_8FE,9610
|
464
464
|
polyaxon/_sdk/async_client/rest.py,sha256=EVr20-MSoxY6HEgCiZhCRubvitUlEv38zIbDehR1Olc,9631
|
465
|
-
polyaxon/_sdk/schemas/__init__.py,sha256=
|
465
|
+
polyaxon/_sdk/schemas/__init__.py,sha256=U76Y1u0ZE4iD_iM6OLYtU2X2g6x5ftZUfIOVJxg8grM,5241
|
466
466
|
polyaxon/_sdk/schemas/v1_activity.py,sha256=A5hHSEnAKwQAMz70HHjs7sy-2o0hATEXDsB-D1vTzzM,524
|
467
467
|
polyaxon/_sdk/schemas/v1_agent.py,sha256=QVfixdD7aGjnWAkYldeiWl5XYqjLJbjtMHhvRybxieM,825
|
468
468
|
polyaxon/_sdk/schemas/v1_agent_state_response.py,sha256=PLHAUmlS9tJMtqfMWdbcSnJYQo8wfFT8yUsEd0y0SMk,473
|
@@ -503,19 +503,21 @@ polyaxon/_sdk/schemas/v1_list_team_members_response.py,sha256=3OqmvV6WtS5n5_aw-2
|
|
503
503
|
polyaxon/_sdk/schemas/v1_list_teams_response.py,sha256=E0CFgN5uBun-YqBT9E7JXznMDVQ1Q0KN6Zmom9tu7Ww,363
|
504
504
|
polyaxon/_sdk/schemas/v1_list_token_response.py,sha256=hQMfMDz305ixThHqa2InBYvK_i4myhkhIu3Oem_M3DQ,366
|
505
505
|
polyaxon/_sdk/schemas/v1_operation_body.py,sha256=NlG3KcMxM2WWaj2DskId7loroJsBOHuocuDFuqehDJs,565
|
506
|
-
polyaxon/_sdk/schemas/v1_organization.py,sha256=
|
506
|
+
polyaxon/_sdk/schemas/v1_organization.py,sha256=n535i5c6X-TYEO1gbi3LXxwUeJLTxrHnByr9XZMXb-w,823
|
507
507
|
polyaxon/_sdk/schemas/v1_organization_member.py,sha256=ww8icQ-Z4E09fhoMLT7oxtAWkufQ6R7eDxCjr3n6vZw,454
|
508
508
|
polyaxon/_sdk/schemas/v1_password_change.py,sha256=gKqrwN-f4beEJGFOnrpsWuw2tRUYWRcQeSD3hrzZ5eQ,295
|
509
509
|
polyaxon/_sdk/schemas/v1_pipeline.py,sha256=hPhg5Bwz6oacOjDvYgBhjP_Vk3lR0N9BH1eevrqnrB8,349
|
510
510
|
polyaxon/_sdk/schemas/v1_preset.py,sha256=_chcLQK5ndw6eVymJu3GEGPVHfRAQ69ouBWHsQnth7U,543
|
511
|
-
polyaxon/_sdk/schemas/v1_project.py,sha256=
|
511
|
+
polyaxon/_sdk/schemas/v1_project.py,sha256=SopG7_j_zACdW9lLa0zOAPP5brkyoLPEGunhx-mEv_E,951
|
512
512
|
polyaxon/_sdk/schemas/v1_project_settings.py,sha256=r_NW9QyVvqPDOS7vcq4e7UUkaN77nSl1DJsIKFvNj7k,617
|
513
513
|
polyaxon/_sdk/schemas/v1_project_user_access.py,sha256=vAXMuMTC1uPVZkV0iQ4fmo2lb6eO2JXVJxqcVE0oDmw,275
|
514
514
|
polyaxon/_sdk/schemas/v1_project_version.py,sha256=Ql7sgYaFuGSH1RpO5dA10aLz2aifwFN88-tl6JVA9_Y,1067
|
515
515
|
polyaxon/_sdk/schemas/v1_queue.py,sha256=FrRSqdrg8TxgW_vWvpua8tUtVLqvG5YdJqrRT-Wb1fc,654
|
516
|
-
polyaxon/_sdk/schemas/v1_run.py,sha256=
|
516
|
+
polyaxon/_sdk/schemas/v1_run.py,sha256=x6TKf5IC5WVN110H2J48g3iOGKOvemA9Ic38GeAWx80,2022
|
517
517
|
polyaxon/_sdk/schemas/v1_run_connection.py,sha256=C2-cO4XgMFYsWI0YTpmyX3yGEczKoKOYFuboM8yPvSQ,306
|
518
518
|
polyaxon/_sdk/schemas/v1_run_edge.py,sha256=Yb7qqNJa49zIv8ond-EAUfrfHiJGKmoHVCoGGoORzYw,456
|
519
|
+
polyaxon/_sdk/schemas/v1_run_edge_lineage.py,sha256=ziBmqEH499DVjd6KiX2UZv2PJbgzsn_GfruvdAgn0Co,318
|
520
|
+
polyaxon/_sdk/schemas/v1_run_edges_graph.py,sha256=MbQicDavdqS_cr1D16n9xIANaQeCenXAcAKriDld16Y,253
|
519
521
|
polyaxon/_sdk/schemas/v1_run_reference_catalog.py,sha256=ZKlbbdZKZMlS2hOKa2x8KRAqvjdPKKErMNW2dY4LLHg,309
|
520
522
|
polyaxon/_sdk/schemas/v1_run_settings.py,sha256=Z1ykujoWFUDT07N0JAaVmuR47IicX3_Vb5uQ9Nuvwh8,730
|
521
523
|
polyaxon/_sdk/schemas/v1_search.py,sha256=zz1R5x4FEWBSEW18uAbgV4Uea7O4KU7VM_Usm25EkB4,686
|
@@ -590,9 +592,9 @@ polyaxon/tuners/hyperopt.py,sha256=zd6MblMGkooqLGDFJVo5kClqYnBoMwGj-opqqj8FDzQ,7
|
|
590
592
|
polyaxon/tuners/mapping.py,sha256=pOdHCiwEufTk-QT7pNyjBjAEWNTM-lMC17WNTCk7C24,69
|
591
593
|
polyaxon/tuners/random_search.py,sha256=6VEekM3N9h6E1lbpVTTUGKFPJlGMY2u-GkG615_nQcI,80
|
592
594
|
polyaxon_sdk/__init__.py,sha256=HWvFdGWESyVG3f26K_szewiG-McMOHFkXKTfZcBlHsM,92
|
593
|
-
polyaxon-2.0.
|
594
|
-
polyaxon-2.0.
|
595
|
-
polyaxon-2.0.
|
596
|
-
polyaxon-2.0.
|
597
|
-
polyaxon-2.0.
|
598
|
-
polyaxon-2.0.
|
595
|
+
polyaxon-2.0.0rc51.dist-info/LICENSE,sha256=86kroZbQUDsmSWOomB7dpceG65UXiVSPob4581tStBc,11349
|
596
|
+
polyaxon-2.0.0rc51.dist-info/METADATA,sha256=oS7wYJ2dB9GacDnY8QtbWcb0WFD9wMfCPtoOYNDRugU,11718
|
597
|
+
polyaxon-2.0.0rc51.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
598
|
+
polyaxon-2.0.0rc51.dist-info/entry_points.txt,sha256=aFbUMjkg9vzRBVAFhqvR1m92yG8Cov7UAF0zViGfoQw,70
|
599
|
+
polyaxon-2.0.0rc51.dist-info/top_level.txt,sha256=I_2e_Vv8rdcqWcMMdZocbrHiKPNGqoSMBqIObrw00Rg,22
|
600
|
+
polyaxon-2.0.0rc51.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|