[core] internal attributes: update descriptions and declare "invalidation" as an advanced attribute

This commit is contained in:
Fabien Castan 2022-10-10 20:37:30 +02:00 committed by Candice Bentéjac
parent fe3a0764b0
commit cc3c19ba15

View file

@ -502,23 +502,26 @@ class Node(object):
StringParam( StringParam(
name="comment", name="comment",
label="Comments", label="Comments",
description="Comments on the node.", description="User comments describing this specific node instance.",
value="", value="",
semantic="multiline", semantic="multiline",
uid=[], uid=[],
), ),
StringParam( StringParam(
name="invalid", name="invalidation",
label="Invalid Comments", label="Invalidation Message",
description="Invalid comments on the node.", description="A message that will invalidate the node's output folder.\n"
"This is useful for development, we can invalidate\n"
"the output of the node when we modify the code.",
value="", value="",
semantic="multiline", semantic="multiline",
uid=[0], uid=[0],
advanced=True,
), ),
StringParam( StringParam(
name="label", name="label",
label="Label", label="Node's Label",
description="Custom label to replace the node's default label.", description="Customize the default label (to replace the technical name of the node instance).",
value="", value="",
uid=[], uid=[],
), ),