Skip to content

Commit dfd6cef

Browse files
committed
Add types
1 parent 5ab4295 commit dfd6cef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sentry_sdk/feature_flags.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from sentry_sdk._lru_cache import LRUCache
44
from threading import Lock
55

6-
from typing import TYPE_CHECKING
6+
from typing import TYPE_CHECKING, Any
77

88
if TYPE_CHECKING:
99
from typing import TypedDict
@@ -30,6 +30,7 @@ def clear(self):
3030
self.__buffer = LRUCache(self.capacity)
3131

3232
def __deepcopy__(self, memo):
33+
# type: (dict[int, Any]) -> FlagBuffer
3334
with self.lock:
3435
buffer = FlagBuffer(self.capacity)
3536
buffer.__buffer = copy.deepcopy(self.__buffer, memo)

0 commit comments

Comments
 (0)