Get the server-computed XXH3 hex digest for the key's value. Requires the DIGEST command implemented on the server.
(self, r, key)
| 1852 | return x.decode("ascii") if isinstance(x, (bytes, bytearray)) else x |
| 1853 | |
| 1854 | def _server_xxh3_digest(self, r, key): |
| 1855 | """ |
| 1856 | Get the server-computed XXH3 hex digest for the key's value. |
| 1857 | Requires the DIGEST command implemented on the server. |
| 1858 | """ |
| 1859 | d = r.execute_command("DIGEST", key) |
| 1860 | return None if d is None else self._ensure_str(d).lower() |
| 1861 | |
| 1862 | @skip_if_server_version_lt("8.3.224") |
| 1863 | def test_delex_nonexistent(self, r): |
no test coverage detected