diff options
Diffstat (limited to 'src/ee/db.py')
-rw-r--r-- | src/ee/db.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ee/db.py b/src/ee/db.py index 57533ef..79d48ee 100644 --- a/src/ee/db.py +++ b/src/ee/db.py @@ -1,4 +1,4 @@ -from typing import TypeVar, Generic, Callable, MutableMapping, List, Iterable, Union, Any, Mapping +from typing import TypeVar, Generic, Callable, MutableMapping, List, Iterable, Union, Any, Mapping, Tuple, AbstractSet K = TypeVar('K') V = TypeVar('V') @@ -69,7 +69,7 @@ class ListIndex(Index[K, V]): def __iter__(self): return self.idx.__iter__() - def items(self): + def items(self) -> AbstractSet[Tuple[K, V]]: return self.idx.items() def values(self): |