]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/database_import.py
add type annotations for command line functions
[nominatim.git] / nominatim / tools / database_import.py
index eda010138d691038e1fcc325aebb9f4f643e1cdd..fa60abf22a60ed7f1aad9eceebbfa2a61b1450d8 100644 (file)
@@ -82,7 +82,7 @@ def setup_database_skeleton(dsn: str, rouser: Optional[str] = None) -> None:
                          POSTGIS_REQUIRED_VERSION)
 
 
-def import_osm_data(osm_files: Union[str, Sequence[str]],
+def import_osm_data(osm_files: Union[Path, Sequence[Path]],
                     options: MutableMapping[str, Any],
                     drop: bool = False, ignore_errors: bool = False) -> None:
     """ Import the given OSM files. 'options' contains the list of