Scripts

SCRIPT EXISTS

Check if scripts exist in the script cache.

Arguments

hashesbodyList[str]required

The sha1 of the scripts to check.

Response

List[bool]required

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

Example
# Script 1 exists# Script 0 does notawait redis.scriptExists("<sha1>", "<sha2>") == [1, 0]
Loading search…