def periodic_task(*args, **options):
 return task(**dict({'base': PeriodicTask}, **options))

def periodic_task ( * args , ** options ) : return task ( ** dict ( { 'base' : PeriodicTask } , ** options ) )
decorator to create a task class out of any callable .