code: def add_defaults_to_kwargs(defaults, **kwargs):
      
      defaults = dict(defaults)
      defaults.update(kwargs)
      return defaults
docs: Updates `kwargs` with dict of `defaults`
  
      Args:
          defaults: A dictionary of keys and values
          **kwargs: The kwargs to update.
  
      Returns:
          The updated kwargs.