#NEWLINE# def __getattr__( self , name , **kwargs ) : #NEWLINE# #INDENT# 'Translate an HTTP verb into a request method.' #NEWLINE# if ( name not in ( 'get' , 'post' , 'put' , 'head' , 'delete' ) ) : #NEWLINE# #INDENT# raise AttributeError #NEWLINE# #UNINDENT# return partial ( self . _request , name , ** self )