From 1be3c067483abd60882a34955e5982af836ea9d6 Mon Sep 17 00:00:00 2001 From: Jonathan Windgassen Date: Fri, 15 Nov 2024 14:00:32 +0100 Subject: [PATCH] Allow advanced annotations in Python 3.8 --- jupyter_server_proxy/standalone/__init__.py | 2 ++ jupyter_server_proxy/standalone/proxy.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/jupyter_server_proxy/standalone/__init__.py b/jupyter_server_proxy/standalone/__init__.py index 3ce43754..521d733d 100644 --- a/jupyter_server_proxy/standalone/__init__.py +++ b/jupyter_server_proxy/standalone/__init__.py @@ -1,3 +1,5 @@ +from __future__ import annotations # For Python 3.8 compatibility + import argparse import logging import os diff --git a/jupyter_server_proxy/standalone/proxy.py b/jupyter_server_proxy/standalone/proxy.py index 4613cc68..24ea63e9 100644 --- a/jupyter_server_proxy/standalone/proxy.py +++ b/jupyter_server_proxy/standalone/proxy.py @@ -1,3 +1,5 @@ +from __future__ import annotations # For Python 3.8 compatibility + import os import re import ssl