未验证 提交 aa1f0093 编写于 作者: HansBug's avatar HansBug 😆 提交者: GitHub

Merge pull request #7 from opendilab/fix/subside

fix(hansbug): add subside support to all the functions.
......@@ -30,7 +30,7 @@ def module_func_loader(base, cls: Type[TreeValue], cls_mapper=None):
@doc_from_base()
@return_self_dec
@post_process(auto_tree_cls)
@func_treelize(return_type=TreeValue, rise=True)
@func_treelize(return_type=TreeValue, subside=True, rise=True)
@wraps(func, assigned=('__name__',), updated=())
def _new_func(*args, **kwargs):
return func(*args, **kwargs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册