mirror of
https://github.com/langgenius/dify.git
synced 2025-12-25 01:00:42 -05:00
correct typos . (#25717)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
@@ -91,7 +91,7 @@ SupportedComparisonOperator = Literal[
|
||||
|
||||
class Condition(BaseModel):
|
||||
"""
|
||||
Conditon detail
|
||||
Condition detail
|
||||
"""
|
||||
|
||||
name: str
|
||||
|
||||
@@ -178,7 +178,7 @@ class ListOperatorNode(BaseNode):
|
||||
result = list(filter(filter_func, variable.value))
|
||||
variable = variable.model_copy(update={"value": result})
|
||||
else:
|
||||
raise AssertionError("this statment should be unreachable.")
|
||||
raise AssertionError("this statement should be unreachable.")
|
||||
return variable
|
||||
|
||||
def _apply_order(self, variable: _SUPPORTED_TYPES_ALIAS) -> _SUPPORTED_TYPES_ALIAS:
|
||||
@@ -191,7 +191,7 @@ class ListOperatorNode(BaseNode):
|
||||
)
|
||||
variable = variable.model_copy(update={"value": result})
|
||||
else:
|
||||
raise AssertionError("this statement should be unreachable")
|
||||
raise AssertionError("this statement should be unreachable.")
|
||||
|
||||
return variable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user