diplomat.utils.cli_tools.func_args_to_config_spec¶
- diplomat.utils.cli_tools.func_args_to_config_spec(func: TypeCasterFunction, caller_func: TypeCasterFunction) Dict[str, Tuple[T, TypeCaster[T], str]][source]¶
Convert extra typecaster function arguments to a ConfigSpec.
- Parameters:
func – The function to get parameters from.
caller_func – The calling function.
- Returns:
A ConfigSpec for arguments not in the caller function.