def serial(func):
    if not getattr(func, 'parallel', False):
        func.serial = True
    return _wrap_as_new(func, func)
Forces the wrapped function to always run sequentially, never in parallel.
dataset/ETHPy150Open fabric/fabric/fabric/decorators.py/serial