thoughtspot / cs_tools

Scale your ThoughtSpot adoption with tools created by the ThoughtSpot Solutions Consulting organization.
https://thoughtspot.github.io/cs_tools/
Other
9 stars 6 forks source link

SQLAlchemy event registry Unhashable type: 'SyncerName' #58

Closed boonhapus closed 8 months ago

boonhapus commented 1 year ago

Found in #57 comment , SQLAlchemy + pydantic.dataclasses don't play nicely with each other on python37.

This is because the default implementation from pydantic is not hashable.

This will likely go away on its own as we reevaluate the Syncer protocol as a proper inheritance chain, but python3.7 is going to complain for it a bit.

boonhapus commented 8 months ago

This is fixed as part of 1.5.0.