def __init__(self, host=None, port=None, db=None, password=None, <EOL>socket_timeout=None, unix_socket_path=None):
params = locals()<EOL>self._conn = None<EOL>self._connParams = dict((k, params[k]) <EOL>for k in ('<STR_LIT:host>', '<STR_LIT:port>', '<STR_LIT>', '<STR_LIT:password>', <EOL>'<STR_LIT>', '<STR_LIT>')<EOL>if params[k] is not None)<EOL>self._conn = redis.Redis(**self._connParams)<EOL>
Initialize connection to Redis.

        @param host:             Redis Host.  (Default: localhost)
        @param port:             Redis Port.  (Default: Default Redis Port)
        @param db:               Redis DB ID. (Default: 0)
        @param password:         Redis Password (Optional)
        @param socket_timeout:   Redis Socket Timeout (Default: OS Default.)
        @param unix_socket_path: Socket File Path for UNIX Socket connections.
                                 (Not required unless connection to Redis is 
                                 through named socket.)