diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-04-14 19:41:30 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-04-14 19:41:30 +0200 |
commit | 37e4be24129b6980e3e9fced7345d4a596af3d58 (patch) | |
tree | 3443f320e6fd77558786fb022cb78b5babcc1985 /src/ee/db.py | |
parent | 791cd8213214feb7af77e434ee260e48984086fb (diff) | |
download | ee-python-37e4be24129b6980e3e9fced7345d4a596af3d58.tar.gz ee-python-37e4be24129b6980e3e9fced7345d4a596af3d58.tar.bz2 ee-python-37e4be24129b6980e3e9fced7345d4a596af3d58.tar.xz ee-python-37e4be24129b6980e3e9fced7345d4a596af3d58.zip |
digikey:
o More flexibility, making room for the multiple digikey stores.
o Removing URLs from core code.
new tools: split_parts_by_supplier.
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): |