]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/clicmd/args.py
penalize search with frequent partials
[nominatim.git] / nominatim / clicmd / args.py
index bf3109ac32bcecc8856e5de20c5f409d9073b750..10316165d191a01883e7d9ede0d151afbf9b6dc5 100644 (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