added TYPE_CHECKING to middleware.py

This commit is contained in:
Richie committed 2026-06-14 13:48:02 -04:00
1 parent ab2521867e
commit 736717c2f8
1 file changed
+5 -1
+5 -1
View File
@@ -1,10 +1,14 @@
"""Middleware for the FastAPI application."""
from compression import zstd
from typing import TYPE_CHECKING
from starlette.middleware.base import BaseHTTPMiddleware, RequestResponseEndpoint
from starlette.requests import Request
from starlette.responses import Response
if TYPE_CHECKING:
from starlette.requests import Request
MINIMUM_RESPONSE_SIZE = 500