@util.curry
    def register_filter_builder(self, function, **kwargs):
        kwargs['transform'] = function
        if kwargs.get('decider'):
            kwargs['decide'] = kwargs.get('decider')
        return type('filter', (self.filter_class,), kwargs)
Register a filter function with this :class:`~.Filters` instance.
dataset/ETHPy150Open IvanMalison/okcupyd/okcupyd/filter.py/Filters.register_filter_builder