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()
# Arguments to all query functions
format: str
+ list_formats: bool
addressdetails: bool
extratags: bool
namedetails: bool