Add a dynamic flag to CustomComponentNode

- Added a dynamic flag to CustomComponentNode class in tools.py for enabling dynamic behavior.
- This flag allows for flexibility in executing the Python class.
- The flag defaults to True.
This commit is contained in:
gustavoschaedler 2023-07-05 01:30:40 +01:00
commit 64e5a3a98d

View file

@ -161,6 +161,7 @@ class CustomComponentNode(FrontendNode):
)
description: str = "Python Class to be executed."
base_classes: list[str] = []
dynamic: bool = True
def to_dict(self):
return super().to_dict()