From 8abbae57afec6fd17647cfe9f75c47b5c647e73e Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 22:18:06 +0000 Subject: [PATCH] Fix lint: use underscore for unused condition_type variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- src/crewai/flow/flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crewai/flow/flow.py b/src/crewai/flow/flow.py index fbdad3c06..9ba912c4d 100644 --- a/src/crewai/flow/flow.py +++ b/src/crewai/flow/flow.py @@ -1089,7 +1089,7 @@ class Flow(Generic[T], metaclass=FlowMeta): for method_name in self._start_methods: # Check if this start method is triggered by the current trigger if method_name in self._listeners: - condition_type, trigger_methods = self._listeners[ + _, trigger_methods = self._listeners[ method_name ] if current_trigger in trigger_methods: @@ -1148,7 +1148,7 @@ class Flow(Generic[T], metaclass=FlowMeta): if listener_name in self._triggered_or_listeners: # Skip this listener as it has already been triggered by another method in the OR condition continue - + # If the trigger_method matches any in methods, run this if trigger_method in methods: triggered.append(listener_name)