class_docstr: Encapsulates the actions and resources of a single connection to
  Perspective.
docstr: Create a new session object, keeping track of a unique client_id and
  the manager the session belongs to.
  
  `PerspectiveSession` should not be constructed directly. Instead, use
  `PerspectiveManager.new_session()` to create a new session.
docstr_tok: ["Create","a","new","session","object",",","keeping","track","of","a","unique","client_id","and","the","manager","the","session","belongs","to",".","`","PerspectiveSession","`","should","not","be","constructed","directly",".","Instead",",","use","`","PerspectiveManager.new_session","(",")","`","to","create","a","new","session","."]
code: def __init__(self, manager):
      """Create a new session object, keeping track of a unique client_id and
      the manager the session belongs to.
  
      `PerspectiveSession` should not be constructed directly. Instead, use
      `PerspectiveManager.new_session()` to create a new session.
      """
      self.client_id = str(random())
      self.manager = manager
  
imports: from random import random
label_desc: Use image node_id 1 to create a new PerspectiveSession object from inherited base classes: object with example: obj = PerspectiveSession(manager)