feat: Add dynamic field support

This commit adds support for dynamic fields in the template field creator class. The "dynamic" attribute has been added to the class definition and its default value is set to False.
This commit is contained in:
gustavoschaedler 2023-07-05 15:04:22 +01:00
commit 53656dcc1f

View file

@ -22,6 +22,7 @@ class TemplateFieldCreator(BaseModel, ABC):
display_name: Optional[str] = None
advanced: bool = False
input_types: list[str] = []
dynamic: bool = False
def to_dict(self):
result = self.dict()