constants.py 303 B

12345678
  1. """Shared constants.
  2. """
  3. # Because inprocess communication is not networked, we can use a common Session
  4. # key everywhere. This is not just the empty bytestring to avoid tripping
  5. # certain security checks in the rest of Jupyter that assumes that empty keys
  6. # are insecure.
  7. INPROCESS_KEY = b'inprocess'