Skip to content

Commit 3ee98a9

Browse files
Update graphgen/models/partitioner/anchor_bfs_partitioner.py
Co-authored-by: Copilot <[email protected]>
1 parent c8c6979 commit 3ee98a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphgen/models/partitioner/anchor_bfs_partitioner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def _pick_anchor_ids(
101101

102102
anchor_ids: Set[str] = set()
103103
for node_id, meta in nodes:
104-
node_type = str(meta.get("entity_type") or "").lower()
104+
node_type = str(meta.get("entity_type", "")).lower()
105105
if self.anchor_type.lower() in node_type:
106106
anchor_ids.add(node_id)
107107
return anchor_ids

0 commit comments

Comments
 (0)