mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-26 14:36:23 +03:00
8f4426fbc8
Code is now organized by api version. So formatting has moved to the api.v1 module. Instead of holding a separate ResultFormatter object per result format, simply move the functions to the formater collector and hand in the requested format as a parameter. Thus reorganized, the api.v1 module can export three simple functions for result formatting which in turn makes the code that uses the formatters much simpler. |
||
---|---|---|
.. | ||
api | ||
cli | ||
config | ||
data | ||
db | ||
indexer | ||
tokenizer | ||
tools | ||
utils | ||
conftest.py | ||
cursor.py | ||
dummy_tokenizer.py | ||
mock_icu_word_table.py | ||
mock_legacy_word_table.py | ||
mocks.py | ||
pytest.ini |