def is_text(self, col_name):
try:
return (
isinstance(self.list_columns[col_name].type, sa.types.String)
or isinstance(self.list_columns[col_name].type, HSTORE)
)
except Exception:
return False