Merge branch 'dev' into cz/fix-messages-deleting-error
This commit is contained in:
commit
9dbd9ccd85
2 changed files with 4 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ class ConditionalRouterComponent(Component):
|
||||||
return self.message
|
return self.message
|
||||||
else:
|
else:
|
||||||
self.stop("true_result")
|
self.stop("true_result")
|
||||||
return None
|
return None # type: ignore
|
||||||
|
|
||||||
def false_response(self) -> Message:
|
def false_response(self) -> Message:
|
||||||
result = self.evaluate_condition(self.input_text, self.match_text, self.operator, self.case_sensitive)
|
result = self.evaluate_condition(self.input_text, self.match_text, self.operator, self.case_sensitive)
|
||||||
|
|
@ -79,4 +79,4 @@ class ConditionalRouterComponent(Component):
|
||||||
return self.message
|
return self.message
|
||||||
else:
|
else:
|
||||||
self.stop("false_result")
|
self.stop("false_result")
|
||||||
return None
|
return None # type: ignore
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ from .ConditionalRouter import ConditionalRouterComponent
|
||||||
from .FlowTool import FlowToolComponent
|
from .FlowTool import FlowToolComponent
|
||||||
from .Listen import ListenComponent
|
from .Listen import ListenComponent
|
||||||
from .Notify import NotifyComponent
|
from .Notify import NotifyComponent
|
||||||
from .Pass import PassComponent
|
from .Pass import PassMessageComponent
|
||||||
from .PythonFunction import PythonFunctionComponent
|
from .PythonFunction import PythonFunctionComponent
|
||||||
from .RunFlow import RunFlowComponent
|
from .RunFlow import RunFlowComponent
|
||||||
from .RunnableExecutor import RunnableExecComponent
|
from .RunnableExecutor import RunnableExecComponent
|
||||||
|
|
@ -16,7 +16,7 @@ __all__ = [
|
||||||
"FlowToolComponent",
|
"FlowToolComponent",
|
||||||
"ListenComponent",
|
"ListenComponent",
|
||||||
"NotifyComponent",
|
"NotifyComponent",
|
||||||
"PassComponent",
|
"PassMessageComponent",
|
||||||
"PythonFunctionComponent",
|
"PythonFunctionComponent",
|
||||||
"RunFlowComponent",
|
"RunFlowComponent",
|
||||||
"RunnableExecComponent",
|
"RunnableExecComponent",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue