Source code for core.orm.types.hstore_type
from __future__ import annotations
from sqlalchemy.dialects.postgresql import HSTORE as HSTOREBase
from sqlalchemy.ext.mutable import MutableDict
[docs]
class HSTORE(HSTOREBase):
""" Extends the default HSTORE type to make it mutable by default. """
MutableDict.associate_with(HSTORE) # type:ignore[no-untyped-call]