From 37ce464e1e1a00703eb760a42027da4da33f5637 Mon Sep 17 00:00:00 2001 From: zhu Date: Thu, 15 Jun 2023 01:59:02 +0800 Subject: [PATCH] Fix: pairs may not support len (#728) --- aiocache/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiocache/base.py b/aiocache/base.py index 54e9d18c..4f63ccdb 100644 --- a/aiocache/base.py +++ b/aiocache/base.py @@ -315,7 +315,7 @@ async def multi_set(self, pairs, ttl=SENTINEL, dumps_fn=None, namespace=None, _c logger.debug( "MULTI_SET %s %d (%.4f)s", [key for key, value in tmp_pairs], - len(pairs), + len(tmp_pairs), time.monotonic() - start, ) return True