src/dirbs/listgen/generator.py
def _process_csv_writer_job(self, description, metadata_storage, future):
        """Function to process the results of a job to calculate an intermediate table."""
        list_metadata, list_type, duration = future.result()
        self._logger.info('Wrote CSV file for {0} (duration {1:.3f}s)'.format(description, duration / 1000))
        if list_metadata is not None:
            # Delta lists return multiple metadata entries and need to append them
            if isinstance(list_metadata, list):
                metadata_storage[list_type].extend(list_metadata)
            else:
                metadata_storage[list_type].append(list_metadata)
Function to process the results of a job to calculate an intermediate table.
Function to process the results of a job to calculate an intermediate table.
Function to process the results of a job to calculate an intermediate table .
def _process_csv_writer_job(self, description, metadata_storage, future):
        list_metadata, list_type, duration = future.result()
        self._logger.info('Wrote CSV file for {0} (duration {1:.3f}s)'.format(description, duration / 1000))
        if list_metadata is not None:
            if isinstance(list_metadata, list):
                metadata_storage[list_type].extend(list_metadata)
            else:
                metadata_storage[list_type].append(list_metadata)
def _process_csv_writer_job ( self , description , metadata_storage , future ) : list_metadata , list_type , duration = future . result ( ) self . _logger . info ( 'Wrote CSV file for {0} (duration {1:.3f}s)' . format ( description , duration / 1000 ) ) if list_metadata is not None : if isinstance ( list_metadata , list ) : metadata_storage [ list_type ] . extend ( list_metadata ) else : metadata_storage [ list_type ] . append ( list_metadata )
Function to process the results of a job to calculate an intermediate table.
Function to process the results of a job to calculate an intermediate table .
"""Function to process the results of a job to calculate an intermediate table.""" # Delta lists return multiple metadata entries and need to append them
self
description
metadata_storage
future