def METHOD_NAME(self, target: Class, attr: Attr):
    if self.is_valid_external_value(target, attr):
        return
    if self.is_valid_native_value(target, attr):
        return
    logger.warning(
        "Failed to match %s.%s default value `%s` to one of %s",
        target.name,
        attr.local_name,
        attr.default,
        [tp.qname for tp in attr.types],
    )
    self.reset_attribute_types(attr)