Skip to content

Commit 2b20ed7

Browse files
committed
remove omit_exception decorater from BackendCommands and AsyncBackendCommands
1 parent 7ec27a1 commit 2b20ed7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

django_valkey/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ def make_pattern(self, *args, **kwargs) -> bool:
199199
return self.client.make_pattern(*args, **kwargs)
200200

201201

202-
@decorate_all_methods(omit_exception)
203202
class BackendCommands:
204203
def __contains__(self, item):
205204
return self.has_key(item)
@@ -384,7 +383,6 @@ def hexists(self: BaseValkeyCache, *args, **kwargs) -> bool:
384383
return self.client.hexists(*args, **kwargs)
385384

386385

387-
@decorate_all_methods(omit_exception)
388386
class AsyncBackendCommands:
389387
def __getattr__(self, item):
390388
if item.startswith("a"):

0 commit comments

Comments
 (0)