X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c9035594152ac7caa5fd06b1334b031a39ce5ab3..f960a9bf7fd1702b3d66995dd69307bd91d61a08:/src/nominatim_db/clicmd/args.py?ds=sidebyside diff --git a/src/nominatim_db/clicmd/args.py b/src/nominatim_db/clicmd/args.py index aa95dbb9..c74bca62 100644 --- a/src/nominatim_db/clicmd/args.py +++ b/src/nominatim_db/clicmd/args.py @@ -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