reven2.preview.taint.Progress(object) class documentationreven2.preview.taint
(View In Hierarchy)
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 |
| Method | last_known_state | Property: The last known state of the taint, After this state no result can be retrieved at the moment |
| Method | status | Property: The status of the taint, can be one of
(ProgressStatus.NotStarted,
ProgressStatus.Running, ProgressStatus.Finished,
ProgressStatus.Canceled) |
| Method | __repr__ | 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. | |