pulp.constants

pulpcore.constants.TASK_FINAL_STATES = ('skipped', 'completed', 'failed', 'canceled')

Tasks in a final state have finished their work.

pulpcore.constants.TASK_INCOMPLETE_STATES = ('waiting', 'running', 'canceling')

Tasks in an incomplete state have not finished their work yet.

pulpcore.constants.TASK_STATES = namespace(WAITING='waiting', SKIPPED='skipped', RUNNING='running', COMPLETED='completed', FAILED='failed', CANCELED='canceled', CANCELING='canceling')

All valid task states.