Fix refresh field in TemplateFieldCreator

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-27 16:59:24 -03:00
commit 3e7195978a

View file

@ -59,7 +59,7 @@ 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 refresh: Optional[bool] = None
"""Specifies if the field should be refreshed. Defaults to False.""" """Specifies if the field should be refreshed. Defaults to False."""
def to_dict(self): def to_dict(self):