Sarah Hoffmann
|
3742fa2929
|
make DB helper functions free functions
Also changes the drop function so that it can drop multiple tables
at once.
|
2024-07-29 08:49:30 +02:00 |
|
Sarah Hoffmann
|
4da4cbfe27
|
reduce from 3 to 2 packages
|
2024-06-28 09:13:22 +02:00 |
|
Sarah Hoffmann
|
2bab0ca060
|
port unit tests to new python package layout
|
2024-06-26 11:52:47 +02:00 |
|
Sarah Hoffmann
|
9963261d8d
|
add type annotations to special phrase importer
|
2022-07-18 09:54:29 +02:00 |
|
Sarah Hoffmann
|
46689df668
|
custom comparison for SpecialPhrase
Duplicate elemination only works when a custom hash/equal function
is implemented that is based on the members.
|
2022-05-30 16:30:41 +02:00 |
|
Sarah Hoffmann
|
cce0e5ea38
|
convert special phrase loaders to generators
Generators simplify the code quite a bit compared to the previous
Iterator approach.
|
2022-05-30 14:12:46 +02:00 |
|
Sarah Hoffmann
|
042e314589
|
remove the language parameter in the SPWikiLoader
Languages must always be configured through config or environment.
Also use monkeypatched environment in tests.
|
2022-05-30 10:26:20 +02:00 |
|
Sarah Hoffmann
|
c3788d765e
|
add consistent SPDX copyright headers
|
2022-01-03 16:23:58 +01:00 |
|
Sarah Hoffmann
|
b90e719da5
|
organise python tests in subdirectories
The directories follow the same structure as the modules in
nominatim/.
|
2021-11-30 11:22:26 +01:00 |
|