diff --git a/asdf/schema.py b/asdf/schema.py index 21f7c1b6f..27f5f611f 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