nextpipe 0.6.0.dev0__tar.gz → 0.6.1.dev0__tar.gz
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-0.6.0.dev0 → nextpipe-0.6.1.dev0}/PKG-INFO +1 -1
- nextpipe-0.6.1.dev0/nextpipe/__about__.py +1 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/flow.py +14 -3
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_integration.py +1 -1
- nextpipe-0.6.0.dev0/nextpipe/__about__.py +0 -1
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.github/workflows/lint.yml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.github/workflows/release.yml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.github/workflows/test.yml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.gitignore +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.markdownlint.jsonc +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.nextmv/bump_requirements.sh +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.prettierrc.yml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.readthedocs.yaml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/LICENSE.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/README.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/RELEASE.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/basic-chained-workflow.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/complex-workflow-csv.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/complex-workflow.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/ensemble-workflow.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/fanout-workflow.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/multifile-workflow.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/active-plan.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/api-keys.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/app-diagram.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/apps-orchestrate-full.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/apps-orchestrate.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/innovator.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/logo-180.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/new-run-orchestrate.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/nextmv-favicon.svg +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/plans.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/pushed-app.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/routing-ortools-pyvroom-selected.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/routing-selected.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/run-metadata.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/run-summary.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/run-workflow.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/secrets-collection-orchestrate.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/workflow-diagram.png +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/index.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/config.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/decorators.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/echo-multi.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/echo.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/flow.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/graph.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/schema.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/threads.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/uplink.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/utils.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/requirements.txt +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/tutorials/orchestrate-multiple-models.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/mkdocs.yml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/__init__.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/config.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/decorators.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/graph.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/schema.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/threads.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/uplink.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/utils.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe.code-workspace +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/pyproject.toml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/.gitignore +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/README.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/__init__.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/.gitignore +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/README.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/app.yaml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/main.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/requirements.txt +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/.gitignore +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/README.md +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/app.yaml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/inputs/data.csv +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/inputs/input.xlsx +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/main.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/requirements.txt +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/deploy/app.yaml +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/deploy/main.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/deploy/requirements.txt +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/appapp.json +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/appapp.json.golden +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/appapp.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/chain.json +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/chain.json.golden +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/chain.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/complex.json +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/complex.json.golden +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/complex.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/fail.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach-2-pred.json +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach-2-pred.json.golden +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach-2-pred.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach.json +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach.json.golden +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/inputs/data.csv +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/inputs/input.xlsx +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/multifile.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_graph.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_schema.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_threads.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_uplink.py +0 -0
- {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nextpipe
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1.dev0
|
|
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/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "v0.6.1.dev0"
|
|
@@ -878,7 +878,12 @@ class Runner:
|
|
|
878
878
|
self.uplink.submit_update(self.graph._to_uplink_dto())
|
|
879
879
|
|
|
880
880
|
@staticmethod
|
|
881
|
-
def __run_step(
|
|
881
|
+
def __run_step(
|
|
882
|
+
node: FlowNode,
|
|
883
|
+
inputs: list[object],
|
|
884
|
+
client: Client,
|
|
885
|
+
update_dag: callable,
|
|
886
|
+
) -> list[object] | object | None:
|
|
882
887
|
"""
|
|
883
888
|
Execute a step with the given inputs.
|
|
884
889
|
|
|
@@ -989,10 +994,11 @@ class Runner:
|
|
|
989
994
|
run_id = app.new_run(*run_args[0], **run_args[1])
|
|
990
995
|
console_url = f"{client.console_url}/app/{app_step.app_id}/run/{run_id}?view=details"
|
|
991
996
|
utils.log_internal(f"Started app step {node.id} run, find it at {console_url}")
|
|
997
|
+
node.run_id = run_id
|
|
998
|
+
update_dag() # Update the node with the run_id before we start polling for results
|
|
992
999
|
result = app.run_result_with_polling(
|
|
993
1000
|
run_id=run_id, polling_options=polling_options, output_dir_path=temp_dir
|
|
994
1001
|
)
|
|
995
|
-
node.run_id = run_id
|
|
996
1002
|
finally: # Make sure we clean up temp dir on failure too
|
|
997
1003
|
# If the temp dir is empty, remove it
|
|
998
1004
|
dir_result = False
|
|
@@ -1044,7 +1050,12 @@ class Runner:
|
|
|
1044
1050
|
target=self.__run_step,
|
|
1045
1051
|
start_callback=self.__node_start_callback,
|
|
1046
1052
|
done_callback=self.__node_done_callback,
|
|
1047
|
-
args=(
|
|
1053
|
+
args=(
|
|
1054
|
+
node,
|
|
1055
|
+
inputs,
|
|
1056
|
+
self.spec.client,
|
|
1057
|
+
lambda: self.uplink.submit_update(self.graph._to_uplink_dto()),
|
|
1058
|
+
),
|
|
1048
1059
|
name=utils.THREAD_NAME_PREFIX + node.id,
|
|
1049
1060
|
reference=node,
|
|
1050
1061
|
)
|
|
@@ -37,7 +37,7 @@ class TestPlatform(unittest.TestCase):
|
|
|
37
37
|
self.assertEqual(app.id, APP_ID)
|
|
38
38
|
|
|
39
39
|
# Check if app is created
|
|
40
|
-
app = cloud.Application(CLIENT, APP_ID)
|
|
40
|
+
app = cloud.Application(client=CLIENT, id=APP_ID)
|
|
41
41
|
self.assertIsNotNone(app)
|
|
42
42
|
self.assertEqual(app.id, APP_ID)
|
|
43
43
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "v0.6.0.dev0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/routing-ortools-pyvroom-selected.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|