Skip to content

Commit 012170a

Browse files
committed
fix:id
1 parent 2a4e2ec commit 012170a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/memos/graph_dbs/polardb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,8 @@ def get_subgraph(
12921292

12931293
user_name = user_name if user_name else self._get_config_value("user_name")
12941294

1295+
if center_id.startswith('"') and center_id.endswith('"'):
1296+
center_id = center_id[1:-1]
12951297
# Use a simplified query to get the subgraph (temporarily only direct neighbors)
12961298
"""
12971299
SELECT * FROM cypher('{self.db_name}_graph', $$

0 commit comments

Comments
 (0)