]> git.openstreetmap.org Git - nominatim.git/blob - nominatim/api/__init__.py
improve scaffolding for API unit tests
[nominatim.git] / nominatim / api / __init__.py
1 # SPDX-License-Identifier: GPL-3.0-or-later
2 #
3 # This file is part of Nominatim. (https://nominatim.org)
4 #
5 # Copyright (C) 2023 by the Nominatim developer community.
6 # For a full list of authors see the git log.
7 """
8 The public interface of the Nominatim library.
9
10 Classes and functions defined in this file are considered stable. Always
11 import from this file, not from the source files directly.
12 """
13
14 # See also https://github.com/PyCQA/pylint/issues/6006
15 # pylint: disable=useless-import-alias
16
17 from .core import (NominatimAPI as NominatimAPI,
18                    NominatimAPIAsync as NominatimAPIAsync)
19 from .status import (StatusResult as StatusResult)
20 from .types import (PlaceID as PlaceID,
21                     OsmID as OsmID,
22                     PlaceRef as PlaceRef,
23                     LookupDetails as LookupDetails)