(name)
return wrapper
Return a callable that relays calls to the current default app.
Return a callable that relays calls to the current default app.
Return a callable that relays calls to the current default app .
def make_default_app_wrapper(name):
    ''' Return a callable that relays calls to the current default app. '''
    @functools.wraps(getattr(Bottle, name))
    def wrapper(*a, **ka):
        return getattr(app(), name)(*a, **ka)
    return wrapper
def make_default_app_wrapper ( name ) : @ functools . wraps ( getattr ( Bottle , name ) ) def wrapper ( * a , * * ka ) : return getattr ( app ( ) , name ) ( * a , * * ka ) return wrapper