We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dir
vars
1 parent aaf4767 commit 7ec27a1Copy full SHA for 7ec27a1
django_valkey/base.py
@@ -32,7 +32,7 @@
32
33
def decorate_all_methods(decorator):
34
def decorate(cls):
35
- for attr in vars(cls):
+ for attr in dir(cls):
36
# dunders and `get` should not be decorated
37
# get is handled by `_get`
38
if attr.startswith("__") or attr in {"get", "get_or_set"}:
0 commit comments