]> git.openstreetmap.org Git - nominatim.git/commit
split SearchResult type
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 14 Mar 2023 13:21:35 +0000 (14:21 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 23 Mar 2023 09:16:50 +0000 (10:16 +0100)
commit00e3a752c9a749d2e2a0b8a406dd1b7e8e204765
tree5021f09ae50a520a03af9840b73d998ed7671091
parentd03fd3f883e1188ad8d3364543a71fb9c1fabb85
split SearchResult type

Use adapted types for the different result types. This makes it
easier to have adapted output formatting and means there are only
result fields that are filled.
nominatim/api/__init__.py
nominatim/api/core.py
nominatim/api/lookup.py
nominatim/api/results.py
nominatim/api/v1/format.py
nominatim/api/v1/server_glue.py
nominatim/clicmd/api.py
test/python/api/test_result_formatting_v1.py
test/python/api/test_results.py [new file with mode: 0644]
test/python/cli/test_cmd_api.py