Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
1f4826ca
Commit
1f4826ca
authored
Mar 13, 2024
by
takatost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix err typo
parent
ef700b26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
if_else_node.py
api/core/workflow/nodes/if_else/if_else_node.py
+2
-2
No files found.
api/core/workflow/nodes/if_else/if_else_node.py
View file @
1f4826ca
...
@@ -95,7 +95,7 @@ class IfElseNode(BaseNode):
...
@@ -95,7 +95,7 @@ class IfElseNode(BaseNode):
return
NodeRunResult
(
return
NodeRunResult
(
status
=
WorkflowNodeExecutionStatus
.
FAILED
,
status
=
WorkflowNodeExecutionStatus
.
FAILED
,
inputs
=
node_inputs
,
inputs
=
node_inputs
,
process_data
s
=
process_datas
,
process_data
=
process_datas
,
error
=
str
(
e
)
error
=
str
(
e
)
)
)
...
@@ -107,7 +107,7 @@ class IfElseNode(BaseNode):
...
@@ -107,7 +107,7 @@ class IfElseNode(BaseNode):
return
NodeRunResult
(
return
NodeRunResult
(
status
=
WorkflowNodeExecutionStatus
.
SUCCEEDED
,
status
=
WorkflowNodeExecutionStatus
.
SUCCEEDED
,
inputs
=
node_inputs
,
inputs
=
node_inputs
,
process_data
s
=
process_datas
,
process_data
=
process_datas
,
edge_source_handle
=
"false"
if
not
compare_result
else
"true"
,
edge_source_handle
=
"false"
if
not
compare_result
else
"true"
,
outputs
=
{
outputs
=
{
"result"
:
compare_result
"result"
:
compare_result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment