From 442e7a07ddb8aae814af8ee7a08f0545cc92be3f Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Fri, 14 Jul 2023 00:40:48 +0200 Subject: [PATCH] Fix pylint check --- pyhon/connection/handler/base.py | 4 ++-- pyhon/typedefs.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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