langchain_core.runnables.utils
.get_function_nonlocals¶
- langchain_core.runnables.utils.get_function_nonlocals(func: Callable) List[Any] [source]¶
Get the nonlocal variables accessed by a function.
- Parameters
func (Callable) – The function to check.
- Returns
The nonlocal variables accessed by the function.
- Return type
List[Any]