

@classmethod
def modify_fields_from_db(cls, db_obj):
    fields = super(AllowedAddressPair, fields).modify_fields_from_db(db_obj)
    if ('ip_address' in fields):
        fields['ip_address'] = netaddr.IPAddress(fields['ip_address'])
    if ('mac_address' in fields):
        fields['mac_address'] = netaddr.EUI(fields['mac_address'])
    return fields

dataset/ETHPy150Open openstack/neutron/neutron/objects/port/extensions/allowedaddresspairs.py AllowedAddressPair.modify_fields_from_db/VarMisuse@21/29 `cls`->`fields`