def __call__(self, url, auth=None):
        '''return a prepared request to be sent'''
        return requests.Request(self.method, pathjoin(self.path, url=url), auth=auth,
            headers=self.headers, data=self.data).prepare()
def __call__ ( self , url , auth = None ) : return requests . Request ( self . method , pathjoin ( self . path , url = url ) , auth = auth , headers = self . headers , data = self . data ) . prepare ( )
return a prepared request to be sent