def METHOD_NAME(timeout: int or float) -> None:
    """
    Set the global timeout setting to connect.
    Parameters
    ----------
    timeout: int or float
        default socket timeout time (in seconds)
    """
    global _default_timeout
    _default_timeout = timeout