class ThreadPoolConfig(object):
    def __init__(self, key, host, port, database, username, password, min_connections=1, max_connections=10):
        # type: (str, str, int, str, str, str, int, int) -> None
        self.key = key
        self.host = host
        self.port = port
        self.database = database
        self.username = username
        self.password = password
        self.min_connections = min_connections
        self.max_connections = max_connections
