lenskit.logging.progress.Progress ================================= .. py:class:: lenskit.logging.progress.Progress(*args, uuid = None, total = None, **kwargs) :canonical: lenskit.logging.progress._base.Progress Base class for progress reporting. The default implementations do nothing. .. py:attribute:: uuid :type: uuid.UUID .. py:attribute:: total :type: int | float | None .. py:method:: handle_message(update) :classmethod: .. py:method:: update(advance = 1, completed = None, total = None, **kwargs) Update the progress bar. :param advance: The amount to advance by. :param completed: The number completed; this overrides ``advance``. :param total: A new total, to update the progress bar total. .. py:method:: finish() Finish and clean up this progress bar. If the progresss bar is used as a context manager, this is automatically called on context exit. .. py:method:: __enter__() .. py:method:: __exit__(*args)