X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/32c1e59622a8e9f76c351160e7150e625e3238a3..1255efba7fb2b661943f960bde2d63a85152c0c6:/nominatim/api/__init__.py?ds=inline 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)