cherry-pick 3276b7a4
This commit is contained in:
parent
51170bcb4a
commit
40209a5e76
1 changed files with 6 additions and 2 deletions
|
|
@ -3763,7 +3763,9 @@ class PGGraphStorage(BaseGraphStorage):
|
|||
node_key = result["node_id"]
|
||||
original_key = lookup.get(node_key)
|
||||
if original_key is None:
|
||||
logger.warning(f"[{self.workspace}] Node {node_key} not found in lookup map")
|
||||
logger.warning(
|
||||
f"[{self.workspace}] Node {node_key} not found in lookup map"
|
||||
)
|
||||
original_key = node_key
|
||||
if original_key in requested:
|
||||
nodes_dict[original_key] = node_dict
|
||||
|
|
@ -3854,7 +3856,9 @@ class PGGraphStorage(BaseGraphStorage):
|
|||
node_key = node_id
|
||||
original_key = lookup.get(node_key)
|
||||
if original_key is None:
|
||||
logger.warning(f"[{self.workspace}] Node {node_key} not found in lookup map")
|
||||
logger.warning(
|
||||
f"[{self.workspace}] Node {node_key} not found in lookup map"
|
||||
)
|
||||
original_key = node_key
|
||||
if original_key in requested:
|
||||
out_degrees[original_key] = int(row.get("out_degree", 0) or 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue