def derive_handlers(self, result): return filter(Handler._handles(result), self.config.handlers)
def handle_results(self, results=[]): [map(Handler._handle(result), self.derive_handlers(result)) for result in results]