accepts_run_manager#

langchain_core.runnables.utils.accepts_run_manager(callable: Callable[[...], Any]) bool[source]#

Check if a callable accepts a run_manager argument.

Parameters:

callable (Callable[[...], Any]) – The callable to check.

Returns:

True if the callable accepts a run_manager argument, False otherwise.

Return type:

bool