# Script 1 exists
# Script 0 does not
await redis.scriptExists("<sha1>", "<sha2>") == [1, 0]

Arguments

hashes
List[str]
required

The sha1 of the scripts to check.

Response

A list of booleans indicating if the script exists in the script cache.

# Script 1 exists
# Script 0 does not
await redis.scriptExists("<sha1>", "<sha2>") == [1, 0]