mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-01 21:28:10 +00:00
fix: add type ignore for mypy no-any-return on ask_for_human_input property
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -282,7 +282,7 @@ class AgentExecutor(Flow[AgentExecutorState], BaseAgentExecutor):
|
||||
@property # type: ignore[misc]
|
||||
def ask_for_human_input(self) -> bool:
|
||||
"""Compatibility property - delegates to state for ExecutorContext protocol."""
|
||||
return self._state.ask_for_human_input
|
||||
return self._state.ask_for_human_input # type: ignore[no-any-return]
|
||||
|
||||
@ask_for_human_input.setter
|
||||
def ask_for_human_input(self, value: bool) -> None:
|
||||
|
||||
Reference in New Issue
Block a user