diff --git a/src/backend/base/langflow/components/prototypes/ConditionalRouter.py b/src/backend/base/langflow/components/prototypes/ConditionalRouter.py index 07c8103f0..6d24bfa5e 100644 --- a/src/backend/base/langflow/components/prototypes/ConditionalRouter.py +++ b/src/backend/base/langflow/components/prototypes/ConditionalRouter.py @@ -70,7 +70,7 @@ class ConditionalRouterComponent(Component): return self.message else: self.stop("true_result") - return None + return None # type: ignore def false_response(self) -> Message: 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 else: self.stop("false_result") - return None + return None # type: ignore diff --git a/src/backend/base/langflow/components/prototypes/__init__.py b/src/backend/base/langflow/components/prototypes/__init__.py index 89c14f7e9..252d1a1c5 100644 --- a/src/backend/base/langflow/components/prototypes/__init__.py +++ b/src/backend/base/langflow/components/prototypes/__init__.py @@ -2,7 +2,7 @@ from .ConditionalRouter import ConditionalRouterComponent from .FlowTool import FlowToolComponent from .Listen import ListenComponent from .Notify import NotifyComponent -from .Pass import PassComponent +from .Pass import PassMessageComponent from .PythonFunction import PythonFunctionComponent from .RunFlow import RunFlowComponent from .RunnableExecutor import RunnableExecComponent @@ -16,7 +16,7 @@ __all__ = [ "FlowToolComponent", "ListenComponent", "NotifyComponent", - "PassComponent", + "PassMessageComponent", "PythonFunctionComponent", "RunFlowComponent", "RunnableExecComponent",