port export function to Python

Some of the parameters have been renoved as they don't make sense
anymore.
This commit is contained in:
Sarah Hoffmann
2023-07-17 22:37:07 +02:00
parent faeee7528f
commit 0804cc0cff
7 changed files with 200 additions and 281 deletions

View File

@@ -100,9 +100,6 @@ class NominatimArgs:
output_all_postcodes: bool
language: Optional[str]
restrict_to_country: Optional[str]
restrict_to_osm_node: Optional[int]
restrict_to_osm_way: Optional[int]
restrict_to_osm_relation: Optional[int]
# Arguments to 'refresh'
postcodes: bool