def METHOD_NAME(uri):
    warnings.warn(
        "The 'default_resolver(...)' function is deprecated. Use 'asdf.extension.get_default_resolver()(...)' instead.",
        AsdfDeprecationWarning,
    )
    return METHOD_NAME._resolver(uri)