polyaxon 2.1.0rc12__py3-none-any.whl → 2.1.0rc13__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/_runner/agent/async_agent.py +12 -1
- polyaxon/_runner/agent/sync_agent.py +12 -1
- polyaxon/pkg.py +1 -1
- {polyaxon-2.1.0rc12.dist-info → polyaxon-2.1.0rc13.dist-info}/METADATA +1 -1
- {polyaxon-2.1.0rc12.dist-info → polyaxon-2.1.0rc13.dist-info}/RECORD +9 -9
- {polyaxon-2.1.0rc12.dist-info → polyaxon-2.1.0rc13.dist-info}/LICENSE +0 -0
- {polyaxon-2.1.0rc12.dist-info → polyaxon-2.1.0rc13.dist-info}/WHEEL +0 -0
- {polyaxon-2.1.0rc12.dist-info → polyaxon-2.1.0rc13.dist-info}/entry_points.txt +0 -0
- {polyaxon-2.1.0rc12.dist-info → polyaxon-2.1.0rc13.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,7 @@ from polyaxon._env_vars.getters import get_run_info
|
|
14
14
|
from polyaxon._runner.agent.base_agent import BaseAgent
|
15
15
|
from polyaxon._sdk.schemas.v1_agent import V1Agent
|
16
16
|
from polyaxon._sdk.schemas.v1_agent_state_response import V1AgentStateResponse
|
17
|
+
from polyaxon._utils.fqn_utils import get_run_instance
|
17
18
|
from polyaxon.exceptions import ApiException as SDKApiException
|
18
19
|
from polyaxon.exceptions import PolyaxonAgentError, PolyaxonConverterError
|
19
20
|
from polyaxon.logger import logger
|
@@ -96,7 +97,17 @@ class BaseAsyncAgent(BaseAgent):
|
|
96
97
|
if _ops:
|
97
98
|
ops += [
|
98
99
|
(
|
99
|
-
|
100
|
+
get_run_instance(
|
101
|
+
owner=op["metadata"]["annotation"][
|
102
|
+
"operation.polyaxon.com/owner"
|
103
|
+
],
|
104
|
+
project=op["metadata"]["annotation"][
|
105
|
+
"operation.polyaxon.com/project"
|
106
|
+
],
|
107
|
+
run_uuid=op["metadata"]["labels"][
|
108
|
+
"app.kubernetes.io/instance"
|
109
|
+
],
|
110
|
+
),
|
100
111
|
op["metadata"]["labels"]["app.kubernetes.io/instance"],
|
101
112
|
op["metadata"]["annotations"]["operation.polyaxon.com/kind"],
|
102
113
|
namespace,
|
@@ -13,6 +13,7 @@ from urllib3.exceptions import HTTPError
|
|
13
13
|
from polyaxon import pkg, settings
|
14
14
|
from polyaxon._env_vars.getters import get_run_info
|
15
15
|
from polyaxon._runner.agent.base_agent import BaseAgent
|
16
|
+
from polyaxon._utils.fqn_utils import get_run_instance
|
16
17
|
from polyaxon.client import V1Agent, V1AgentStateResponse
|
17
18
|
from polyaxon.exceptions import ApiException as SDKApiException
|
18
19
|
from polyaxon.exceptions import PolyaxonAgentError, PolyaxonConverterError
|
@@ -94,7 +95,17 @@ class BaseSyncAgent(BaseAgent):
|
|
94
95
|
if _ops:
|
95
96
|
ops += [
|
96
97
|
(
|
97
|
-
|
98
|
+
get_run_instance(
|
99
|
+
owner=op["metadata"]["annotation"][
|
100
|
+
"operation.polyaxon.com/owner"
|
101
|
+
],
|
102
|
+
project=op["metadata"]["annotation"][
|
103
|
+
"operation.polyaxon.com/project"
|
104
|
+
],
|
105
|
+
run_uuid=op["metadata"]["labels"][
|
106
|
+
"app.kubernetes.io/instance"
|
107
|
+
],
|
108
|
+
),
|
98
109
|
op["metadata"]["labels"]["app.kubernetes.io/instance"],
|
99
110
|
op["metadata"]["annotations"]["operation.polyaxon.com/kind"],
|
100
111
|
namespace,
|
polyaxon/pkg.py
CHANGED
@@ -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=ax0FWIFHwGnwad12ht13KMcQtsaooLKmqFq3pKhFvD4,267
|
13
13
|
polyaxon/polyaxonfile.py,sha256=xHmHT_cHomfuAQm82Jhnp71YNN5mQ-Lod7EbonjY4b4,429
|
14
14
|
polyaxon/schemas.py,sha256=l5Lg1IGP6FM_pO8eToY0RUCzVD1kn3Dk5CNM_nsAf60,5877
|
15
15
|
polyaxon/settings.py,sha256=Pxx1-T2oeJ5XmvGFN0YgnVzum_9FyTPaQtl68aQvYc4,4116
|
@@ -394,10 +394,10 @@ polyaxon/_runner/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,
|
|
394
394
|
polyaxon/_runner/executor.py,sha256=GNktM8fsT3oe1-YBOhiaF-0zeXo0M2KJqYtoDD4EuAE,8257
|
395
395
|
polyaxon/_runner/kinds.py,sha256=IhEL-HfztpDU4wUA7z8koQwN1Z32g2q57iDiiT9YZ40,132
|
396
396
|
polyaxon/_runner/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
397
|
-
polyaxon/_runner/agent/async_agent.py,sha256=
|
397
|
+
polyaxon/_runner/agent/async_agent.py,sha256=5sew_8yxMU-ODltXYvYqIo1ei7nta0hMRGPxVgs-Rvk,15416
|
398
398
|
polyaxon/_runner/agent/base_agent.py,sha256=njCNgj4jzkkK02eb2hfykZfTspBKpBartzCnRNEUeRY,7088
|
399
399
|
polyaxon/_runner/agent/client.py,sha256=Nnu3zy9dh8w5W9QYjcITytMNtP5WAeqh0_97yYF1ByI,5485
|
400
|
-
polyaxon/_runner/agent/sync_agent.py,sha256=
|
400
|
+
polyaxon/_runner/agent/sync_agent.py,sha256=3DlDyMwDIMa6Wl2DPyJS_eASs2i0ABaZ81peTRiunRE,14565
|
401
401
|
polyaxon/_runner/converter/__init__.py,sha256=I6njdCBfyW_Pt1tvxIcpD1Eiy4Vs46QtQpbABgYjyoY,63
|
402
402
|
polyaxon/_runner/converter/converter.py,sha256=bjSyRL8Z9Jb9gbgI2ymewo2ZFhW9887ySF48duq42cU,38005
|
403
403
|
polyaxon/_runner/converter/types.py,sha256=Sg8BaqSEHHwUzeG_MP5gv-j9NPiL1IdUpcOlkJQLZzI,567
|
@@ -594,9 +594,9 @@ polyaxon/tuners/hyperopt.py,sha256=zd6MblMGkooqLGDFJVo5kClqYnBoMwGj-opqqj8FDzQ,7
|
|
594
594
|
polyaxon/tuners/mapping.py,sha256=pOdHCiwEufTk-QT7pNyjBjAEWNTM-lMC17WNTCk7C24,69
|
595
595
|
polyaxon/tuners/random_search.py,sha256=6VEekM3N9h6E1lbpVTTUGKFPJlGMY2u-GkG615_nQcI,80
|
596
596
|
polyaxon_sdk/__init__.py,sha256=HWvFdGWESyVG3f26K_szewiG-McMOHFkXKTfZcBlHsM,92
|
597
|
-
polyaxon-2.1.
|
598
|
-
polyaxon-2.1.
|
599
|
-
polyaxon-2.1.
|
600
|
-
polyaxon-2.1.
|
601
|
-
polyaxon-2.1.
|
602
|
-
polyaxon-2.1.
|
597
|
+
polyaxon-2.1.0rc13.dist-info/LICENSE,sha256=86kroZbQUDsmSWOomB7dpceG65UXiVSPob4581tStBc,11349
|
598
|
+
polyaxon-2.1.0rc13.dist-info/METADATA,sha256=wknAVL9ChSZUinkTD2AHfKXR_bsP10nxWsHcGxtEtNM,11717
|
599
|
+
polyaxon-2.1.0rc13.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
600
|
+
polyaxon-2.1.0rc13.dist-info/entry_points.txt,sha256=aFbUMjkg9vzRBVAFhqvR1m92yG8Cov7UAF0zViGfoQw,70
|
601
|
+
polyaxon-2.1.0rc13.dist-info/top_level.txt,sha256=I_2e_Vv8rdcqWcMMdZocbrHiKPNGqoSMBqIObrw00Rg,22
|
602
|
+
polyaxon-2.1.0rc13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|