Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix lint errors #2445

Merged
merged 2 commits into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def true_response(self) -> Message:
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)
Expand All @@ -79,4 +79,4 @@ def false_response(self) -> Message:
return self.message
else:
self.stop("false_result")
return None
return None # type: ignore
4 changes: 2 additions & 2 deletions src/backend/base/langflow/components/prototypes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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
Expand All @@ -16,7 +16,7 @@
"FlowToolComponent",
"ListenComponent",
"NotifyComponent",
"PassComponent",
"PassMessageComponent",
"PythonFunctionComponent",
"RunFlowComponent",
"RunnableExecComponent",
Expand Down