From 9ccfb6670da4b9a1be9f7553caad270fc2c6c756 Mon Sep 17 00:00:00 2001 From: Lasse Yledahl Date: Wed, 9 Oct 2024 14:42:10 +0000 Subject: [PATCH] remove workaround file now that imports are available --- src/eduid/webapp/common/wsgi.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/eduid/webapp/common/wsgi.py diff --git a/src/eduid/webapp/common/wsgi.py b/src/eduid/webapp/common/wsgi.py deleted file mode 100644 index 91e1de5f7..000000000 --- a/src/eduid/webapp/common/wsgi.py +++ /dev/null @@ -1,15 +0,0 @@ -from collections.abc import Callable -from types import TracebackType -from typing import Any, Protocol, TypeAlias - -ExcInfo: TypeAlias = tuple[type[BaseException], BaseException, TracebackType] -OptExcInfo: TypeAlias = ExcInfo | tuple[None, None, None] - - -class StartResponse(Protocol): - def __call__( - self, status: str, headers: list[tuple[str, str]], exc_info: OptExcInfo | None = ..., / - ) -> Callable[[bytes], object]: ... - - -WSGIEnvironment: TypeAlias = dict[str, Any] # stable