#NEWLINE# def __getattr__( self , _api ) : #NEWLINE# #INDENT# if ( self in self . _service . thrift_services ) : #NEWLINE# #INDENT# return functools . partial ( self . _req , _api ) #NEWLINE# #UNINDENT# raise AttributeError ( "{} instance has no attribute '{}'" . format ( self . __class__ . __name__ , _api ) )