<commit_before>from redis.connection import ConnectionPool, UnixDomainSocketConnection
try:
    from redis.connection import SSLConnection
except ImportError:
    SSLConnection is None

from threading import Lock

from rb.router import PartitionRouter
from rb.clients import RoutingClient, LocalClient


class HostInfo(object):

    def __init__(self, host_id, host, port, unix_socket_path=None, db=0,
                 password=<PASSWORD>, ssl=False, ssl_options=None):<commit_msg>Fix NameError when SSLConnection doesn't exist<commit_after>from redis.connection import ConnectionPool, UnixDomainSocketConnection
try:
    from redis.connection import SSLConnection
except ImportError:
    SSLConnection = None

from threading import Lock

from rb.router import PartitionRouter
from rb.clients import RoutingClient, LocalClient


class HostInfo(object):

    def __init__(self, host_id, host, port, unix_socket_path=None, db=0,
                 password=<PASSWORD>, ssl=False, ssl_options=None):
{'fraction_non_alphanumeric': 0.06639839034205232, 'fraction_numerical': 0.002012072434607646, 'mean_word_length': 5.21875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2522159', 'n_tokens_mistral': 280, 'n_tokens_neox': 272, 'n_words': 83}