You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be caused by a bug in jsonschema related to resolving JSON pointers with empty strings.
Using jsonschema 4.18.4 and referencing 0.30.0:
fromjsonschema.validatorsimportRefResolverdoc= {"": 0}
resolver=RefResolver("urn:foo", doc)
withresolver.resolving("#/") asresolved:
# resolves to {"": 0}, but should resolve to 0# as per https://datatracker.ietf.org/doc/html/rfc6901#section-6print(resolved)
The new referencing library that replaces the RefResolver works correctly however:
I'm trying to merge the following two files:
using the default strategy but am getting
The text was updated successfully, but these errors were encountered: