code: def getaddrinfo_wrapper(host, port, family=socket.AF_INET, socktype=0, proto=0, flags=0):
      
      return orig_getaddrinfo(host, port, family, socktype, proto, flags)
docs: Patched 'getaddrinfo' with default family IPv4 (enabled by settings IPV4_ONLY=True)