(self, table, row)
Write the given row to the given table of the export.
        Will automatically open a new table and write to that if it
        has exceeded the number of rows written in the first table.
        :param table: A TableConfiguration
        :param row: An ExportRow
Write the given row to the given table of the export.
        Will automatically open a new table and write to that if it
        has exceeded the number of rows written in the first table.
        :param table: A TableConfiguration
        :param row: An ExportRow
Write the given row to the given table of the export . Will automatically open a new table and write to that if it has exceeded the number of rows written in the first table . : param table : A TableConfiguration : param row : An ExportRow
def write(self, table, row):
        """
        Write the given row to the given table of the export.
        Will automatically open a new table and write to that if it
        has exceeded the number of rows written in the first table.
        :param table: A TableConfiguration
        :param row: An ExportRow
        """
        if self.rows_written[table] >= MAX_EXPORTABLE_ROWS * (self.pages[table] + 1):
            self.pages[table] += 1
            self.writer.add_table(
                self._paged_table_index(table),
                self._get_paginated_headers()[self._paged_table_index(table)][0],
                table_title=self._get_paginated_table_titles()[self._paged_table_index(table)],
            )

        self.writer.write([(self._paged_table_index(table), [FormattedRow(data=row.data)])])
        self.rows_written[table] += 1
def write ( self , table , row ) : if self . rows_written [ table ] >= MAX_EXPORTABLE_ROWS * ( self . pages [ table ] + 1 ) : self . pages [ table ] += 1 self . writer . add_table ( self . _paged_table_index ( table ) , self . _get_paginated_headers ( ) [ self . _paged_table_index ( table ) ] [ 0 ] , table_title = self . _get_paginated_table_titles ( ) [ self . _paged_table_index ( table ) ] , ) self . writer . write ( [ ( self . _paged_table_index ( table ) , [ FormattedRow ( data = row . data ) ] ) ] ) self . rows_written [ table ] += 1