Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rc/5.4.4 #862

Merged
merged 11 commits into from
Mar 6, 2025
Prev Previous commit
Next Next commit
Fixed wrong sentence
tonioo committed Mar 6, 2025
commit 9a946b3f8b518999d6bb722632676fc72c734d8a
2 changes: 1 addition & 1 deletion neomodel/async_/match.py
Original file line number Diff line number Diff line change
@@ -689,7 +689,7 @@ def build_label(self, ident: str, cls: type[AsyncStructuredNode]) -> str:
self._ast.return_clause = ident
self._ast.result_class = cls
elif not self._ast.match:
# If we get here, it means we called return_clause was filled because of an
# If we get here, it means return_clause was filled because of an
# optional match, so we add a regular match for root node.
# Not very elegant, this part would deserve a refactoring...
self._ast.match.append(f"({ident_w_label})")
2 changes: 1 addition & 1 deletion neomodel/sync_/match.py
Original file line number Diff line number Diff line change
@@ -687,7 +687,7 @@ def build_label(self, ident: str, cls: type[StructuredNode]) -> str:
self._ast.return_clause = ident
self._ast.result_class = cls
elif not self._ast.match:
# If we get here, it means we called return_clause was filled because of an
# If we get here, it means return_clause was filled because of an
# optional match, so we add a regular match for root node.
# Not very elegant, this part would deserve a refactoring...
self._ast.match.append(f"({ident_w_label})")