Skip to content

Commit 30d4633

Browse files
committed
Remove type definition
1 parent d73fa29 commit 30d4633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

folium/map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def render(self):
433433
self.add_child(self.SetIcon(marker=self, icon=self.icon))
434434
super().render()
435435

436-
def set_icon(self, icon: Union[Icon, "CustomIcon", "DivIcon"]):
436+
def set_icon(self, icon):
437437
"""Set the icon for this Marker"""
438438
super().add_child(icon)
439439
self.icon = icon

0 commit comments

Comments
 (0)