Source code for pypesto.engine.task

import abc


[docs]class Task(abc.ABC): """ A task is one of a list of independent execution tasks that are submitted to the execution engine to be executed using the execute() method, commonly in parallel. """
[docs] def __init__(self): pass
[docs] @abc.abstractmethod def execute(self): """ Execute the task and return its results. """