vellum-workflow-server 1.7.9.post1__py3-none-any.whl → 1.7.10__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-workflow-server
3
- Version: 1.7.9.post1
3
+ Version: 1.7.10
4
4
  Summary:
5
5
  License: AGPL
6
6
  Requires-Python: >=3.9.0,<4
@@ -29,7 +29,7 @@ Requires-Dist: pyjwt (==2.10.0)
29
29
  Requires-Dist: python-dotenv (==1.0.1)
30
30
  Requires-Dist: retrying (==1.3.4)
31
31
  Requires-Dist: sentry-sdk[flask] (==2.20.0)
32
- Requires-Dist: vellum-ai (==1.7.9)
32
+ Requires-Dist: vellum-ai (==1.7.10)
33
33
  Description-Content-Type: text/markdown
34
34
 
35
35
  # Vellum Workflow Runner Server
@@ -12,7 +12,7 @@ workflow_server/config.py,sha256=cUdI_lEovV7e7lwCkGJ1eM9R4OZVJw5R5zT1eG1SzQQ,212
12
12
  workflow_server/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  workflow_server/core/cancel_workflow.py,sha256=QcEeYUIrxq4pub-z9BlGi5fLI3gVRml-56rMCW7j5Hc,2212
14
14
  workflow_server/core/events.py,sha256=24MA66DVQuaLJJcZrS8IL1Zq4Ohi9CoouKZ5VgoH3Cs,1402
15
- workflow_server/core/executor.py,sha256=sIW2LaRysaXeJleXgQ91yNRVQBAUkUWVh8fpL91bliE,16465
15
+ workflow_server/core/executor.py,sha256=rMpVgP3PqMnjHVYeuTdHvbYGwJW5C9O5TFGW926jFM0,16106
16
16
  workflow_server/core/utils.py,sha256=si0NB4Suurc-mn8NYdn59xM9CkPrfOP1aWEVrZvifDI,1929
17
17
  workflow_server/core/workflow_executor_context.py,sha256=Q2R0T2KkYZ1z52v8erDMysJfxSODbzPhDxBxX--k4Zw,3202
18
18
  workflow_server/server.py,sha256=lhHPmK1PhRZd6eCkj1C0acK3YwaApZgoPHghMChw0fc,1461
@@ -28,7 +28,7 @@ workflow_server/utils/tests/test_sentry_integration.py,sha256=14PfuW8AaQNNtqLmBs
28
28
  workflow_server/utils/tests/test_system_utils.py,sha256=_4GwXvVvU5BrATxUEWwQIPg0bzQXMWBtiBmjP8MTxJM,4314
29
29
  workflow_server/utils/tests/test_utils.py,sha256=0Nq6du8o-iBtTrip9_wgHES53JSiJbVdSXaBnPobw3s,6930
30
30
  workflow_server/utils/utils.py,sha256=m7iMJtor5SQLWu7jlJw-X5Q3nmbq69BCxTMv6qnFYrA,4835
31
- vellum_workflow_server-1.7.9.post1.dist-info/METADATA,sha256=8E2OHbTQqGwGX-PdG2qFZhfdsRli7xb0ybi2UuXRpqk,2273
32
- vellum_workflow_server-1.7.9.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
- vellum_workflow_server-1.7.9.post1.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
- vellum_workflow_server-1.7.9.post1.dist-info/RECORD,,
31
+ vellum_workflow_server-1.7.10.dist-info/METADATA,sha256=0jfzSrst_oJpWuB5jFawlvAeVZIZWvaBn4t-O2G1M_I,2269
32
+ vellum_workflow_server-1.7.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
33
+ vellum_workflow_server-1.7.10.dist-info/entry_points.txt,sha256=uB_0yPkr7YV6RhEXzvFReUM8P4OQBlVXD6TN6eb9-oc,277
34
+ vellum_workflow_server-1.7.10.dist-info/RECORD,,
@@ -156,7 +156,6 @@ def stream_workflow(
156
156
  if executor_context.state
157
157
  else None
158
158
  )
159
- run_from_node = _get_run_from_node(executor_context, workflow)
160
159
  node_output_mocks = MockNodeExecution.validate_all(
161
160
  executor_context.node_output_mocks,
162
161
  workflow.__class__,
@@ -170,7 +169,7 @@ def stream_workflow(
170
169
  node_output_mocks=node_output_mocks,
171
170
  event_filter=all_workflow_event_filter,
172
171
  cancel_signal=cancel_signal,
173
- entrypoint_nodes=[run_from_node] if run_from_node else None,
172
+ entrypoint_nodes=[executor_context.node_id] if executor_context.node_id else None,
174
173
  previous_execution_id=executor_context.previous_execution_id,
175
174
  )
176
175
  except WorkflowInitializationException as e:
@@ -462,14 +461,3 @@ but found {inputs_module.Inputs.__class__.__name__}""",
462
461
  )
463
462
 
464
463
  return inputs_module.Inputs(**executor_context.inputs)
465
-
466
-
467
- def _get_run_from_node(executor_context: WorkflowExecutorContext, workflow: BaseWorkflow) -> Optional[Type[BaseNode]]:
468
- if not executor_context.node_id:
469
- return None
470
-
471
- for node in workflow.get_nodes():
472
- if node.__id__ == executor_context.node_id:
473
- return node
474
-
475
- return None