def METHOD_NAME(base: PurePath):
    def __wrapped(href: str, parse, encoding=None):
        abshref = base / href
        return ElementInclude.default_loader(str(abshref), parse, encoding)
    return __wrapped