code: def _add_attrs(self):
          '''Add the found and required attrs to the templ_dict.'''
          for attr in self.template_attrs:
              attr_value = self._get_template_attr(attr)
  
              if not attr_value:
                  continue
  
              attr, attr_value = self._transform_key_value(
                  attr,
                  attr_value,
                  self.attr_map
              )
              self.templ_dict[attr] = attr_valuf _add_attrs(self):
          '''Add the found and required attrs to the templ_dict.'''
          for attr in self.template_attrs:
              attr_value = self._get_template_attr(attr)
  
              if not attr_value:
                  continue
  
              attr, attr_value = self._transform_key_value(
                  attr,
                  attr_value,
                  self.attr_map
              )
              self.templ_dict[attr] = attr_value
docs: Add the found and required attrs to the templ_dict.