fix(graph): formatting

This commit is contained in:
abhi1992002
2024-12-03 11:32:14 +05:30
parent 02a60966d4
commit cb5452f7ae

View File

@@ -311,7 +311,7 @@ class GraphModel(Graph):
f"Node {block.name} #{node.id}: Field {field_name} requires {', '.join(missing_deps)} to be set"
)
# Check if field is required when dependencies are present
# Check if field is required when dependencies are present
has_all_deps = all(
dep in node.input_default
and node.input_default[dep]
@@ -324,7 +324,6 @@ class GraphModel(Graph):
f"Node {block.name} #{node.id}: {field_name} is required when {', '.join(dependencies)} are set"
)
node_map = {v.id: v for v in self.nodes}
def is_static_output_block(nid: str) -> bool: