X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/32c1e59622a8e9f76c351160e7150e625e3238a3..2337cc653b679c9873344cc7278410a714a94a23:/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)