From 3bc6863b4909b9e347c6f8eb372b9408a9bac32c Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sun, 14 May 2023 21:05:07 +0000 Subject: [PATCH] Type hints --- matcher/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matcher/api.py b/matcher/api.py index 3395035..e09e091 100644 --- a/matcher/api.py +++ b/matcher/api.py @@ -666,7 +666,7 @@ def get_address_nodes_within_building(osm_id, bbox_list): return [node.tags for node in q] -def osm_display_name(tags: dict[str, str]) -> str | None: +def osm_display_name(tags: TagsType) -> str | None: """Get name to display from OSM tags.""" keys = ( "bridge:name",