@staticmethod
    def __get_env_for_template_libraries__(*libraries):
        child_loaders = [
            jinja2.PackageLoader(_PACKAGE_PATH, l) for l in libraries]
        loaders = child_loaders + \
            [jinja2.PackageLoader(_PACKAGE_PATH, 'cpp/cbase_templates')]

        # StrictUndefined makes uses of the result of render() fail when
        # a template variable is undefined, which is most useful for debugging
        return jinja2.Environment(
            undefined=jinja2.StrictUndefined,
            loader=jinja2.ChoiceLoader(loaders))
create a Jinja2 Environment with loaders for provided
dataset/ETHPy150Open uwescience/raco/raco/backends/cpp/cppcommon.py/CBaseLanguage.__get_env_for_template_libraries__