fix(workflow): allow right-hand operand to be optional when not required by comparison

This commit is contained in:
Eternity
2026-03-20 19:09:41 +08:00
parent fabc8936ab
commit cf26c9f39c
9 changed files with 13 additions and 10 deletions

View File

@@ -303,7 +303,7 @@ async def test_get_node_output_not_exist_with_default():
"""测试获取不存在的节点输出(使用默认值)"""
pool = VariablePool()
result = pool.get_node_output("nonexistent_node", defalut=None, strict=False)
result = pool.get_node_output("nonexistent_node", default=None, strict=False)
assert result is None