Skip to content

Commit

Permalink
set with_cas to false for single get (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayzfbn authored Dec 9, 2022
1 parent 11c0739 commit ce6c43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiomcache/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce6c43f

Please sign in to comment.