Skip to content

Commit 9bf72ed

Browse files
committed
remove the undecorating loop from cluster
1 parent ecf4b95 commit 9bf72ed

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

django_valkey/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ async def _async_generator_decorator(self, *args, **kwargs):
121121
else _generator_decorator
122122
)
123123

124-
wrapper.original = method
125124
return wrapper
126125

127126

django_valkey/cluster_cache/cache.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,3 @@ class ClusterValkeyCache(
3636
BackendCommands,
3737
):
3838
DEFAULT_CLIENT_CLASS = "django_valkey.cluster_cache.client.DefaultClusterClient"
39-
40-
41-
for name, value in vars(BackendCommands).items():
42-
if original := getattr(value, "original", None):
43-
setattr(ClusterValkeyCache, name, original)

0 commit comments

Comments
 (0)