def trigger_hook(self, __name, *args, **kwargs):
        return [hook(*args, **kwargs) for hook in self._hooks[__name][:]]
Re-define this to define an action to run before the reducer
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/Bottle.trigger_hook--crossover with--dataset/ETHPy150Open Yelp/mrjob/mrjob/job.py/MRJob.reducer_init