def METHOD_NAME(self, model_name: str):
    def get_model():
        for c in self.database.base_model._decl_class_registry.values():
            if hasattr(c, '__tablename__') and c.__tablename__ == model_name:
                return c
    colum_names = self.database.session.query(get_model()).statement.columns
    colum_names = [p.name for p in colum_names]
    return colum_names