mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 15:22:37 +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(
|
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:
|
) -> Callable:
|
||||||
"""
|
"""
|
||||||
Creates a listener that executes when specified conditions are met.
|
Creates a listener that executes when specified conditions are met.
|
||||||
|
|||||||
Reference in New Issue
Block a user