@@ -50,14 +50,16 @@ def upsert(
5050 self .findex_core .upsert_wrapper (master_key , label , additions , deletions )
5151
5252 @abstractmethod
53- def fetch_entry_table (self , entry_uids : List [bytes ]) -> Dict [bytes , bytes ]:
53+ def fetch_entry_table (
54+ self , entry_uids : List [bytes ]
55+ ) -> Sequence [Tuple [bytes , bytes ]]:
5456 """Query the Entry Table.
5557
5658 Args:
5759 entry_uids (List[bytes], optional): uids to query. if None, return the entire table
5860
5961 Returns:
60- Dict[ bytes, bytes]: uid -> value mapping
62+ Sequence[Tuple[ bytes, bytes] ]: uid -> value mapping
6163 """
6264
6365 @abstractmethod
@@ -92,14 +94,16 @@ def __init__(self) -> None:
9294 )
9395
9496 @abstractmethod
95- def fetch_entry_table (self , entry_uids : List [bytes ]) -> Dict [bytes , bytes ]:
97+ def fetch_entry_table (
98+ self , entry_uids : List [bytes ]
99+ ) -> Sequence [Tuple [bytes , bytes ]]:
96100 """Query the Entry Table.
97101
98102 Args:
99103 entry_uids (List[bytes], optional): uids to query. if None, return the entire table
100104
101105 Returns:
102- Dict[ bytes, bytes]: uid -> value mapping
106+ Sequence[Tuple[ bytes, bytes] ]: uid -> value mapping
103107 """
104108
105109 @abstractmethod
@@ -154,14 +158,16 @@ def __init__(self) -> None:
154158 )
155159
156160 @abstractmethod
157- def fetch_entry_table (self , entry_uids : List [bytes ]) -> Dict [bytes , bytes ]:
161+ def fetch_entry_table (
162+ self , entry_uids : List [bytes ]
163+ ) -> Sequence [Tuple [bytes , bytes ]]:
158164 """Query the Entry Table.
159165
160166 Args:
161167 entry_uids (List[bytes]): uids to query
162168
163169 Returns:
164- Dict[ bytes, bytes]: uid -> value mapping
170+ Sequence[Tuple[ bytes, bytes] ]: uid -> value mapping
165171 """
166172
167173 @abstractmethod
0 commit comments