(self)
return p
Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.
Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it.
Constructs a : class : PreparedRequest <PreparedRequest > for transmission and returns it .
def prepare(self):
        """Constructs a :class:`PreparedRequest <PreparedRequest>` for transmission and returns it."""
        p = PreparedRequest()
        p.prepare(
            method=self.method,
            url=self.url,
            headers=self.headers,
            files=self.files,
            data=self.data,
            json=self.json,
            params=self.params,
            auth=self.auth,
            cookies=self.cookies,
            hooks=self.hooks,
        )
        return p
def prepare ( self ) : p = PreparedRequest ( ) p . prepare ( method = self . method , url = self . url , headers = self . headers , files = self . files , data = self . data , json = self . json , params = self . params , auth = self . auth , cookies = self . cookies , hooks = self . hooks , ) return p