Skip to content

Commit 4986179

Browse files
authored
FIx typig extensions nor found (#290)
* FIx typig extensions nor found * Changelog * Fix coverage
1 parent 4b73a5e commit 4986179

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.1.1 (2nd Nov, 2024)
4+
5+
- FIx typig extensions nor found. (#290)
6+
37
## 0.1.0 (2nd Nov, 2024)
48

59
- Add support for Python 3.12 / drop Python 3.8. (#286)

hishel/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ def install_cache() -> None: # pragma: no cover
1414
httpx.Client = CacheClient # type: ignore
1515

1616

17-
__version__ = "0.1.0"
17+
__version__ = "0.1.1"

hishel/_async/_storages.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
anysqlite = None # type: ignore
2424

2525
from httpcore import Request, Response
26-
from typing_extensions import TypeAlias
26+
27+
if t.TYPE_CHECKING: # pragma: no cover
28+
from typing_extensions import TypeAlias
2729

2830
from hishel._serializers import BaseSerializer, clone_model
2931

hishel/_sync/_storages.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
sqlite3 = None # type: ignore
2424

2525
from httpcore import Request, Response
26-
from typing_extensions import TypeAlias
26+
27+
if t.TYPE_CHECKING: # pragma: no cover
28+
from typing_extensions import TypeAlias
2729

2830
from hishel._serializers import BaseSerializer, clone_model
2931

0 commit comments

Comments
 (0)