def pass_obj(f):
def new_func(*args, **kwargs):<EOL><INDENT>return f(get_current_context().obj, *args, **kwargs)<EOL><DEDENT>return update_wrapper(new_func, f)<EOL>
Similar to :func:`pass_context`, but only pass the object on the
    context onwards (:attr:`Context.obj`).  This is useful if that object
    represents the state of a nested system.