Arguments
str
required
The script to load.
Response
The sha1 of the script.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
sha1 = redis.script_load("return 1")
assert redis.evalsha(sha1) == 1
Load the specified Lua script into the script cache.
sha1 = redis.script_load("return 1")
assert redis.evalsha(sha1) == 1
Was this page helpful?