(self)
| 1029 | self.__dialect__ = MyDialect() |
| 1030 | |
| 1031 | def test_setup_getitem(self): |
| 1032 | col = Column("x", self.MyType()) |
| 1033 | |
| 1034 | is_(col[5].type._type_affinity, JSON) |
| 1035 | is_(col[5]["foo"].type._type_affinity, JSON) |
| 1036 | is_(col[("a", "b", "c")].type._type_affinity, JSON) |
| 1037 | |
| 1038 | @testing.combinations( |
| 1039 | (lambda col: col["foo"] + " ", "(x -> :x_1) || :param_1"), |