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:
parent
4028554ef6
commit
64e5a3a98d
1 changed files with 1 additions and 0 deletions
|
|
@ -161,6 +161,7 @@ class CustomComponentNode(FrontendNode):
|
||||||
)
|
)
|
||||||
description: str = "Python Class to be executed."
|
description: str = "Python Class to be executed."
|
||||||
base_classes: list[str] = []
|
base_classes: list[str] = []
|
||||||
|
dynamic: bool = True
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
return super().to_dict()
|
return super().to_dict()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue