X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dfcb24061eb6d3d415cd86d2f4edd95c4debaf36..566ac7af993f487e249185ddae59bc38c38f84de:/nominatim/api/__init__.py diff --git a/nominatim/api/__init__.py b/nominatim/api/__init__.py index f418e663..794cd96c 100644 --- a/nominatim/api/__init__.py +++ b/nominatim/api/__init__.py @@ -14,6 +14,24 @@ 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.api.core import (NominatimAPI as NominatimAPI, - NominatimAPIAsync as NominatimAPIAsync) -from nominatim.api.status import (StatusResult as StatusResult) +from .core import (NominatimAPI as NominatimAPI, + NominatimAPIAsync as NominatimAPIAsync) +from .status import (StatusResult as StatusResult) +from .types import (PlaceID as PlaceID, + OsmID as OsmID, + PlaceRef as PlaceRef, + Point as Point, + Bbox as Bbox, + GeometryFormat as GeometryFormat, + DataLayer as DataLayer) +from .results import (SourceTable as SourceTable, + AddressLine as AddressLine, + AddressLines as AddressLines, + WordInfo as WordInfo, + WordInfos as WordInfos, + DetailedResult as DetailedResult, + ReverseResult as ReverseResult, + ReverseResults as ReverseResults, + SearchResult as SearchResult, + SearchResults as SearchResults) +from .localization import (Locales as Locales)