progressmonitor/__init__.py
def submonitor(self, units: int, *args, **kargs) -> 'ProgressMonitor':
        """
        Create a sub monitor that stands for N units of work in this monitor
        The sub task should call .begin (or use @monitored / with .task) before calling updates
        """
        submonitor = ProgressMonitor(*args, **kargs)
        self.sub_monitors[submonitor] = units
        submonitor.add_listener(self._submonitor_update)
        return submonitor
def submonitor(self, units: int, *args, **kargs) -> 'ProgressMonitor':
        submonitor = ProgressMonitor(*args, **kargs)
        self.sub_monitors[submonitor] = units
        submonitor.add_listener(self._submonitor_update)
        return submonitor
def submonitor ( self , units : int , * args , * * kargs ) -> 'ProgressMonitor' : submonitor = ProgressMonitor ( * args , * * kargs ) self . sub_monitors [ submonitor ] = units submonitor . add_listener ( self . _submonitor_update ) return submonitor
Create a sub monitor that stands for N units of work in this monitor
        The sub task should call .begin (or use @monitored / with .task) before calling updates
Create a sub monitor that stands for N units of work in this monitor The sub task should call . begin ( or use