X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ae8694a6a6862d7cb66cd91102d2802c9899e7cf..501e13483efb2799591c425870bb6c646067335f:/src/nominatim_api/typing.py?ds=sidebyside diff --git a/src/nominatim_api/typing.py b/src/nominatim_api/typing.py index 89aa4428..be9e9b58 100644 --- a/src/nominatim_api/typing.py +++ b/src/nominatim_api/typing.py @@ -21,9 +21,11 @@ if TYPE_CHECKING: from typing import Any import sqlalchemy as sa import os - from typing_extensions import (TypeAlias as TypeAlias) + from typing_extensions import (TypeAlias as TypeAlias, + Protocol as Protocol) else: TypeAlias = str + Protocol = object StrPath = Union[str, 'os.PathLike[str]']