def configure_filter(self, config):
        """Configure a filter from a dictionary."""
        if config in '()':
            result = self.configure_custom(config)
        else:
            name = config.get('name', '')
            result = logging.Filter(name)
        return result
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/compat/dictconfig.py/DictConfigurator.configure_filter/swapped operands of `in`