raise_on_extra_kwargs

function of dascore.utils.misc source

raise_on_extra_kwargs(
    kwargs ,
    accepted: str ,
)-> ‘None’

Raise ParameterError when a call received keyword arguments it does not take.

Parameters

Parameter Description
kwargs The leftover keyword arguments.
accepted What the call does accept, for the message.