

def factory(*args_, **kwargs_):
    if DNSQueryObjectType.subclass:
        return DNSQueryObjectType.subclass(*args_, **kwargs_)
    else:
        return DNSQueryObjectType(*args_, **kwargs_)

dataset/ETHPy150Open CybOXProject/python-cybox/cybox/bindings/dns_query_object.py DNSQueryObjectType.factory/original