def load_dialect_impl(self, dialect): if dialect.name == "postgresql": return dialect.type_descriptor(PostgresUUID(as_uuid=self.as_uuid)) else: return dialect.type_descriptor(CHAR(32))
def load_dialect_impl(self, dialect: Dialect) -> Any: if dialect.name == "postgresql": return dialect.type_descriptor(PostgresUUID()) else: return dialect.type_descriptor(CHAR(32))
def load_dialect_impl(self, dialect): if dialect.name == 'postgresql': return dialect.type_descriptor(PostgresUUID()) else: return dialect.type_descriptor(CHAR(32))
def load_dialect_impl(self, dialect): if dialect.name.startswith('postgres'): self.impl = PostgresUUID(as_uuid=True) return dialect.type_descriptor(self.impl)