woger.action_tracker module

class woger.action_tracker.ActionTracker(action: str, state_path: str, path=None)[source]

Bases: object

Manages and monitors actions

failed()[source]

Returns True if the action has failed

finished()[source]

Returns True if the action has finished

started()[source]

Returns True if the action has started and is pending

state

WorkspaceState object linked to self.state_path

status()[source]

Returns a string representation of the current action status

undefined()[source]

Returns True if the action state is not defined