def __init__(self,<EOL>host=None,<EOL>port=<NUM_LIT>,<EOL>socket_file='<STR_LIT>',<EOL>user=None,<EOL>timeout=None,<EOL>wait_tries=<NUM_LIT>,<EOL>max_tries=<NUM_LIT:5>,<EOL>backend="<STR_LIT>",<EOL>gzip=None,<EOL>compress_level=<NUM_LIT:6>,<EOL>is_ssl=None,<EOL>**ssl_args):
self.host = host<EOL>self.port = port<EOL>self.socket_file = socket_file<EOL>self.user = user<EOL>if isinstance(backend, str):<EOL><INDENT>self.backend_mod = load_backend(backend)<EOL><DEDENT>else:<EOL><INDENT>self.backend_mod = backend<EOL><DEDENT>self.max_tries = max_tries<EOL>self.wait_tries = wait_tries<EOL>self.timeout = timeout<EOL>self.gzip = gzip<EOL>self.compress_level = compress_level<EOL>self.is_ssl = is_ssl<EOL>self.ssl_args = ssl_args or {}<EOL>
Init