sha1 = redis.script_load("return 1") assert redis.evalsha(sha1) == 1
Load the specified Lua script into the script cache.
Was this page helpful?