progressmonitor/__init__.py
def task(self, total: int, name=None, message=None):
        """Wrap code into a begin and end call on this monitor"""
        self.begin(total, name, message)
        try:
            yield self
        finally:
            self.done()
def task(self, total: int, name=None, message=None):
        """Wrap code into a begin and end call on this monitor"""
        self.begin(total, name, message)
        try:
            yield self
        finally:
            self.done()
Wrap code into a begin and end call on this monitor