The cinder.taskflow.task Module

class Task(name)

Bases: object

An abstraction that defines a potential piece of work that can be applied and can be reverted to undo the work as a single unit.

revert(context, result, cause)

Revert this task using the given context, result that the apply provided as well as any information which may have caused said reversion.

Previous topic

The cinder.taskflow.states Module

Next topic

The cinder.taskflow.utils Module

This Page