nextpipe 0.6.2.dev2__py3-none-any.whl → 0.6.2.dev3__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.
- nextpipe/__about__.py +1 -1
- nextpipe/constants.py +12 -1
- nextpipe/flow.py +2 -2
- nextpipe/uplink.py +2 -2
- {nextpipe-0.6.2.dev2.dist-info → nextpipe-0.6.2.dev3.dist-info}/METADATA +1 -1
- {nextpipe-0.6.2.dev2.dist-info → nextpipe-0.6.2.dev3.dist-info}/RECORD +8 -8
- {nextpipe-0.6.2.dev2.dist-info → nextpipe-0.6.2.dev3.dist-info}/WHEEL +0 -0
- {nextpipe-0.6.2.dev2.dist-info → nextpipe-0.6.2.dev3.dist-info}/licenses/LICENSE.md +0 -0
nextpipe/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "v0.6.2-dev.
|
|
1
|
+
__version__ = "v0.6.2-dev.3"
|
nextpipe/constants.py
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Constants for nextpipe.
|
|
3
|
+
|
|
4
|
+
This module provides constants used across the nextpipe package.
|
|
5
|
+
|
|
6
|
+
Functions
|
|
7
|
+
--------
|
|
8
|
+
_get_run_info
|
|
9
|
+
Retrieves information about the run from environment variables.
|
|
10
|
+
"""
|
|
11
|
+
|
|
1
12
|
import os
|
|
2
13
|
|
|
3
14
|
ENV_APP_ID = "NEXTMV_APP_ID"
|
|
@@ -7,7 +18,7 @@ ENV_RUN_ID = "NEXTMV_RUN_ID"
|
|
|
7
18
|
"""Environment variable name for the run ID."""
|
|
8
19
|
|
|
9
20
|
|
|
10
|
-
def
|
|
21
|
+
def _get_run_info():
|
|
11
22
|
"""
|
|
12
23
|
Retrieves information about the run from environment variables.
|
|
13
24
|
If the environment variables are not set, it returns None for both values.
|
nextpipe/flow.py
CHANGED
|
@@ -40,7 +40,7 @@ from typing import Any
|
|
|
40
40
|
import nextmv
|
|
41
41
|
from nextmv.cloud import Application, Client
|
|
42
42
|
|
|
43
|
-
from nextpipe.constants import
|
|
43
|
+
from nextpipe.constants import _get_run_info
|
|
44
44
|
|
|
45
45
|
from . import config, decorators, graph, schema, threads, uplink, utils
|
|
46
46
|
from .__about__ import __version__
|
|
@@ -885,7 +885,7 @@ class Runner:
|
|
|
885
885
|
"""
|
|
886
886
|
Determine name and description to use for sub-runs.
|
|
887
887
|
"""
|
|
888
|
-
wf_app_id, wf_run_id =
|
|
888
|
+
wf_app_id, wf_run_id = _get_run_info()
|
|
889
889
|
wf_app_id = wf_app_id or app_step_id # Fallback if dynamic detection fails
|
|
890
890
|
wf_run_id = wf_run_id or "local" # Use "local" for non-platform runs
|
|
891
891
|
step_name = step_name[:50] # Truncate step name to 50 chars to keep overall name within limits
|
nextpipe/uplink.py
CHANGED
|
@@ -34,7 +34,7 @@ from dataclasses import dataclass, field
|
|
|
34
34
|
from dataclasses_json import config, dataclass_json
|
|
35
35
|
from nextmv.cloud import Client
|
|
36
36
|
|
|
37
|
-
from nextpipe.constants import
|
|
37
|
+
from nextpipe.constants import _get_run_info
|
|
38
38
|
from nextpipe.utils import log_internal
|
|
39
39
|
|
|
40
40
|
FAILED_UPDATES_THRESHOLD = 10
|
|
@@ -272,7 +272,7 @@ class UplinkClient:
|
|
|
272
272
|
|
|
273
273
|
if config is None:
|
|
274
274
|
# Load config from environment
|
|
275
|
-
app_id, run_id =
|
|
275
|
+
app_id, run_id = _get_run_info()
|
|
276
276
|
config = UplinkConfig(application_id=app_id, run_id=run_id)
|
|
277
277
|
self.config = config
|
|
278
278
|
self.inactive = False
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nextpipe
|
|
3
|
-
Version: 0.6.2.
|
|
3
|
+
Version: 0.6.2.dev3
|
|
4
4
|
Summary: Framework for Decision Pipeline modeling and execution
|
|
5
5
|
Project-URL: Homepage, https://www.nextmv.io
|
|
6
6
|
Project-URL: Documentation, https://nextpipe.docs.nextmv.io/en/latest/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
nextpipe/__about__.py,sha256=
|
|
1
|
+
nextpipe/__about__.py,sha256=8AMrE0_anvG9euAOawmj8RKxbYUQPQvpyH3k78xhWFM,29
|
|
2
2
|
nextpipe/__init__.py,sha256=SzRhi2z33zmvskfgqoRHwaKvRnt8G1_JJR1M7BXlda0,694
|
|
3
3
|
nextpipe/config.py,sha256=JSShEaK3fnqieGofalQysKxEJUkyrWIRbwhdyH9yYZM,1659
|
|
4
|
-
nextpipe/constants.py,sha256=
|
|
4
|
+
nextpipe/constants.py,sha256=ws1_khUbZFau_kShi6nweLhg24_2fjPWyXY6VPVAH7E,667
|
|
5
5
|
nextpipe/decorators.py,sha256=MLTwuTONn30-esVaF7q3hNdOp8AnJ5ksNswQHpFrGlE,25727
|
|
6
|
-
nextpipe/flow.py,sha256=
|
|
6
|
+
nextpipe/flow.py,sha256=zQsv3OOOaoCl3x3jL-f31fqaL5cB19yvhj1VxloOWMM,42472
|
|
7
7
|
nextpipe/graph.py,sha256=Oi8HQ4fgvBYxpRK6xBoLtoxftGb-gCOb09BqFwzrwWs,2867
|
|
8
8
|
nextpipe/schema.py,sha256=HsJnzpYhemXUa8IZvFEChPB-_5YXTCbkYSPf5zpPqo8,3263
|
|
9
9
|
nextpipe/threads.py,sha256=5s7jF-hgVF_Eqfxgf6hsF6dhXsRSfqTsq5F0JBy4hNw,9039
|
|
10
|
-
nextpipe/uplink.py,sha256=
|
|
10
|
+
nextpipe/uplink.py,sha256=oW8rIt6byUqKhex5-Nk0KwTOBuPvRAMtuDfP-fmM6_E,11475
|
|
11
11
|
nextpipe/utils.py,sha256=-ni6Em1QfatgVMh95hYSPVCdTboozB8vRKkakti3gls,8063
|
|
12
|
-
nextpipe-0.6.2.
|
|
13
|
-
nextpipe-0.6.2.
|
|
14
|
-
nextpipe-0.6.2.
|
|
15
|
-
nextpipe-0.6.2.
|
|
12
|
+
nextpipe-0.6.2.dev3.dist-info/METADATA,sha256=MtCbj3EDrUBwU7Hz3Dh0b_qlUnpJe3-qLSN-SiNPDcU,8760
|
|
13
|
+
nextpipe-0.6.2.dev3.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
14
|
+
nextpipe-0.6.2.dev3.dist-info/licenses/LICENSE.md,sha256=FpVScuRcgdbeBNVsMzoPyBbKL2eCB1vFor1vfNNFEj4,4106
|
|
15
|
+
nextpipe-0.6.2.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|