langchain_core.runnables.utils.get_lambda_source

langchain_core.runnables.utils.get_lambda_source(func: Callable) Optional[str][source]

获取lambda函数的源代码。

Parameters

func (Callable) – a callable that can be a lambda function

Returns

the source code of the lambda function

Return type

str