diff --git a/src/dishka/integrations/asgi.py b/src/dishka/integrations/asgi.py index 637f2608..b93fc208 100644 --- a/src/dishka/integrations/asgi.py +++ b/src/dishka/integrations/asgi.py @@ -6,7 +6,7 @@ from typing import Sequence from dishka import Provider, make_async_container -from dishka.async_container import AsyncContextWrapper, AsyncContainer +from dishka.async_container import AsyncContainer, AsyncContextWrapper from .base import Depends diff --git a/src/dishka/integrations/fastapi.py b/src/dishka/integrations/fastapi.py index b3dbd138..d1523f20 100644 --- a/src/dishka/integrations/fastapi.py +++ b/src/dishka/integrations/fastapi.py @@ -8,9 +8,9 @@ from fastapi import Request from dishka import AsyncContainer +from ..async_container import AsyncContextWrapper from .asgi import BaseDishkaApp from .base import Depends, wrap_injection -from ..async_container import AsyncContextWrapper def inject(func):