Skip to content

Commit 88f14de

Browse files
committed
Remove typing constraint
1 parent be23d8b commit 88f14de

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
super().add_child(icon)
438438
self.icon = icon
439439

0 commit comments

Comments
 (0)