Log and continue for subgraph schema issues

This commit is contained in:
William Fu-Hinthorn
2025-03-24 07:50:25 -07:00
parent f690f4244e
commit ad63b730b3
+2 -1
View File
@@ -522,9 +522,10 @@ class CompiledGraph(Pregel):
if len(subgraph.nodes) >= 1:
e, s = graph.extend(subgraph, prefix=key)
if e is None:
raise ValueError(
logger.warning(
f"Could not extend subgraph '{key}' due to missing entrypoint"
)
continue
if s is not None:
start_nodes[key] = s
end_nodes[key] = e