code: async def save_session(self, sid, session):
          
          socket = self._get_socket(sid)
          socket.session = session
docs: Store the user session for a client.
  
          :param sid: The session id of the client.
          :param session: The session dictionary.