def convert(self, col_name):
        for conversion in self.conversion_table:
            if getattr(self.datamodel, conversion[0])(col_name):
                return [item(col_name, self.datamodel) for item in conversion[1]]
        log.warning('Filter type not supported for column: %s' % col_name)
dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/models/filters.py/BaseFilterConverter.convert/original