#NEWLINE# def __getattr__( self , action ) : #NEWLINE# #INDENT# self . action = action #NEWLINE# res = object . __getattribute__ ( self , 'res' ) #NEWLINE# def view_client( data = None , headers = None ) : #NEWLINE# #INDENT# if ( headers is None ) : #NEWLINE# #INDENT# headers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# headers = dict ( res . headers , ** headers ) #NEWLINE# return call_action ( res . api , res . resource , action , data , headers ) #NEWLINE# #UNINDENT# view_client . __doc__ = ( 'resource=%s, action=%s' % ( res . resource , action ) ) #NEWLINE# return self