Julian Berman
Julian Berman
This should only be happening if you have schemas where all the branches are equally wrong (or equally right). I'd need to see a specific example to see whether it's...
Hooray :) glad to hear, thanks for following up.
@handrews have been meaning to respond in some more detail but haven't had the moment to sit down and do it, so might as well throw a short response up...
Hi. For that schema design, this is essentially what [`best_match`](https://python-jsonschema.readthedocs.io/en/stable/errors/#jsonschema.exceptions.best_match) is for.
Please don't say things "don't work" in the context of an issue tracker. This is the case even if in fact things *don't* work (i.e. where there's an obvious bug),...
I haven't gotten a chance to have a look at your last message, but in that new example it seems more likely there's something we *may* be able to improve...
@bliiben I've definitely had that thought before (and forget what conclusion I came to) -- but let's take that to another issue (around whether best_match should prefer the same type...
@willson-chen let's focus on the PRs you sent already -- if we can get them to completion definitely seems like we can figure this one out.
Probably at this point safe to define a `ValidationWarning`, but otherwise yes looks reasonable -- we should elaborate on the message there and link to the specification/information on what $schema...
Only draft7 even allowed these to be treated as assertions it seems, so I think this can be WONTFIXed. If someone ever decides to create a parallel assertion vocabulary for...