X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dfcb24061eb6d3d415cd86d2f4edd95c4debaf36..9f42c3f3b8333a5f65bbe34f5a5a4e0a350d84c3:/nominatim/api/__init__.py?ds=sidebyside diff --git a/nominatim/api/__init__.py b/nominatim/api/__init__.py index f418e663..9e3d6a1d 100644 --- a/nominatim/api/__init__.py +++ b/nominatim/api/__init__.py @@ -14,6 +14,25 @@ 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 .connection import (SearchConnection as SearchConnection) +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)