Skip to content

Commit a3a1858

Browse files
committed
Updated to avoid the dict path and let the type checker enforce constructor args.
- `api/core/workflow/nodes/node_factory.py` now directly instantiates `VariableAssignerNode` with the injected dependency, and uses a direct call for all other nodes. No tests run.
1 parent 0f39b62 commit a3a1858

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

api/core/workflow/nodes/node_factory.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def create_node(self, node_config: dict[str, object]) -> Node:
113113
code_providers=self._code_providers,
114114
code_limits=self._code_limits,
115115
)
116-
117116
if node_class is VariableAssignerNode:
118117
return VariableAssignerNode(
119118
id=node_id,

0 commit comments

Comments
 (0)