langchain.schema.runnable.config.call_func_with_variable_args¶
langchain.schema.runnable.config.call_func_with_variable_args(func: Union[Callable[[Input], Output], Callable[[Input, CallbackManagerForChainRun], Output], Callable[[Input, CallbackManagerForChainRun, RunnableConfig], Output]], input: Input, run_manager: CallbackManagerForChainRun, config: RunnableConfig, **kwargs: Any) → Output[source]¶
Call function that may optionally accept a run_manager and/or config.