diff --git a/litestar/contrib/prometheus/middleware.py b/litestar/contrib/prometheus/middleware.py index 383421a723..2753e3386c 100644 --- a/litestar/contrib/prometheus/middleware.py +++ b/litestar/contrib/prometheus/middleware.py @@ -2,7 +2,6 @@ import time from functools import wraps -import re from typing import TYPE_CHECKING, Any, Callable, ClassVar, cast from litestar.connection.request import Request