Package redis :: Module client :: Class Script
[frames] | no frames]

Class Script

source code

object --+
         |
        Script

An executable LUA script object returned by ``register_script``

Instance Methods
 
__init__(self, registered_client, script)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__call__(self, keys=[], args=[], client=None)
Execute the script, passing any required ``args``
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, registered_client, script)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)