]> git.openstreetmap.org Git - nominatim.git/commit
reorganize api submodule
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 24 Jan 2023 12:28:04 +0000 (13:28 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 24 Jan 2023 12:28:04 +0000 (13:28 +0100)
commit32c1e59622a8e9f76c351160e7150e625e3238a3
tree292cbff83c0533b68a98dcf74b7f146c30bd0c1b
parente56957f047ffacbce41eb6af914a192274996955
reorganize api submodule

Use a directory for the submodule where the __init__ file contains
the public API. This makes it easier to separate public interface
from the internal implementation.
nominatim/api/__init__.py [new file with mode: 0644]
nominatim/api/core.py [moved from nominatim/api.py with 98% similarity]
nominatim/api/status.py [moved from nominatim/apicmd/status.py with 100% similarity]
nominatim/apicmd/__init__.py [deleted file]
nominatim/clicmd/api.py
nominatim/result_formatter/v1.py
nominatim/server/falcon/server.py
nominatim/server/sanic/server.py
nominatim/server/starlette/server.py
test/python/cli/test_cmd_api.py
test/python/result_formatter/test_v1.py