correct typos . (#25717)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
湛露先生 2025-09-15 21:22:40 +08:00 committed by GitHub
parent 169ce71e59
commit 0bbf4fb66a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -173,7 +173,7 @@ class ModelConfig(BaseModel):
class Condition(BaseModel):
"""
Conditon detail
Condition detail
"""
name: str

View File

@ -30,7 +30,7 @@ SupportedComparisonOperator = Literal[
class Condition(BaseModel):
"""
Conditon detail
Condition detail
"""
name: str

View File

@ -91,7 +91,7 @@ SupportedComparisonOperator = Literal[
class Condition(BaseModel):
"""
Conditon detail
Condition detail
"""
name: str

View File

@ -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