Skip to content

Commit db56f6a

Browse files
committed
Add typing annotations
1 parent f3df6f0 commit db56f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

folium/map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import warnings
77
from collections import OrderedDict, defaultdict
8-
from typing import TYPE_CHECKING, Optional, Sequence, Union, cast
8+
from typing import TYPE_CHECKING, DefaultDict, Optional, Sequence, Union, cast
99

1010
from branca.element import Element, Figure, Html, MacroElement
1111

@@ -38,7 +38,7 @@ def __get__(self, obj, owner):
3838
class Class(MacroElement):
3939
"""The root class of the leaflet class hierarchy"""
4040

41-
_includes = defaultdict(dict)
41+
_includes: DefaultDict[str, dict] = defaultdict(dict)
4242

4343
@classmethod
4444
def include(cls, **kwargs):

0 commit comments

Comments
 (0)