未验证 提交 fd86a938 编写于 作者: N Nyakku Shigure 提交者: GitHub

add a wrap_decorator decorator to keep the __doc__ attr (#45773)

上级 d4c4c53d
......@@ -634,6 +634,7 @@ def _remove_save_pre_hook(hook):
_save_pre_hooks_lock.release()
@wrap_decorator
def _run_save_pre_hooks(func):
def wrapper(layer, path, input_spec=None, **configs):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册