extract_default_kwargs#
- extract_default_kwargs(func: Callable[..., Any], exclude_kwargs: tuple[str, ...]) DefaultKwargs[source]#
Extract the default kwargs of
funcfrom its signature.- Parameters:
func (Callable[..., Any]) – Function to extract the default args from.
exclude_kwargs (tuple[str, ...]) – Names of keyword arguments that should be excluded.
- Return type:
DefaultKwargs
See also