Skip to content

Commit

Permalink
refactor(wrapper): change a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rizhiy committed Jun 1, 2024
1 parent 8c27250 commit a1a7273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class_cache/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def __getitem__(self, key: KeyType) -> ValueType:
return self._decode(super().__getitem__(key))

def __setitem__(self, key: KeyType, value: ValueType) -> None:
self._backend[key] = self._encode(value)
super().__setitem__(key, self._encode(value))

def __delitem__(self, key: KeyType) -> None:
return super().__delitem__(key)
Expand Down

0 comments on commit a1a7273

Please sign in to comment.