def defaults(**options):
    """Set default Async options on the function decorated.

    Note: you must pass the decorated function by reference, not as a
    "path.string.to.function" for this to have any effect.
    """
    _check_options(options)

    def real_decorator(function):
        function._async_options = options

        @wraps(function)
        def wrapper(*args, **kwargs):
            return function(*args, **kwargs)
        return wrapper

    return real_decorator
def defaults ( ** options ) : _check_options ( options ) def real_decorator ( function ) : function . _async_options = options @ wraps ( function ) def wrapper ( * args , ** kwargs ) : return function ( * args , ** kwargs ) return wrapper return real_decorator
Set default Async options on the function decorated.

    Note: you must pass the decorated function by reference, not as a
    "path.string.to.function" for this to have any effect.