lgtm, though, I think it would ease debugging if we copied the inner-function's metadata out to the wrapper-function.
We can use
@functools.wraps(f) def inner(*args, **kwargs):
to do that.
« Back to merge proposal
lgtm, though, I think it would ease debugging if we copied the inner-function's metadata out to the wrapper-function.
We can use
@functools. wraps(f)
def inner(*args, **kwargs):
to do that.