Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Conengmo committed Jan 24, 2025
1 parent 20bafc3 commit 4d06b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folium/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def __init__(
draggable=draggable or None, autoPan=draggable or None, **kwargs
)
# this attribute is not used by Marker, but by GeoJson
self.icon: Optional[Icon] = None
self.icon: Union[Icon, "CustomIcon", "DivIcon", None] = None
if icon is not None:
self.add_child(icon)
self.icon = icon
Expand Down

0 comments on commit 4d06b52

Please sign in to comment.