fix: sanitize hyphens in Neo4j Cypher relationship names (#4154)

This commit is contained in:
lamost423
2026-03-25 19:58:27 +05:30
committed by GitHub
parent 7e3b727528
commit f9e30304d7
2 changed files with 27 additions and 0 deletions
+1
View File
@@ -249,6 +249,7 @@ def sanitize_relationship_for_cypher(relationship) -> str:
"}": "_rbrace_",
"<": "_langle_",
">": "_rangle_",
"-": "_",
}
# Apply replacements and clean up