

def resolve_ref(spec, url):
    with spec.resolver.resolving(url):
        (abs_path, spec_dict) = spec.resolver.resolve(url)
        spec_dict = copy.deepcopy(spec_dict)
        return resolve_refs(spec, spec_dict)

dataset/ETHPy150Open striglia/pyramid_swagger/pyramid_swagger/api.py resolve_ref/original