add type annotations to ICU tokenizer helper modules

This commit is contained in:
Sarah Hoffmann
2022-07-13 22:55:40 +02:00
parent 77510f4a3b
commit e37cfc64d2
5 changed files with 73 additions and 34 deletions

View File

@@ -28,7 +28,7 @@ def set_property(conn: Connection, name: str, value: str) -> None:
def get_property(conn: Connection, name: str) -> Optional[str]:
""" Return the current value of the given propery or None if the property
""" Return the current value of the given property or None if the property
is not set.
"""
if not conn.table_exists('nominatim_properties'):