src/dirbs/reports/stats_generator.py
def _print_component_query_perfomance(component_durations, debug_query_performance):
    """Helper function to print out a log message showing the component durations of a task."""
    logger = logging.getLogger('dirbs.report')
    if debug_query_performance:
        durations_secs = ['{0:.3f}s'.format(d / 1000) for d in component_durations]
        logger.info('Component durations: {0}'.format(', '.join(durations_secs)))
Helper function to print out a log message showing the component durations of a task.
Helper function to print out a log message showing the component durations of a task.
Helper function to print out a log message showing the component durations of a task .
def _print_component_query_perfomance(component_durations, debug_query_performance):
    logger = logging.getLogger('dirbs.report')
    if debug_query_performance:
        durations_secs = ['{0:.3f}s'.format(d / 1000) for d in component_durations]
        logger.info('Component durations: {0}'.format(', '.join(durations_secs)))
def _print_component_query_perfomance ( component_durations , debug_query_performance ) : logger = logging . getLogger ( 'dirbs.report' ) if debug_query_performance : durations_secs = [ '{0:.3f}s' . format ( d / 1000 ) for d in component_durations ] logger . info ( 'Component durations: {0}' . format ( ', ' . join ( durations_secs ) ) )
Helper function to print out a log message showing the component durations of a task.
Helper function to print out a log message showing the component durations of a task .
"""Helper function to print out a log message showing the component durations of a task."""
component_durations
debug_query_performance