]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/db/utils.py
define type for enivronment dictionaries
[nominatim.git] / nominatim / db / utils.py
index e2b63e1dd0e360e528724e5019608a7153e31b5f..461cb662415910844b87042aa76df2754046e13f 100644 (file)
@@ -19,7 +19,7 @@ from nominatim.errors import UsageError
 
 LOG = logging.getLogger()
 
-def _pipe_to_proc(proc: subprocess.Popen[bytes],
+def _pipe_to_proc(proc: 'subprocess.Popen[bytes]',
                   fdesc: Union[IO[bytes], gzip.GzipFile]) -> int:
     assert proc.stdin is not None
     chunk = fdesc.read(2048)