X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2bab0ca060ff224091b20a0ac808a3febaba04b1..7d418da564484c3f2fffcd4801188d6ffc4f436a:/src/nominatim_api/__init__.py?ds=sidebyside diff --git a/src/nominatim_api/__init__.py b/src/nominatim_api/__init__.py index 3ffe0c27..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,5 +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__