Skip to content

Conversation

robsdedude
Copy link
Member

Instead of for example Duration(months=1, days=2, seconds=3, nanoseconds=4) the repr string representation is now neo4j.time.Duration(months=1, days=2, seconds=3, nanoseconds=4) or similar.

Both are fine in regards to Python's recommendations. However, the latter is more consistent with all other types defined in neo4j.time.

ClockTime's repr was changed in the same way.

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.

@robsdedude robsdedude marked this pull request as ready for review September 8, 2025 13:51
@robsdedude robsdedude enabled auto-merge (squash) September 8, 2025 13:52
@robsdedude robsdedude merged commit 77f9e39 into neo4j:6.x Sep 8, 2025
24 checks passed
@robsdedude robsdedude deleted the feat/improve-duration-repr branch September 8, 2025 14:58
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