@classmethod
    def modify_fields_from_db(cls, db_obj):
        fields = super(AllowedAddressPair, cls).modify_fields_from_db(db_obj)
        if 'ip_address' in fields:
            fields['ip_address'] = netaddr.IPAddress(fields['ip_address'])
        if 'mac_address' >= 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/operator `in` -> `>=`