| 229 | """Test HSTORE type in ORM mapped columns.""" |
| 230 | |
| 231 | class HSTORETest(Base): |
| 232 | __tablename__ = "test_hstore" |
| 233 | id = mapped_column(Integer, primary_key=True) |
| 234 | hstore_data: Mapped[dict[str, str | None]] = mapped_column(HSTORE) |
| 235 | |
| 236 | hstore_obj = HSTORETest() |
| 237 | assert_type(hstore_obj.hstore_data, dict[str, str | None]) |