skinning.utils.progress module¶
-
class
skinning.utils.progress.
Progress
(total, message=None)¶ Bases:
object
The progress context is used to indicate to the user that progress is being made on task. The context needs to be used in a “with” statement. In this with statement the message and number if iterations is defined. After this the class method next can be called to increment the value by one.
- with Progress(1000, “iterator”) as progress:
- progress.next()
-
next
()¶ Increment the value and update the progress bar or log progress status depending on the batch state of Maya.