[Sqlalchemy-tickets] Issue #3053: PostgreSQL HSTORE type should be marked hashable = False (zzzeek/
Brought to you by:
zzzeek
|
From: Gunnlaugur Þ. B. <iss...@bi...> - 2014-05-15 20:33:34
|
New issue 3053: PostgreSQL HSTORE type should be marked hashable = False https://bitbucket.org/zzzeek/sqlalchemy/issue/3053/postgresql-hstore-type-should-be-marked Gunnlaugur Þór Briem: The `HSTORE` type returns `dict` objects, which are not hashable, so it should not have the default `hashable = True`. Fixing this (setting `hashable = False`) allows columns of this type to be loaded along with ORM entities in a `Query` as per #2592. Will attach a totally trivial patch that does this, breaking no tests, and applies cleanly on rel_0_8, rel_0_9 and master. |