]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/base.py
remove typing_extensions requirement
[nominatim.git] / nominatim / tokenizer / base.py
index 1c1ca9f7bcfca3d7fa407504ac0b0c9d728191a1..dbc4cfadcefbe0df9a497afe4d44ec41fb3f913f 100644 (file)
@@ -12,10 +12,9 @@ from abc import ABC, abstractmethod
 from typing import List, Tuple, Dict, Any, Optional, Iterable
 from pathlib import Path
 
-from typing_extensions import Protocol
-
 from nominatim.config import Configuration
 from nominatim.data.place_info import PlaceInfo
+from nominatim.typing import Protocol
 
 class AbstractAnalyzer(ABC):
     """ The analyzer provides the functions for analysing names and building