arthur/server.py
def tasks(self):
        """List tasks"""

        logger.debug("API 'tasks' method called")

        result = [task.to_dict() for task in self._tasks.tasks]
        result = {'tasks': result}

        logger.debug("Tasks registry read")

        return result
def tasks(self):
        """List tasks"""

        logger.debug("API 'tasks' method called")

        result = [task.to_dict() for task in self._tasks.tasks]
        result = {'tasks': result}

        logger.debug("Tasks registry read")

        return result
def tasks ( self ) : logger . debug ( "API 'tasks' method called" ) result = [ task . to_dict ( ) for task in self . _tasks . tasks ] result = { 'tasks' : result } logger . debug ( "Tasks registry read" ) return result
List tasks
List tasks