def __init__(self, name, host='127.0.0.1', port=27017):
        self.name = name
        self.host = host
        self.port = port
def reset_should_print_backtrace_to_terminal(cls, should_print_backtrace):
        """Set whether a backtrace gets printed to the terminal error stream on a fatal error.

        Class state:
        - Overwrites `cls._should_print_backtrace_to_terminal`.
        """
        cls._should_print_backtrace_to_terminal = should_print_backtrace