From 9304e9fc91d914dab0f80de937d9e988a8c32a64 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 7 Mar 2023 13:32:53 -0500 Subject: [PATCH] remove resolver ref --- asdf/schema.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/asdf/schema.py b/asdf/schema.py index f1d960164..ff056c1f8 100644 --- a/asdf/schema.py +++ b/asdf/schema.py @@ -534,8 +534,9 @@ def get_validator( A dictionary mapping properties to validators to use (instead of the built-in ones and ones provided by extension types). - url_mapping : resolver.Resolver, optional - A resolver to convert remote URLs into local ones. + url_mapping : callable, optional + A callable that takes one string argument and returns a string + to convert remote URLs into local ones. _visit_repeat_nodes : bool, optional Force the validator to visit nodes that it has already