diff --git a/shortify/app/middlewares/correlation.py b/shortify/app/middlewares/correlation.py index 434abbf..0e4a79c 100644 --- a/shortify/app/middlewares/correlation.py +++ b/shortify/app/middlewares/correlation.py @@ -2,6 +2,7 @@ Correlation ID middleware implementation inspired from asgi-correlation-id project: https://github.com/snok/asgi-correlation-id """ + import sys from contextvars import ContextVar from typing import TYPE_CHECKING, Callable, Optional diff --git a/shortify/app/utils/cbv.py b/shortify/app/utils/cbv.py index 808061d..0b61dd4 100644 --- a/shortify/app/utils/cbv.py +++ b/shortify/app/utils/cbv.py @@ -1,4 +1,5 @@ """Class-based views, borrowed from fastapi-utils project with a few modifications.""" + import inspect from typing import Any, Callable, List, Type, TypeVar, Union, get_type_hints