langchain_core.runnables.utils.get_function_first_arg_dict_keys¶
- langchain_core.runnables.utils.get_function_first_arg_dict_keys(func: Callable) Optional[List[str]][source]¶
Get the keys of the first argument of a function if it is a dict.
- Parameters
func (Callable) –
- Return type
Optional[List[str]]