diff --git a/pyhon/connection/handler/base.py b/pyhon/connection/handler/base.py index f06053e..9e5c77b 100644 --- a/pyhon/connection/handler/base.py +++ b/pyhon/connection/handler/base.py @@ -1,8 +1,8 @@ import logging from collections.abc import AsyncIterator -from contextlib import asynccontextmanager, _AsyncGeneratorContextManager +from contextlib import asynccontextmanager from types import TracebackType -from typing import Optional, Dict, Type, Any, Callable, Coroutine, AsyncGenerator +from typing import Optional, Dict, Type, Any import aiohttp from typing_extensions import Self diff --git a/pyhon/typedefs.py b/pyhon/typedefs.py index c6594e5..2a22319 100644 --- a/pyhon/typedefs.py +++ b/pyhon/typedefs.py @@ -1,4 +1,4 @@ -from typing import Union, Any, TYPE_CHECKING, Protocol, AsyncIterator, Coroutine +from typing import Union, Any, TYPE_CHECKING, Protocol import aiohttp from yarl import URL