Add refresh option to TemplateFieldCreator
This commit is contained in:
parent
59adf6064d
commit
31b3d9eb33
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ class TemplateFieldCreator(BaseModel, ABC):
|
||||||
info: Optional[str] = ""
|
info: Optional[str] = ""
|
||||||
"""Additional information about the field to be shown in the tooltip. Defaults to an empty string."""
|
"""Additional information about the field to be shown in the tooltip. Defaults to an empty string."""
|
||||||
|
|
||||||
|
refresh: bool = False
|
||||||
|
"""Specifies if the field should be refreshed. Defaults to False."""
|
||||||
|
|
||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
result = self.model_dump()
|
result = self.model_dump()
|
||||||
# Remove key if it is None
|
# Remove key if it is None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue