Path 1: 112 calls (1.0)

DispatchingJinjaLoader (112)

1def create_global_jinja_loader(self) -> DispatchingJinjaLoader:
2        """Creates the loader for the Jinja2 environment.  Can be used to
3        override just the loader and keeping the rest unchanged.  It's
4        discouraged to override this function.  Instead one should override
5        the :meth:`jinja_loader` function instead.
6
7        The global loader dispatches between the loaders of the application
8        and the individual blueprints.
9
10        .. versionadded:: 0.7
11        """
12        return DispatchingJinjaLoader(self)