]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/clicmd/args.py
lift restrictions on search with frequent terms slightly
[nominatim.git] / src / nominatim_db / clicmd / args.py
index aa95dbb99402f7ec730a02e555178abbb94eb1a4..c74bca6245a40baf3b920a7311c2228d31fa043d 100644 (file)
@@ -10,12 +10,11 @@ Provides custom functions over command-line arguments.
 from typing import Optional, List, Dict, Any, Sequence, Tuple
 import argparse
 import logging
-from functools import reduce
 from pathlib import Path
 
-from nominatim_core.errors import UsageError
-from nominatim_core.config import Configuration
-from nominatim_core.typing import Protocol
+from ..errors import UsageError
+from ..config import Configuration
+from ..typing import Protocol
 
 LOG = logging.getLogger()
 
@@ -138,6 +137,7 @@ class NominatimArgs:
 
     # Arguments to all query functions
     format: str
+    list_formats: bool
     addressdetails: bool
     extratags: bool
     namedetails: bool