Skip to content

Conversation

robsdedude
Copy link
Member

@robsdedude robsdedude commented Aug 21, 2025

These changes have no affect on the driver's public API. They're targeted at improving the development and debugging experience.

  • Adjust repr to follow Python's recommendations
  • Fix __eq__ returning NotImplementedError instead of NotImplemented
  • Add type hints
  • Add tests

These changes have no affect on the driver's public API. They're targeted at
improving the development and debugging experience.

 * Adjust `repr` to follow Python's recommendations
 * Fix `__eq__` returning `NotImplementedError` instead of `NotImplemented`
 * Add type hints
 * Add tests
@robsdedude robsdedude force-pushed the feat/improve-packstream-structure-class branch from a4e838e to 57472bb Compare August 21, 2025 15:35
@robsdedude robsdedude marked this pull request as ready for review August 22, 2025 13:12
Copy link
Contributor

@MaxAake MaxAake left a comment

Choose a reason for hiding this comment

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


❓ What is the rules for including changes in the changelog in the python driver? I'm not sure if the lack of a changelog update here is an oversight or deliberate

@robsdedude
Copy link
Member Author

robsdedude commented Sep 8, 2025

What is the rules for including changes in the changelog in the python driver?

Great question. Firstly, there are 2 change logs:

The latter is a full changelog with anything that's user-facing. The former is only major and breaking changes. Whatever that means. When I took over maintenance of this project, this was already like that. It might be worth tackling that at some point.

Either way, the user should under normal conditions never end up with a Structure object in their hand. Therefore, this PR doesn't alter the public API or the driver's behavior except for maybe in log messages or buggy situations. So I think it's not worth being included in either changelog.

@robsdedude robsdedude enabled auto-merge (squash) September 8, 2025 17:55
@robsdedude robsdedude merged commit 741e6b3 into neo4j:6.x Sep 8, 2025
24 checks passed
@robsdedude robsdedude deleted the feat/improve-packstream-structure-class branch September 8, 2025 18:46
robsdedude added a commit to robsdedude/neo4j-python-driver that referenced this pull request Sep 12, 2025
robsdedude added a commit to robsdedude/neo4j-python-driver that referenced this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants