code: def add(self, key, value):
          '''
          Add an entry to the report
  
          :param key: entry's key
          :param value: the actual value
  
          :example:
  
              ::
  
                  my_report.add('retry count', 3)
          '''
          if key in self.reserved_keys:
              raise Exception('You cannot add the key %s directly, use %s' % (key, self.reserved_keys[key]))
          if isinstance(value, Report):
              self._sub_reports[key] = value
              self._data_fields['sub_reports'].append(key)
          else:
              self._data_fields[key] = valuf add(self, key, value):
          '''
          Add an entry to the report
  
          :param key: entry's key
          :param value: the actual value
  
          :example:
  
              ::
  
                  my_report.add('retry count', 3)
          '''
          if key in self.reserved_keys:
              raise Exception('You cannot add the key %s directly, use %s' % (key, self.reserved_keys[key]))
          if isinstance(value, Report):
              self._sub_reports[key] = value
              self._data_fields['sub_reports'].append(key)
          else:
              self._data_fields[key] = value
docs: Add an entry to the report
  
          :param key: entry's key
          :param value: the actual value
  
          :example:
  
              ::
  
                  my_report.add('retry count', 3)