switch CLI search command to python implementation

This commit is contained in:
Sarah Hoffmann
2023-05-24 22:54:54 +02:00
parent f335e78d1e
commit 0608cf1476
5 changed files with 124 additions and 68 deletions

View File

@@ -147,6 +147,7 @@ class NominatimArgs:
# Arguments to 'search'
query: Optional[str]
amenity: Optional[str]
street: Optional[str]
city: Optional[str]
county: Optional[str]
@@ -155,7 +156,7 @@ class NominatimArgs:
postalcode: Optional[str]
countrycodes: Optional[str]
exclude_place_ids: Optional[str]
limit: Optional[int]
limit: int
viewbox: Optional[str]
bounded: bool
dedupe: bool