mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
correct typos . (#25717)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
parent
169ce71e59
commit
0bbf4fb66a
@ -173,7 +173,7 @@ class ModelConfig(BaseModel):
|
||||
|
||||
class Condition(BaseModel):
|
||||
"""
|
||||
Conditon detail
|
||||
Condition detail
|
||||
"""
|
||||
|
||||
name: str
|
||||
|
||||
@ -30,7 +30,7 @@ SupportedComparisonOperator = Literal[
|
||||
|
||||
class Condition(BaseModel):
|
||||
"""
|
||||
Conditon detail
|
||||
Condition detail
|
||||
"""
|
||||
|
||||
name: str
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user