From ce6c43f54f86b2b516781967f3044d45cdc24c37 Mon Sep 17 00:00:00 2001 From: jayzfbn <117106747+jayzfbn@users.noreply.github.com> Date: Fri, 9 Dec 2022 11:02:23 -0800 Subject: [PATCH] set with_cas to false for single get (#310) --- aiomcache/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiomcache/client.py b/aiomcache/client.py index 21e83fa..d31232d 100644 --- a/aiomcache/client.py +++ b/aiomcache/client.py @@ -215,7 +215,7 @@ async def get( :param default: default value if there is no value. :return: ``bytes``, is the data for this specified key. """ - values, _ = await self._multi_get(conn, key) + values, _ = await self._multi_get(conn, key, with_cas=False) return values.get(key, default) @acquire