code: def add(self, item):
          
          if isinstance(item, list):
              self.rows.append(Row(item))
          elif isinstance(item, Row):
              self.rows.append(item)
          else:
              raise InvalidMessageItemError(item, item.__class__)
docs: Add a row to the table.
  
          List can be passed and are automatically converted to Rows.
  
          :param item: Item an element to add to the rows can be list or Row
              object
          :type item: row, list