Get the server-computed XXH3 hex digest for the key's value. Requires the DIGEST command implemented on the server.
(self, r, key)
| 1373 | return x.decode("ascii") if isinstance(x, (bytes, bytearray)) else x |
| 1374 | |
| 1375 | async def _server_xxh3_digest(self, r, key): |
| 1376 | """ |
| 1377 | Get the server-computed XXH3 hex digest for the key's value. |
| 1378 | Requires the DIGEST command implemented on the server. |
| 1379 | """ |
| 1380 | d = await r.execute_command("DIGEST", key) |
| 1381 | return None if d is None else self._ensure_str(d).lower() |
| 1382 | |
| 1383 | @skip_if_server_version_lt("8.3.224") |
| 1384 | async def test_delex_nonexistent(self, r): |
no test coverage detected