src/dirbs/reports/csv_reports.py
def operators_configured_check(config: callable, logger: callable) -> None:
    """
    Helper method to perform configured operators check.

    Arguments:
        config: DIRBS config object
        logger: DIRBS logger object
    Returns:
        None
    """
    # Fail if there are no configured operators
    operators = config.region_config.operators
    if len(operators) == 0:
        logger.error('No operators configured in region config. No report can be generated...')
        sys.exit(1)

    Helper method to perform configured operators check.

    Arguments:
        config: DIRBS config object
        logger: DIRBS logger object
    Returns:
        None
    
Helper method to perform configured operators check.
Helper method to perform configured operators check .
def operators_configured_check(config: callable, logger: callable) -> None:
    operators = config.region_config.operators
    if len(operators) == 0:
        logger.error('No operators configured in region config. No report can be generated...')
        sys.exit(1)
def operators_configured_check ( config : callable , logger : callable ) -> None : operators = config . region_config . operators if len ( operators ) == 0 : logger . error ( 'No operators configured in region config. No report can be generated...' ) sys . exit ( 1 )
Helper method to perform configured operators check.
Helper method to perform configured operators check .
"""
    Helper method to perform configured operators check.

    Arguments:
        config: DIRBS config object
        logger: DIRBS logger object
    Returns:
        None
    """ # Fail if there are no configured operators
None
config
callable
DIRBS config object
DIRBS config object
logger
callable
DIRBS logger object
DIRBS logger object