jupylet/app.py
def schedule_interval(self, interval, *args, **kwargs):
        """Schedule decorated function on the default clock every interval seconds.
        
        The arguments passed to ``func`` are ``dt`` (time since last function
        call), followed by any ``*args`` and ``**kwargs`` given here.
        
        :Parameters:
            `interval` : float
                The number of seconds to wait between each call.
        """
        def schedule0(foo):

            if inspect.iscoroutinefunction(foo):
                raise TypeError('Coroutine functions can only be scheduled with schedule_once() and its aliases.')
                
            if inspect.isgeneratorfunction(foo):
                raise TypeError('Generator functions can only be scheduled with schedule_once() and its aliases.')
                
            self.unschedule(foo)
            self.schedules.setdefault(foo.__name__, {})['func'] = foo
            self.clock.schedule_interval(foo, interval, *args, **kwargs)

            return foo

        return schedule0
Schedule decorated function on the default clock every interval seconds.
        
        The arguments passed to ``func`` are ``dt`` (time since last function
        call), followed by any ``*args`` and ``**kwargs`` given here.
        
        :Parameters:
            `interval` : float
                The number of seconds to wait between each call.
        
Schedule decorated function on the default clock every interval seconds.
Schedule decorated function on the default clock every interval seconds .
def schedule_interval(self, interval, *args, **kwargs):
        def schedule0(foo):
            if inspect.iscoroutinefunction(foo):
                raise TypeError('Coroutine functions can only be scheduled with schedule_once() and its aliases.')
            if inspect.isgeneratorfunction(foo):
                raise TypeError('Generator functions can only be scheduled with schedule_once() and its aliases.')
            self.unschedule(foo)
            self.schedules.setdefault(foo.__name__, {})['func'] = foo
            self.clock.schedule_interval(foo, interval, *args, **kwargs)
            return foo
        return schedule0
def schedule_interval ( self , interval , * args , ** kwargs ) : def schedule0 ( foo ) : if inspect . iscoroutinefunction ( foo ) : raise TypeError ( 'Coroutine functions can only be scheduled with schedule_once() and its aliases.' ) if inspect . isgeneratorfunction ( foo ) : raise TypeError ( 'Generator functions can only be scheduled with schedule_once() and its aliases.' ) self . unschedule ( foo ) self . schedules . setdefault ( foo . __name__ , { } ) [ 'func' ] = foo self . clock . schedule_interval ( foo , interval , * args , ** kwargs ) return foo return schedule0
Schedule decorated function on the default clock every interval seconds.
Schedule decorated function on the default clock every interval seconds .
"""Schedule decorated function on the default clock every interval seconds.
        
        The arguments passed to ``func`` are ``dt`` (time since last function
        call), followed by any ``*args`` and ``**kwargs`` given here.
        
        :Parameters:
            `interval` : float
                The number of seconds to wait between each call.
        """
self
interval
Parameters
`interval` : float
The number of seconds to wait between each call.
` interval ` : float The number of seconds to wait between each call .