Skip to content

Commit 70c5ab6

Browse files
author
Raphael Krupinski
committed
🧑‍💻 Type hints.
1 parent 875e308 commit 70c5ab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lapidary/runtime/client_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import logging
33
from collections.abc import Awaitable, Callable, Iterable, Mapping, MutableMapping
44
from importlib.metadata import version
5-
from typing import Any, Optional, cast
5+
from typing import Any, Optional, Self, cast
66

77
import httpx
88

@@ -39,7 +39,7 @@ def __init__(
3939
self._auth: MutableMapping[str, httpx.Auth] = {}
4040
self._auth_cache: MutableMapping[str, httpx.Auth] = {}
4141

42-
async def __aenter__(self):
42+
async def __aenter__(self: Self) -> Self:
4343
await self._client.__aenter__()
4444
return self
4545

0 commit comments

Comments
 (0)