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