src/dirbs/listgen/generator.py
def _run_intermediate_table_job(self, conn, fn, description=None):
        """Function to synchronsouly run an intermediate table job."""
        if description is not None:
            self._logger.debug('Calculating intermediate table containing {0}...'.format(description))
        rows, duration = fn(conn)
        if description is not None:
            msg = 'Calculated intermediate table containing {0} (duration {1:.3f}s)' \
                .format(description, duration / 1000)
            if rows != -1:
                msg += ' [{0:d} rows inserted]'.format(rows)
            self._logger.info(msg)
Function to synchronsouly run an intermediate table job.
Function to synchronsouly run an intermediate table job.
Function to synchronsouly run an intermediate table job .
def _run_intermediate_table_job(self, conn, fn, description=None):
        if description is not None:
            self._logger.debug('Calculating intermediate table containing {0}...'.format(description))
        rows, duration = fn(conn)
        if description is not None:
            msg = 'Calculated intermediate table containing {0} (duration {1:.3f}s)' \
                .format(description, duration / 1000)
            if rows != -1:
                msg += ' [{0:d} rows inserted]'.format(rows)
            self._logger.info(msg)
def _run_intermediate_table_job ( self , conn , fn , description = None ) : if description is not None : self . _logger . debug ( 'Calculating intermediate table containing {0}...' . format ( description ) ) rows , duration = fn ( conn ) if description is not None : msg = 'Calculated intermediate table containing {0} (duration {1:.3f}s)' . format ( description , duration / 1000 ) if rows != - 1 : msg += ' [{0:d} rows inserted]' . format ( rows ) self . _logger . info ( msg )
Function to synchronsouly run an intermediate table job.
Function to synchronsouly run an intermediate table job .
"""Function to synchronsouly run an intermediate table job."""
self
conn
fn
description