Skip to content

Commit 2f157d9

Browse files
Fix mypy type errors in regression test
Co-Authored-By: [email protected] <[email protected]>
1 parent 6d159a3 commit 2f157d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ee/vellum_ee/workflows/display/tests/workflow_serialization/test_partial_workflow_meta_display_override.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ class TestWorkflowDisplay(BaseWorkflowDisplay[TestWorkflow]):
4343
entrypoint_node = entrypoint_nodes[0]
4444
assert isinstance(entrypoint_node, dict)
4545
assert entrypoint_node["id"] is not None, "ENTRYPOINT node should have a non-None id"
46-
source_handle_id = entrypoint_node["data"]["source_handle_id"]
46+
entrypoint_data = entrypoint_node["data"]
47+
assert isinstance(entrypoint_data, dict)
48+
source_handle_id = entrypoint_data["source_handle_id"]
4749
assert source_handle_id is not None, "ENTRYPOINT node should have a non-None source_handle_id"
4850

4951
# AND there should be an edge from ENTRYPOINT to the process node

0 commit comments

Comments
 (0)