(self, **kw)
| 2144 | self.dispatch = self.dispatch._join(_adapted_from.dispatch) |
| 2145 | |
| 2146 | def copy(self, **kw): |
| 2147 | # override SchemaType.copy() to not include to_metadata logic |
| 2148 | return self.adapt( |
| 2149 | cast("Type[TypeEngine[Any]]", self.__class__), |
| 2150 | _create_events=True, |
| 2151 | ) |
| 2152 | |
| 2153 | def _should_create_constraint(self, compiler, **kw): |
| 2154 | if not self._is_impl_for_variant(compiler.dialect, kw): |