X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1f0796778754d8df0dfab9dd01302e26a397f064..8dd218a1d0142379357cb48a8011830c935b6952:/src/nominatim_api/typing.py 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]']