(self, level)
return [SQLTask(*alert) for alert in alerts]
Gets all tasks of a certain level.

        Args:
            level (int): One of STATUS_LEVELS
        Returns:
            List of SQLTasks.
Gets all tasks of a certain level.
Gets all tasks of a certain level .
def _get_tasks(self, level):
        # type: (int) -> List[Task]
        '''
        Gets all tasks of a certain level.

        Args:
            level (int): One of STATUS_LEVELS
        Returns:
            List of SQLTasks.
        '''
        alerts = SQLEngine.execute(GET_ALERTS, (level,))
        return [SQLTask(*alert) for alert in alerts]
def _get_tasks ( self , level ) : # type: (int) -> List[Task] alerts = SQLEngine . execute ( GET_ALERTS , ( level , ) ) return [ SQLTask ( * alert ) for alert in alerts ]