def METHOD_NAME(cls, source: Union[str, Path, IO]):
    "Parse from a path, url, path-like or file-like"
    with load_from_source(source) as (f, path):
        data = load_yaml_data(f)
        obj = cls.parse_obj(data, path)
        return getattr(obj, "__root__", obj)