def _get_template(self):
        """Returns a template for this report.

        :rtype: `jinja2.Template`

        """
        loader = PackageLoader(self._package_name, 'assets/templates')
        env = Environment(extensions=['jinja2.ext.with_'], loader=loader)
        return env.get_template('{}.html'.format(self._report_name))
def _get_template ( self ) : loader = PackageLoader ( self . _package_name , 'assets/templates' ) env = Environment ( extensions = [ 'jinja2.ext.with_' ] , loader = loader ) return env . get_template ( '{}.html' . format ( self . _report_name ) )
Returns a template for this report.

        :rtype: `jinja2.Template`