code: def add_request_session(self):
          
          session = new_request_session(self.config, self.cookies)
          self.request_sessions[thread.get_ident()] = session
docs: Add a request session for current thread.