langchain_core.runnables.utils.accepts_config

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

Check if a callable accepts a config argument.

Parameters

callable (Callable[[...], Any]) –

Return type

bool