Skip to content

Commit d0fd304

Browse files
committed
Add backwards compatibility for override typing
1 parent 3ca5f84 commit d0fd304

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pdap_access_manager/access_manager/async_.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from contextlib import asynccontextmanager
22
from http import HTTPStatus
3-
from typing import Any, AsyncGenerator, override
3+
from typing import Any, AsyncGenerator
4+
from typing_extensions import override
45

56
from aiohttp import ClientSession, ClientResponseError
67

pdap_access_manager/access_manager/sync.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from contextlib import contextmanager
22
from http import HTTPStatus
3-
from typing import Generator, Any, override
3+
from typing import Generator, Any
4+
from typing_extensions import override
45

56
from requests import Session, HTTPError
67

0 commit comments

Comments
 (0)