

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

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