class A(Node):
paramter: int = zntrack.params()
def do_stuff(self): ...
class B(Node):
paramter: int = zntrack.params()
def do_stuff(self): ...
a = A(5)
b = B(5)
with project:
x = Parent(helper=a)
# This should be executed again but probably isn't
with project:
x = Parent(helper=b)
This is not tested, but I'd assume that