def request(self, **kwargs):
url = kwargs.pop('<STR_LIT:url>', self.url)<EOL>auth = kwargs.pop('<STR_LIT>', self.session.auth)<EOL>cert = kwargs.pop('<STR_LIT>', self.session.cert)<EOL>cookies = kwargs.pop('<STR_LIT>', self.session.cookies)<EOL>headers = kwargs.pop('<STR_LIT>', self.session.headers.copy())<EOL>params = kwargs.pop('<STR_LIT>', self.session.params)<EOL>proxies = kwargs.pop('<STR_LIT>', self.session.proxies)<EOL>stream = kwargs.pop('<STR_LIT>', self.session.stream)<EOL>verify = kwargs.pop('<STR_LIT>', self.session.verify)<EOL>auto_refresh = kwargs.pop('<STR_LIT>', self.auto_refresh)<EOL>credentials = kwargs.pop('<STR_LIT>', self.credentials)<EOL>enforce_json = kwargs.pop('<STR_LIT>', self.enforce_json)<EOL>path = kwargs.pop('<STR_LIT:path>', '<STR_LIT>')  <EOL>raise_for_status = kwargs.pop(<EOL>'<STR_LIT>', self.raise_for_status<EOL>)<EOL>url = "<STR_LIT>".format(url, self.port, path)<EOL>if credentials:<EOL><INDENT>self._apply_credentials(<EOL>auto_refresh=auto_refresh,<EOL>credentials=credentials,<EOL>headers=headers<EOL>)<EOL><DEDENT>k = {  <EOL>'<STR_LIT>': params,<EOL>'<STR_LIT>': headers,<EOL>'<STR_LIT>': cookies,<EOL>'<STR_LIT>': auth,<EOL>'<STR_LIT>': proxies,<EOL>'<STR_LIT>': verify,<EOL>'<STR_LIT>': stream,<EOL>'<STR_LIT>': cert<EOL>}<EOL>for x in ['<STR_LIT>', '<STR_LIT:data>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>']:<EOL><INDENT>if x in kwargs:<EOL><INDENT>k[x] = kwargs.pop(x)<EOL><DEDENT><DEDENT>if len(kwargs) > <NUM_LIT:0>:<EOL><INDENT>raise UnexpectedKwargsError(kwargs)<EOL><DEDENT>try:<EOL><INDENT>method = k.pop('<STR_LIT>')<EOL><DEDENT>except KeyError:<EOL><INDENT>raise RequiredKwargsError('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>r = self._send_request(<EOL>enforce_json, method, raise_for_status, url, **k<EOL>)<EOL>return r<EOL><DEDENT>except requests.RequestException as e:<EOL><INDENT>raise HTTPError(e)<EOL><DEDENT>
Generate HTTP request using given parameters.

        The request method prepares HTTP requests using class or
        method-level attributes/variables. Class-level attributes may be
        overridden by method-level variables offering greater
        flexibility and efficiency.

        Parameters:
            enforce_json (bool): Require properly-formatted JSON or raise :exc:`~pancloud.exceptions.HTTPError`. Defaults to ``False``.
            path (str): URI path to append to URL. Defaults to ``empty``.
            raise_for_status (bool): If ``True``, raises :exc:`~pancloud.exceptions.HTTPError` if status_code not in 2XX. Defaults to ``False``.

        Args:
            **kwargs: Supported :class:`~requests.Session` and :class:`~requests.adapters.HTTPAdapter` parameters.

        Returns:
            requests.Response: Requests Response() object