param.ParamOverrides.extra_keywords#

ParamOverrides.extra_keywords() dict[str, Any][source]#

Retrieve extra keyword arguments not matching the overridden object’s parameters.

This method returns a dictionary containing key-value pairs from the originally supplied dict_ that do not correspond to parameter names of the overridden object. These extra keywords are only available if allow_extra_keywords was set to True during the initialization of the ParamOverrides instance.

Returns:

A dictionary of extra keyword arguments that were not recognized as parameters of the overridden object. If allow_extra_keywords was set to False, this method will return an empty dictionary.

Return type:

dict[str, Any]