Skip to content

Conversation

ptiurin
Copy link
Contributor

@ptiurin ptiurin commented Apr 25, 2025

This is breaking in SQLAlchemy driver therefore I'm adding a fix here to our extended types.

https://docs.python.org/3/reference/datamodel.html#object.__hash__
If an object overrides __eq__ it need to override __hash__ or it will be set to None.

@ptiurin ptiurin requested a review from a team as a code owner April 25, 2025 16:07
@ptiurin ptiurin changed the title fix: Hashability of extended types fix(NoTicket): Hashability of extended types Apr 25, 2025
Copy link

Copy link
Collaborator

@stepansergeevitch stepansergeevitch left a comment

Choose a reason for hiding this comment

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

LGTM, a single question

@ptiurin ptiurin merged commit 02f2236 into main Apr 28, 2025
9 of 10 checks passed
@ptiurin ptiurin deleted the fix-hashability-extended-types branch April 28, 2025 14:57
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