Arguments
List[str]
required
The sha1 of the scripts to check.
Response
A list of booleans indicating if the script exists in the script cache.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
# Script 1 exists
# Script 0 does not
await redis.scriptExists("<sha1>", "<sha2>") == [1, 0]
Check if scripts exist in the script cache.
# Script 1 exists
# Script 0 does not
await redis.scriptExists("<sha1>", "<sha2>") == [1, 0]
Was this page helpful?