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.
Files changed (83) hide show
  1. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/PKG-INFO +1 -1
  2. nextpipe-0.2.2.dev0/examples/pipeline-chain/requirements.txt +1 -0
  3. nextpipe-0.2.2.dev0/examples/pipeline-complex/requirements.txt +1 -0
  4. nextpipe-0.2.2.dev0/examples/pipeline-ensemble/requirements.txt +1 -0
  5. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-foreach/main.py +8 -1
  6. nextpipe-0.2.2.dev0/examples/pipeline-foreach/requirements.txt +1 -0
  7. nextpipe-0.2.2.dev0/examples/pipeline-preprocess/requirements.txt +1 -0
  8. nextpipe-0.2.2.dev0/nextpipe/__about__.py +1 -0
  9. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/flow.py +3 -0
  10. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/schema.py +3 -0
  11. nextpipe-0.2.1/examples/pipeline-chain/requirements.txt +0 -1
  12. nextpipe-0.2.1/examples/pipeline-complex/requirements.txt +0 -1
  13. nextpipe-0.2.1/examples/pipeline-ensemble/requirements.txt +0 -1
  14. nextpipe-0.2.1/examples/pipeline-foreach/requirements.txt +0 -1
  15. nextpipe-0.2.1/examples/pipeline-preprocess/requirements.txt +0 -1
  16. nextpipe-0.2.1/nextpipe/__about__.py +0 -1
  17. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.github/workflows/lint.yml +0 -0
  18. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.github/workflows/release.yml +0 -0
  19. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.github/workflows/test.yml +0 -0
  20. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.gitignore +0 -0
  21. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.nextmv/bump_requirements.sh +0 -0
  22. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/.prettierrc.yml +0 -0
  23. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/LICENSE.md +0 -0
  24. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/README.md +0 -0
  25. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/README.md +0 -0
  26. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/.gitignore +0 -0
  27. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/README.md +0 -0
  28. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/app.yaml +0 -0
  29. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/input.json +0 -0
  30. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/main.py +0 -0
  31. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/apps/echo/requirements.txt +0 -0
  32. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-chain/README.md +0 -0
  33. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-chain/app.yaml +0 -0
  34. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-chain/main.py +0 -0
  35. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-complex/README.md +0 -0
  36. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-complex/app.yaml +0 -0
  37. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-complex/main.py +0 -0
  38. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-ensemble/README.md +0 -0
  39. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-ensemble/app.yaml +0 -0
  40. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-ensemble/main.py +0 -0
  41. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-foreach/README.md +0 -0
  42. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-foreach/app.yaml +0 -0
  43. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-preprocess/README.md +0 -0
  44. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-preprocess/app.yaml +0 -0
  45. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/examples/pipeline-preprocess/main.py +0 -0
  46. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/__init__.py +0 -0
  47. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/config.py +0 -0
  48. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/decorators.py +0 -0
  49. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/graph.py +0 -0
  50. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/threads.py +0 -0
  51. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/uplink.py +0 -0
  52. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe/utils.py +0 -0
  53. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/nextpipe.code-workspace +0 -0
  54. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/pyproject.toml +0 -0
  55. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/.gitignore +0 -0
  56. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/README.md +0 -0
  57. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/__init__.py +0 -0
  58. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/.gitignore +0 -0
  59. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/README.md +0 -0
  60. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/app.yaml +0 -0
  61. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/main.py +0 -0
  62. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/apps/echo/requirements.txt +0 -0
  63. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/deploy/app.yaml +0 -0
  64. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/deploy/main.py +0 -0
  65. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/deploy/requirements.txt +0 -0
  66. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/chain.json +0 -0
  67. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/chain.json.golden +0 -0
  68. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/chain.py +0 -0
  69. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/complex.json +0 -0
  70. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/complex.json.golden +0 -0
  71. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/complex.py +0 -0
  72. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/fail.py +0 -0
  73. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach-2-pred.json +0 -0
  74. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach-2-pred.json.golden +0 -0
  75. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach-2-pred.py +0 -0
  76. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach.json +0 -0
  77. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach.json.golden +0 -0
  78. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/pipelines/foreach.py +0 -0
  79. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_graph.py +0 -0
  80. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_integration.py +0 -0
  81. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_threads.py +0 -0
  82. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_uplink.py +0 -0
  83. {nextpipe-0.2.1 → nextpipe-0.2.2.dev0}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextpipe
3
- Version: 0.2.1
3
+ Version: 0.2.2.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://www.nextmv.io/docs
@@ -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 = [AppRunConfig(input, [AppOption("param", i)]) for i, input in enumerate(inputs)]
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