code: def update_from_dict(self, keywords):
          
          for key, value in list(keywords.items()):
              setattr(self, key, value)
docs: Set properties of metadata using key and value from keywords
  
          :param keywords: A dictionary of keywords (key, value).
          :type keywords: dict