fix: change PythonFunctionNode field_type
This commit is contained in:
parent
c2d4d3e9c0
commit
575a09ca51
1 changed files with 1 additions and 2 deletions
|
|
@ -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",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue