mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-14 18:48:29 +00:00
fix: update type annotations to fix type-checker errors
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -163,7 +163,7 @@ def start(condition: Optional[Union[str, dict, Callable]] = None) -> Callable:
|
||||
|
||||
|
||||
def listen(
|
||||
condition: Union[str, dict, Callable] = None, *, method: str = None, output: str = None
|
||||
condition: Optional[Union[str, dict, Callable]] = None, *, method: Optional[str] = None, output: Optional[str] = None
|
||||
) -> Callable:
|
||||
"""
|
||||
Creates a listener that executes when specified conditions are met.
|
||||
|
||||
Reference in New Issue
Block a user