X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e89310a9285f1ad15d8002bf68f578eada367a0..HEAD:/src/nominatim_api/__init__.py diff --git a/src/nominatim_api/__init__.py b/src/nominatim_api/__init__.py index 02cde0b2..89c57b65 100644 --- a/src/nominatim_api/__init__.py +++ b/src/nominatim_api/__init__.py @@ -11,8 +11,8 @@ Classes and functions defined in this file are considered stable. Always import from this file, not from the source files directly. """ -# See also https://github.com/PyCQA/pylint/issues/6006 -# pylint: disable=useless-import-alias +from .errors import (UsageError as UsageError) +from .config import (Configuration as Configuration) from .core import (NominatimAPI as NominatimAPI, NominatimAPIAsync as NominatimAPIAsync) @@ -36,3 +36,7 @@ from .results import (SourceTable as SourceTable, SearchResult as SearchResult, SearchResults as SearchResults) from .localization import (Locales as Locales) +from .result_formatting import (FormatDispatcher as FormatDispatcher, + load_format_dispatcher as load_format_dispatcher) + +from .version import NOMINATIM_API_VERSION as __version__