nextpipe 0.2.1__tar.gz → 0.2.2.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.2.1 → nextpipe-0.2.2.dev0}/PKG-INFO +1 -1
- nextpipe-0.2.2.dev0/examples/pipeline-chain/requirements.txt +1 -0
- nextpipe-0.2.2.dev0/examples/pipeline-complex/requirements.txt +1 -0
- nextpipe-0.2.2.dev0/examples/pipeline-ensemble/requirements.txt +1 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-foreach/main.py +8 -1
- nextpipe-0.2.2.dev0/examples/pipeline-foreach/requirements.txt +1 -0
- nextpipe-0.2.2.dev0/examples/pipeline-preprocess/requirements.txt +1 -0
- nextpipe-0.2.2.dev0/nextpipe/__about__.py +1 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/flow.py +3 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/schema.py +3 -0
- nextpipe-0.2.1/examples/pipeline-chain/requirements.txt +0 -1
- nextpipe-0.2.1/examples/pipeline-complex/requirements.txt +0 -1
- nextpipe-0.2.1/examples/pipeline-ensemble/requirements.txt +0 -1
- nextpipe-0.2.1/examples/pipeline-foreach/requirements.txt +0 -1
- nextpipe-0.2.1/examples/pipeline-preprocess/requirements.txt +0 -1
- nextpipe-0.2.1/nextpipe/__about__.py +0 -1
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.github/workflows/lint.yml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.github/workflows/release.yml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.github/workflows/test.yml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.gitignore +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.nextmv/bump_requirements.sh +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.prettierrc.yml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/LICENSE.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/.gitignore +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/input.json +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/requirements.txt +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-chain/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-chain/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-chain/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-complex/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-complex/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-complex/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-ensemble/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-ensemble/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-ensemble/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-foreach/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-foreach/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-preprocess/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-preprocess/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-preprocess/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/__init__.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/config.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/decorators.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/graph.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/threads.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/uplink.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/utils.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe.code-workspace +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/pyproject.toml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/.gitignore +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/__init__.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/.gitignore +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/README.md +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/requirements.txt +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/deploy/app.yaml +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/deploy/main.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/deploy/requirements.txt +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/chain.json +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/chain.json.golden +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/chain.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/complex.json +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/complex.json.golden +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/complex.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/fail.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach-2-pred.json +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach-2-pred.json.golden +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach-2-pred.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach.json +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach.json.golden +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_graph.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_integration.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_threads.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_uplink.py +0 -0
- {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_version.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nextpipe==0.2.2.dev.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nextpipe==0.2.2.dev.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nextpipe==0.2.2.dev.0
|
|
@@ -15,7 +15,14 @@ class Flow(FlowSpec):
|
|
|
15
15
|
Creates 3 copies of the input and configures them for 3 different app parameters.
|
|
16
16
|
"""
|
|
17
17
|
inputs = [copy.deepcopy(data) for _ in range(3)]
|
|
18
|
-
run_configs = [
|
|
18
|
+
run_configs = [
|
|
19
|
+
AppRunConfig(
|
|
20
|
+
input=input,
|
|
21
|
+
options=[AppOption("param", i)],
|
|
22
|
+
name=f"run-{i}",
|
|
23
|
+
)
|
|
24
|
+
for i, input in enumerate(inputs)
|
|
25
|
+
]
|
|
19
26
|
return run_configs
|
|
20
27
|
|
|
21
28
|
@step
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nextpipe==0.2.2.dev.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nextpipe==0.2.2.dev.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "v0.2.2.dev0"
|
|
@@ -363,10 +363,12 @@ class Runner:
|
|
|
363
363
|
app_run_config: schema.AppRunConfig = inputs[0]
|
|
364
364
|
input = app_run_config.input
|
|
365
365
|
options = {option.name: option.value for option in app_run_config.options}
|
|
366
|
+
name = app_run_config.name if app_run_config.name else node.id
|
|
366
367
|
else:
|
|
367
368
|
# If the input is not AppRunConfig, we use it directly.
|
|
368
369
|
input = inputs[0]
|
|
369
370
|
options = app_step.parameters
|
|
371
|
+
name = node.id
|
|
370
372
|
|
|
371
373
|
# Modify the polling options set for the step (by default or by the
|
|
372
374
|
# user) so that the initial delay is randomized and the stopping
|
|
@@ -384,6 +386,7 @@ class Runner:
|
|
|
384
386
|
"input": input,
|
|
385
387
|
"run_options": options,
|
|
386
388
|
"polling_options": polling_options,
|
|
389
|
+
"name": name,
|
|
387
390
|
},
|
|
388
391
|
)
|
|
389
392
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from dataclasses import dataclass, field
|
|
2
|
+
from typing import Optional
|
|
2
3
|
|
|
3
4
|
from dataclasses_json import dataclass_json
|
|
4
5
|
|
|
@@ -23,3 +24,5 @@ class AppRunConfig:
|
|
|
23
24
|
"""Input for the app."""
|
|
24
25
|
options: list[AppOption] = field(default_factory=list)
|
|
25
26
|
"""Options for running the app."""
|
|
27
|
+
name: Optional[str] = None
|
|
28
|
+
"""Name for the run."""
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nextpipe==0.2.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nextpipe==0.2.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nextpipe==0.2.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nextpipe==0.2.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nextpipe==0.2.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "v0.2.1"
|
|
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
|