jupylet/app.py
def unschedule(self, foo=None, **kwargs):
        """Remove function from the default clock's schedule.
        
        No error is raised if the ``func`` was never scheduled.
        
        :Parameters:
            `foo` : callable
                The function to remove from the schedule. If no function is given
                unschedule the caller.
        """
        if foo is None:
            fname = inspect.stack()[kwargs.get('levels_up', 1)][3] 
        else:
            fname = foo.__name__
            
        d = self.schedules.pop(fname, {})
        
        if 'func' in d:
            self.clock.unschedule(d.get('func'))
        
        if 'task' in d:
            d['task'].cancel()
Remove function from the default clock's schedule.
        
        No error is raised if the ``func`` was never scheduled.
        
        :Parameters:
            `foo` : callable
                The function to remove from the schedule. If no function is given
                unschedule the caller.
        
Remove function from the default clock's schedule.
No error is raised if the ``func`` was never scheduled.
Remove function from the default clock ' s schedule . No error is raised if the ` ` func ` ` was never scheduled .
def unschedule(self, foo=None, **kwargs):
        if foo is None:
            fname = inspect.stack()[kwargs.get('levels_up', 1)][3] 
        else:
            fname = foo.__name__
        d = self.schedules.pop(fname, {})
        if 'func' in d:
            self.clock.unschedule(d.get('func'))
        if 'task' in d:
            d['task'].cancel()
def unschedule ( self , foo = None , ** kwargs ) : if foo is None : fname = inspect . stack ( ) [ kwargs . get ( 'levels_up' , 1 ) ] [ 3 ] else : fname = foo . __name__ d = self . schedules . pop ( fname , { } ) if 'func' in d : self . clock . unschedule ( d . get ( 'func' ) ) if 'task' in d : d [ 'task' ] . cancel ( )
Remove function from the default clock's schedule.
Remove function from the default clock ' s schedule .
"""Remove function from the default clock's schedule.
        
        No error is raised if the ``func`` was never scheduled.
        
        :Parameters:
            `foo` : callable
                The function to remove from the schedule. If no function is given
                unschedule the caller.
        """
self
foo
Parameters
`foo` : callable
The function to remove from the schedule. If no function is given
unschedule the caller.
` foo ` : callable The function to remove from the schedule . If no function is given unschedule the caller .