Type hints
This commit is contained in:
parent
b49ac353f5
commit
3bc6863b49
|
@ -666,7 +666,7 @@ def get_address_nodes_within_building(osm_id, bbox_list):
|
||||||
return [node.tags for node in q]
|
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."""
|
"""Get name to display from OSM tags."""
|
||||||
keys = (
|
keys = (
|
||||||
"bridge:name",
|
"bridge:name",
|
||||||
|
|
Loading…
Reference in a new issue