Skip to content

Commit

Permalink
fix: skip processing for missing source_node_id in node_id_config_map…
Browse files Browse the repository at this point in the history
…ping

Signed-off-by: -LAN- <[email protected]>
  • Loading branch information
laipz8200 committed Dec 23, 2024
1 parent c1aa55f commit 56dfee9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ def _recursive_fetch_answer_dependencies(
reverse_edges = reverse_edge_mapping.get(current_node_id, [])
for edge in reverse_edges:
source_node_id = edge.source_node_id
# found sometimes source_node_id is not in node_id_config_mapping, temporary fix by skip it
if source_node_id not in node_id_config_mapping:
continue
source_node_type = node_id_config_mapping[source_node_id].get("data", {}).get("type")
source_node_data = node_id_config_mapping[source_node_id].get("data", {})
if (
Expand Down

0 comments on commit 56dfee9

Please sign in to comment.