class_docstr: Encapsulates the actions and resources of a single connection to
  Perspective.
docstr: Pass a message to the manager's `process` method, which passes the
  result to `post_callback`.
  
  Additionally, intercept calls to `on_update` in order
  to track the callbacks that were created through this session. This
  allows for cleaning up callbacks after a session closes, which may not
  necessarily involve calling `delete()` on associated views.
docstr_tok: ["Pass","a","message","to","the","manager","'s","`","process","`","method",",","which","passes","the","result","to","`","post_callback","`",".","Additionally",",","intercept","calls","to","`","on_update","`","in","order","to","track","the","callbacks","that","were","created","through","this","session",".","This","allows","for","cleaning","up","callbacks","after","a","session","closes",",","which","may","not","necessarily","involve","calling","`","delete","(",")","`","on","associated","views","."]
code: def process(self, message, post_callback):
      """Pass a message to the manager's `process` method, which passes the
      result to `post_callback`.
  
      Additionally, intercept calls to `on_update` in order
      to track the callbacks that were created through this session. This
      allows for cleaning up callbacks after a session closes, which may not
      necessarily involve calling `delete()` on associated views.
      """
      self.manager._process(
          message, post_callback, client_id=self.client_id
      )
  
imports: from random import random
label_desc: Use image node_id 2 for calling the PerspectiveSession obj's underlying member method code with example usage: obj.process(message, post_callback) without return types