fix: change PythonFunctionNode field_type

This commit is contained in:
Gabriel Almeida 2023-03-28 17:04:41 -03:00
commit 575a09ca51

View file

@ -53,12 +53,11 @@ class PythonFunctionNode(FrontendNode):
type_name="python_function",
fields=[
Field(
field_type="str",
field_type="code",
required=True,
placeholder="",
is_list=False,
show=True,
multiline=True,
value=DEFAULT_PYTHON_FUNCTION,
name="code",
)