X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ab746eebaf2489f4966bfffded647e33ea1c7d4b..f52212abbd21d5139e893b53d75fff5a17893010:/src/nominatim_api/__init__.py diff --git a/src/nominatim_api/__init__.py b/src/nominatim_api/__init__.py index 0f02f979..242ff892 100644 --- a/src/nominatim_api/__init__.py +++ b/src/nominatim_api/__init__.py @@ -14,8 +14,8 @@ 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 nominatim_core.errors import (UsageError as UsageError) -from nominatim_core.config import (Configuration as Configuration) +from .errors import (UsageError as UsageError) +from .config import (Configuration as Configuration) from .core import (NominatimAPI as NominatimAPI, NominatimAPIAsync as NominatimAPIAsync) @@ -39,5 +39,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__