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",
|
type_name="python_function",
|
||||||
fields=[
|
fields=[
|
||||||
Field(
|
Field(
|
||||||
field_type="str",
|
field_type="code",
|
||||||
required=True,
|
required=True,
|
||||||
placeholder="",
|
placeholder="",
|
||||||
is_list=False,
|
is_list=False,
|
||||||
show=True,
|
show=True,
|
||||||
multiline=True,
|
|
||||||
value=DEFAULT_PYTHON_FUNCTION,
|
value=DEFAULT_PYTHON_FUNCTION,
|
||||||
name="code",
|
name="code",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue