def pass_context(f):
    def new_func(*args, **kwargs):
        return f(get_current_context(), *args, **kwargs)
    return update_wrapper(new_func, f)
Marks a callback as wanting to receive the current context
dataset/ETHPy150Open pallets/click/click/decorators.py/pass_context