'Process/Formats the value before insert it into the db.'

def process_bind_param(self, value, dialect):

    if netutils.is_valid_ipv6_cidr(value):
        return utils.get_shortened_ipv6_cidr(value)
    return value
