-
-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use a default (remote retrieving registry) when none is provided.
In other words when someone does *not* do Validator(..., registry=...) This both limits the case which we *do* still perform automatic remote ref retrieval (in a way that still preserves backwards compatibility given that the registry argument did not previously exist, so someone using it must be doing something new) as well as fixes an issue with creating a validator with a registry that has a retrieve function. Previously the latter raised a ValueError (coming from referencing which doesn't want you combining registries unless they agree about retrieval functions. See the added test(s) for details). Fixes the issue mentioned here: #1065 (comment) Refs: #1089
- Loading branch information
Showing
2 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters