Skip to content

Commit a53a7b7

Browse files
committed
Fixed typing
1 parent 6852dfe commit a53a7b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

folium/map.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,9 @@ class SetIcon(MacroElement):
382382
"""
383383
)
384384

385-
def __init__(self, marker: "Marker", icon: "Icon"):
385+
def __init__(
386+
self, marker: "Marker", icon: Union[Icon, "CustomIcon", "DivIcon"]
387+
):
386388
super().__init__()
387389
self._name = "SetIcon"
388390
self.marker = marker

0 commit comments

Comments
 (0)