correct typos . (#25717)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
This commit is contained in:
parent
169ce71e59
commit
0bbf4fb66a
4 changed files with 5 additions and 5 deletions
|
|
@ -173,7 +173,7 @@ class ModelConfig(BaseModel):
|
||||||
|
|
||||||
class Condition(BaseModel):
|
class Condition(BaseModel):
|
||||||
"""
|
"""
|
||||||
Conditon detail
|
Condition detail
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ SupportedComparisonOperator = Literal[
|
||||||
|
|
||||||
class Condition(BaseModel):
|
class Condition(BaseModel):
|
||||||
"""
|
"""
|
||||||
Conditon detail
|
Condition detail
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ SupportedComparisonOperator = Literal[
|
||||||
|
|
||||||
class Condition(BaseModel):
|
class Condition(BaseModel):
|
||||||
"""
|
"""
|
||||||
Conditon detail
|
Condition detail
|
||||||
"""
|
"""
|
||||||
|
|
||||||
name: str
|
name: str
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@ class ListOperatorNode(BaseNode):
|
||||||
result = list(filter(filter_func, variable.value))
|
result = list(filter(filter_func, variable.value))
|
||||||
variable = variable.model_copy(update={"value": result})
|
variable = variable.model_copy(update={"value": result})
|
||||||
else:
|
else:
|
||||||
raise AssertionError("this statment should be unreachable.")
|
raise AssertionError("this statement should be unreachable.")
|
||||||
return variable
|
return variable
|
||||||
|
|
||||||
def _apply_order(self, variable: _SUPPORTED_TYPES_ALIAS) -> _SUPPORTED_TYPES_ALIAS:
|
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})
|
variable = variable.model_copy(update={"value": result})
|
||||||
else:
|
else:
|
||||||
raise AssertionError("this statement should be unreachable")
|
raise AssertionError("this statement should be unreachable.")
|
||||||
|
|
||||||
return variable
|
return variable
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue