Skip to content

Commit c14c9da

Browse files
committed
fix typing for old
1 parent 2dafd6a commit c14c9da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dash/_callback.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import hashlib
33
from functools import wraps
44

5-
from typing import Callable, Optional, Any, List, Tuple, Union
5+
from typing import Callable, Optional, Any, List, Tuple, Union, Dict
66

77

88
import asyncio
@@ -60,9 +60,9 @@ def _invoke_callback(func, *args, **kwargs): # used to mark the frame for the d
6060

6161

6262
GLOBAL_CALLBACK_LIST: List[Any] = []
63-
GLOBAL_CALLBACK_MAP: dict[str, Any] = {}
63+
GLOBAL_CALLBACK_MAP: Dict[str, Any] = {}
6464
GLOBAL_INLINE_SCRIPTS: List[Any] = []
65-
GLOBAL_API_PATHS: dict[str, Any] = {}
65+
GLOBAL_API_PATHS: Dict[str, Any] = {}
6666

6767

6868
# pylint: disable=too-many-locals,too-many-arguments

0 commit comments

Comments
 (0)