langchain_core.runnables.utils.accepts_config

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

检查可调用对象是否接受配置参数。

Parameters

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

Return type

bool