diff --git a/neuro_admin_client/__init__.py b/neuro_admin_client/__init__.py index c3516af..7dd564b 100644 --- a/neuro_admin_client/__init__.py +++ b/neuro_admin_client/__init__.py @@ -57,7 +57,7 @@ class GetUserResponse: class AdminClientABC(abc.ABC): - async def __aenter__(self) -> "AdminClientABC": + async def __aenter__(self) -> AdminClientABC: return self async def __aexit__(self, *args: Any) -> None: @@ -2476,7 +2476,7 @@ def __init__( self._trace_configs = trace_configs self._client: aiohttp.ClientSession | None = None - async def __aenter__(self) -> "AdminClient": + async def __aenter__(self) -> AdminClient: self._init() return self @@ -2583,7 +2583,7 @@ class AdminClientDummy(AdminClientABC): user_info=UserInfo(email="email@examle.com"), ) - async def __aenter__(self) -> "AdminClientDummy": + async def __aenter__(self) -> AdminClientDummy: return self async def __aexit__(self, *args: Any) -> None: diff --git a/requirements.txt b/requirements.txt index a21f2fe..145465f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -e . mypy==1.6.0 mypy-extensions==1.0.0 -pre-commit==3.4.0 +pre-commit==3.5.0 pytest==7.4.2 pytest-aiohttp==1.0.5 pytest-asyncio==0.21.1