Skip to content

Conversation

@cpdata
Copy link
Owner

@cpdata cpdata commented Oct 14, 2025

Summary

  • add server-side pagination, search, and counts support to every graph driver and surface the controls through the memory manager, client, services, CLI, and examples
  • introduce a documentation guard script with CI/make integration and pytest coverage so code changes keep the wiki up to date
  • refresh README, docs, and project planning files to document pagination workflows, counts commands, and the docs-guard process

Testing

  • pytest

https://chatgpt.com/codex/tasks/task_b_68ee1c9ee92c83218cbbebce8b0667b8

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines +194 to +200
def delete_triplet(self, subj: str, pred: str, obj: str) -> None:
predicate = self._sanitize_predicate(pred)
cypher = (
"MATCH (a {uuid: $subj})-[r:`{predicate}`]->(b {uuid: $obj}) "
"DELETE r"
)
params = {"subj": str(subj), "obj": str(obj)}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Format predicate in Memgraph delete_triplet query

The Memgraph driver’s delete_triplet constructs the Cypher with a {predicate} placeholder but never interpolates it (the string literal is not an f-string or formatted). As a result the driver executes MATCH (a {uuid: $subj})-[r:{predicate}]->(b {uuid: $obj}) DELETE r, which is invalid Cypher and will never delete the intended relationship. Any call to MemoryManager.delete_triplet against a Memgraph backend will therefore silently fail. The predicate should be inserted into the query (after sanitizing) before execution.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants