def add_defaults_to_kwargs(defaults, **kwargs):
defaults = dict(defaults)<EOL>defaults.update(kwargs)<EOL>return defaults<EOL>
Updates `kwargs` with dict of `defaults`

    Args:
        defaults: A dictionary of keys and values
        **kwargs: The kwargs to update.

    Returns:
        The updated kwargs.