class Progress(object):
Represent the status of the taint at the point where it was requested.
It contains the last state known by the taint process, in addition to the status of the taint process (NotStarted
, Running
, Finished
or Canceled
).
This object is not meant to be constructed directly. Use Taint.progress
instead.
>>> # from taint object >>> progress = taint.progress() >>> # Get the progress of the taint
Method | __init__ |
Undocumented |
Property | last_known_state |
Property: The last known state of the taint, After this state no result can be retrieved at the moment |
Property | status |
Property: The status of the taint, can be one of (ProgressStatus.NotStarted , ProgressStatus.Running , ProgressStatus.Finished , ProgressStatus.Canceled ) |
Method | __repr__ |
Undocumented |
Instance Variable | _status |
Undocumented |
Instance Variable | _last_known_state |
Undocumented |
Property: The last known state of the taint, After this state no result can be retrieved at the moment
>>> print(progress.last_known_state) Taint state at Context before #2847570053
Returns | A TaintState instance. |
Property: The status of the taint, can be one of (ProgressStatus.NotStarted
, ProgressStatus.Running
, ProgressStatus.Finished
, ProgressStatus.Canceled
)
>>> print(progress.status) ProgressStatus.Finished
Returns | A ProgressStatus instance. |