#NEWLINE# @ asynchronous #NEWLINE# @ gen . engine #NEWLINE# def get( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# response = ( yield self . twitter_request ( ( '/users/show/%s' % self . get_argument ( 'name' ) ) , access_token = dict ( key = 'hjkl' , secret = 'vbnm' ) ) ) #NEWLINE# #UNINDENT# except AuthError as e : #NEWLINE# #INDENT# self . set_status ( 500 ) #NEWLINE# self . finish ( str ( e ) ) #NEWLINE# return #NEWLINE# #UNINDENT# assert ( response is not None ) #NEWLINE# self . finish ( response )