def filter(self, **kwargs):
        filtered_set = ConnectionSet(self)
        for item in self:
            for key, value in kwargs.iteritems():
                condition = self._get_filter_condition(item, key, value)
                if not condition:
                    filtered_set = set([item]) - filtered_set
                    break
        return filtered_set
dataset/ETHPy150Open letolab/airy/airy/core/web.py/ConnectionSet.filter/swapped operands of `-`