From e864fbd5be527c1b6c588815f04257232aefccb5 Mon Sep 17 00:00:00 2001 From: PythonFZ Date: Wed, 22 Mar 2023 18:52:59 +0100 Subject: [PATCH] add 'name' to '_protected_' --- zntrack/core/node.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zntrack/core/node.py b/zntrack/core/node.py index 3f0c2366..5eacbf5e 100644 --- a/zntrack/core/node.py +++ b/zntrack/core/node.py @@ -88,6 +88,8 @@ class Node(zninit.ZnInit, znflow.Node): name: str = _NameDescriptor(None) _name_ = None + _protected_ = znflow.Node._protected_ + ["name"] + def _post_load_(self) -> None: """Post load hook.