def defers(func):
    @wraps(func)
    def wrapped(*a, **kw):
        return defer.maybeDeferred(func, *a, **kw)
    return wrapped
Configure character generator to use
dataset/ETHPy150Open wcong/ants/ants/utils/decorator.py/defers--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/builders/action.py/MetamorphosisFactoryBuilder.with_character_generator