Skip to content

Commit 2b63059

Browse files
fix: wrong attribute name used for PersistDict
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
1 parent 0c00055 commit 2b63059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wdoc/utils/customs/compressed_embeddings_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def mget(self, keys: Sequence[str]) -> List[Optional[bytes]]:
7373
If a key is not found, the corresponding value will be None.
7474
"""
7575
values = self.pdi.__getitems__(keys)
76-
values = [v if v is not self.pdi.missing_value else None for v in values]
76+
values = [v if v is not self.pdi.__missing_value__ else None for v in values]
7777
return values
7878

7979

0 commit comments

Comments
 (0)