def _string_to_record_type(string):
    string = string.upper()
    record_type = getattr(RecordType, string)
    return record_type
Return a string representation of a DNS record type to a
dataset/ETHPy150Open saltstack/salt/salt/modules/libcloud_dns.py/_string_to_record_type