def make_default_app_wrapper(name):
 @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
return a callable that relays calls to the current default app .