<s> from flask_apputils . routing import get_router , APIBlueprint <EOL> web = APIBlueprint ( '<STR_LIT>' , __name__ ) <EOL> def log ( f ) : <EOL> def wrapper ( * args , ** kwargs ) : <EOL> print "<STR_LIT>" % args <EOL> return f ( * args , ** kwargs ) <EOL> return wrapper <EOL> route = get_router ( web , __name__ , filters = [ log ] ) <EOL> route ( '<STR_LIT>' , '<STR_LIT:user>' ) <EOL> route ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> def user ( ) : <EOL> return dict ( name = '<STR_LIT>' , age = <NUM_LIT:32> ) <EOL> def student ( ) : <EOL> return dict ( name = '<STR_LIT>' , form = <NUM_LIT:3> ) </s>
