code: def request(self, session=None):
          
          try:
              from .tcex_request import TcExRequest
  
              r = TcExRequest(self, session)
              if session is None and self.default_args.tc_proxy_external:
                  self.log.info(
                      'Using proxy server for external request {}:{}.'.format(
                          self.default_args.tc_proxy_host, self.default_args.tc_proxy_port
                      )
                  )
                  r.proxies = self.proxies
              return r
          except ImportError as e:
              self.handle_error(105, [e])
docs: Return an instance of the Request Class.
  
          A wrapper on the Python Requests module that provides a different interface for creating
          requests. The session property of this instance has built-in logging, session level
          retries, and preconfigured proxy configuration.
  
          Returns:
              (object): An instance of Request Class