constants.py 302 B

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