Skip to content

Commit

Permalink
remove default_ext_resolver re-added during rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jul 6, 2023
1 parent 998db11 commit 1f4e24e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions asdf/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@ def initialize_errors(self, instance, schema):
_ERROR_CACHE = _ErrorCacheLocal()


def default_ext_resolver(uri):
"""
Resolver that uses tag/url mappings from all installed extensions
"""
# Deprecating this because it doesn't play nicely with the caching on
# load_schema(...).
warnings.warn(
"The 'default_ext_resolver(...)' function is deprecated. Use "
"'asdf.extension.get_default_resolver()(...)' instead.",
AsdfDeprecationWarning,
)
return extension.get_default_resolver()(uri)


PYTHON_TYPE_TO_YAML_TAG = {
None: "null",
str: "str",
Expand Down Expand Up @@ -812,7 +798,7 @@ def validate(instance, ctx=None, schema=None, validators=None, reading=False, *a
tag on the instance.
The additional ``*args`` and ``**kwargs`` are passed along to
`~jsonschema.Validator.validate`.
the Validator.
Parameters
----------
Expand Down

0 comments on commit 1f4e24e

Please sign in to comment.