vellum-workflow-server 1.7.9__tar.gz → 1.7.9.post2__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.
Potentially problematic release.
This version of vellum-workflow-server might be problematic. Click here for more details.
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/PKG-INFO +1 -1
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/pyproject.toml +1 -1
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/tests/test_workflow_view_stream_workflow_route.py +3 -1
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/core/executor.py +1 -13
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/README.md +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/__init__.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/__init__.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/auth_middleware.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/healthz_view.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/tests/__init__.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/tests/test_input_display_mapping.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/tests/test_workflow_view.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/api/workflow_view.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/code_exec_runner.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/config.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/core/__init__.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/core/cancel_workflow.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/core/events.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/core/utils.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/core/workflow_executor_context.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/server.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/start.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/__init__.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/exit_handler.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/log_proxy.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/oom_killer.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/sentry.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/system_utils.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/tests/__init__.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/tests/test_sentry_integration.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/tests/test_system_utils.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/tests/test_utils.py +0 -0
- {vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/utils/utils.py +0 -0
|
@@ -117,7 +117,7 @@ def test_stream_workflow_route__happy_path(both_stream_types):
|
|
|
117
117
|
"execution_id": str(span_id),
|
|
118
118
|
"inputs": [],
|
|
119
119
|
"environment_api_key": "test",
|
|
120
|
-
"module": "
|
|
120
|
+
"module": "test",
|
|
121
121
|
"timeout": 360,
|
|
122
122
|
"files": {
|
|
123
123
|
"__init__.py": "",
|
|
@@ -154,6 +154,7 @@ class Workflow(BaseWorkflow):
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
assert events[1]["name"] == "workflow.execution.initiated", events[1]
|
|
157
|
+
assert events[1]["body"]["workflow_definition"]["module"] == ["test", "workflow"]
|
|
157
158
|
assert "display_context" in events[1]["body"], events[1]["body"]
|
|
158
159
|
display_context = events[1]["body"]["display_context"]
|
|
159
160
|
assert "node_displays" in display_context
|
|
@@ -164,6 +165,7 @@ class Workflow(BaseWorkflow):
|
|
|
164
165
|
assert isinstance(display_context["workflow_outputs"], dict)
|
|
165
166
|
assert "foo" in display_context["workflow_outputs"]
|
|
166
167
|
assert events[2]["name"] == "workflow.execution.fulfilled", events[2]
|
|
168
|
+
assert events[2]["body"]["workflow_definition"]["module"] == ["test", "workflow"]
|
|
167
169
|
|
|
168
170
|
assert events[3] == {
|
|
169
171
|
"id": mock.ANY,
|
|
@@ -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=[
|
|
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
|
|
File without changes
|
{vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/__init__.py
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
|
{vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/server.py
RENAMED
|
File without changes
|
{vellum_workflow_server-1.7.9 → vellum_workflow_server-1.7.9.post2}/src/workflow_server/start.py
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
|