def wraps(wrapped, **kwargs):
  return functools.partial(update_wrapper, wrapped=wrapped, **kwargs)
commandr version of functools.wraps
dataset/ETHPy150Open tellapart/commandr/commandr/functools_util.py/wraps