X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/046665f8d9b0cd11d59c8470e34833bc02b569ce..2b87c016db1dd7a03b5cafe385209529a7457fc6:/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]']