mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-25 02:33:00 +08:00
chore: cleanup ruff flake8-simplify linter rules (#8286)
Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
@@ -17,7 +17,7 @@ class EndStreamGeneratorRouter:
|
||||
# parse stream output node value selector of end nodes
|
||||
end_stream_variable_selectors_mapping: dict[str, list[list[str]]] = {}
|
||||
for end_node_id, node_config in node_id_config_mapping.items():
|
||||
if not node_config.get("data", {}).get("type") == NodeType.END.value:
|
||||
if node_config.get("data", {}).get("type") != NodeType.END.value:
|
||||
continue
|
||||
|
||||
# skip end node in parallel
|
||||
|
||||
Reference in New Issue
Block a user