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.
Files changed (106) hide show
  1. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/PKG-INFO +1 -1
  2. nextpipe-0.6.1.dev0/nextpipe/__about__.py +1 -0
  3. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/flow.py +14 -3
  4. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_integration.py +1 -1
  5. nextpipe-0.6.0.dev0/nextpipe/__about__.py +0 -1
  6. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.github/workflows/lint.yml +0 -0
  7. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.github/workflows/release.yml +0 -0
  8. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.github/workflows/test.yml +0 -0
  9. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.gitignore +0 -0
  10. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.markdownlint.jsonc +0 -0
  11. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.nextmv/bump_requirements.sh +0 -0
  12. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.prettierrc.yml +0 -0
  13. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/.readthedocs.yaml +0 -0
  14. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/LICENSE.md +0 -0
  15. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/README.md +0 -0
  16. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/RELEASE.md +0 -0
  17. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/basic-chained-workflow.md +0 -0
  18. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/complex-workflow-csv.md +0 -0
  19. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/complex-workflow.md +0 -0
  20. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/ensemble-workflow.md +0 -0
  21. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/fanout-workflow.md +0 -0
  22. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/examples/multifile-workflow.md +0 -0
  23. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/active-plan.png +0 -0
  24. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/api-keys.png +0 -0
  25. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/app-diagram.png +0 -0
  26. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/apps-orchestrate-full.png +0 -0
  27. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/apps-orchestrate.png +0 -0
  28. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/innovator.png +0 -0
  29. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/logo-180.png +0 -0
  30. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/new-run-orchestrate.png +0 -0
  31. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/nextmv-favicon.svg +0 -0
  32. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/plans.png +0 -0
  33. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/pushed-app.png +0 -0
  34. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/routing-ortools-pyvroom-selected.png +0 -0
  35. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/routing-selected.png +0 -0
  36. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/run-metadata.png +0 -0
  37. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/run-summary.png +0 -0
  38. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/run-workflow.png +0 -0
  39. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/secrets-collection-orchestrate.png +0 -0
  40. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/images/workflow-diagram.png +0 -0
  41. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/index.md +0 -0
  42. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/config.md +0 -0
  43. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/decorators.md +0 -0
  44. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/echo-multi.md +0 -0
  45. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/echo.md +0 -0
  46. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/flow.md +0 -0
  47. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/graph.md +0 -0
  48. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/schema.md +0 -0
  49. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/threads.md +0 -0
  50. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/uplink.md +0 -0
  51. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/reference/utils.md +0 -0
  52. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/requirements.txt +0 -0
  53. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/docs/tutorials/orchestrate-multiple-models.md +0 -0
  54. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/mkdocs.yml +0 -0
  55. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/__init__.py +0 -0
  56. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/config.py +0 -0
  57. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/decorators.py +0 -0
  58. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/graph.py +0 -0
  59. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/schema.py +0 -0
  60. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/threads.py +0 -0
  61. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/uplink.py +0 -0
  62. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe/utils.py +0 -0
  63. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/nextpipe.code-workspace +0 -0
  64. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/pyproject.toml +0 -0
  65. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/.gitignore +0 -0
  66. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/README.md +0 -0
  67. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/__init__.py +0 -0
  68. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/.gitignore +0 -0
  69. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/README.md +0 -0
  70. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/app.yaml +0 -0
  71. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/main.py +0 -0
  72. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo/requirements.txt +0 -0
  73. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/.gitignore +0 -0
  74. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/README.md +0 -0
  75. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/app.yaml +0 -0
  76. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/inputs/data.csv +0 -0
  77. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/inputs/input.xlsx +0 -0
  78. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/main.py +0 -0
  79. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/apps/echo-multi/requirements.txt +0 -0
  80. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/deploy/app.yaml +0 -0
  81. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/deploy/main.py +0 -0
  82. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/deploy/requirements.txt +0 -0
  83. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/appapp.json +0 -0
  84. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/appapp.json.golden +0 -0
  85. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/appapp.py +0 -0
  86. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/chain.json +0 -0
  87. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/chain.json.golden +0 -0
  88. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/chain.py +0 -0
  89. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/complex.json +0 -0
  90. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/complex.json.golden +0 -0
  91. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/complex.py +0 -0
  92. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/fail.py +0 -0
  93. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach-2-pred.json +0 -0
  94. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach-2-pred.json.golden +0 -0
  95. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach-2-pred.py +0 -0
  96. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach.json +0 -0
  97. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach.json.golden +0 -0
  98. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/foreach.py +0 -0
  99. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/inputs/data.csv +0 -0
  100. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/inputs/input.xlsx +0 -0
  101. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/pipelines/multifile.py +0 -0
  102. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_graph.py +0 -0
  103. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_schema.py +0 -0
  104. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_threads.py +0 -0
  105. {nextpipe-0.6.0.dev0 → nextpipe-0.6.1.dev0}/tests/test_uplink.py +0 -0
  106. {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.0.dev0
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(node: FlowNode, inputs: list[object], client: Client) -> list[object] | object | None:
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=(node, inputs, self.spec.client),
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