def __filter__(self, values, include, exclude):
        cols = map(lambda col: col.lower(), values)
        if exclude:
            cols = filter(lambda x, ex=exclude: x not in ex, cols)
        if include:
            cols = filter(lambda x, inc=include: x in inc, cols)
        return cols
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/dbexts.py/Bulkcopy.__filter__/original