Format: text/x-python
⬇ Download File (303 B)
   1  """Shared constants.
   2  """
   3  
   4  # Because inprocess communication is not networked, we can use a common Session
   5  # key everywhere. This is not just the empty bytestring to avoid tripping
   6  # certain security checks in the rest of Jupyter that assumes that empty keys
   7  # are insecure.
   8  INPROCESS_KEY = b"inprocess"
   9