def _jinja_env():
 loader = jinja2.PackageLoader('cubes', 'templates')
 env = jinja2.Environment(loader=loader)
 return env

def _jinja_env ( ) : loader = jinja2 . PackageLoader ( 'cubes' , 'templates' ) env = jinja2 . Environment ( loader = loader ) return env
create and return cubes jinja2 environment .