class_docstr: Loads a template from a python dict.  It's passed a dict of unicode
  strings bound to template names.  This loader is useful for unittesting:
  
  >>> loader = DictLoader({'index.html': 'source here'})
  
  Because auto reloading is rarely useful this is disabled per default.
class_docstr_tok: ["Loads","a","template","from","a","python","dict",".","It","'s","passed","a","dict","of","unicode","strings","bound","to","template","names",".","This","loader","is","useful","for","unittesting",":",">",">",">","loader","=","DictLoader","(","{","'index.html","'",":","'source","here","'","}",")","Because","auto","reloading","is","rarely","useful","this","is","disabled","per","default","."]
code: def get_source(self, environment, template):
      if template in self.mapping:
          source = self.mapping[template]
          return (
              source,
              None,
              lambda: source == self.mapping.get(template),
          )
      raise TemplateNotFound(template)
  
imports: import os
  import sys
  import weakref
  from hashlib import sha1
  from os import path
  from types import ModuleType
  from ._compat import abc
  from ._compat import fspath
  from ._compat import iteritems
  from ._compat import string_types
  from .exceptions import TemplateNotFound
  from .utils import internalcode
  from .utils import open_if_exists
label_desc: Use image node_id 2 for calling the DictLoader obj's underlying member method code with example usage: obj.get_source(environment, template) and returns: source,  None,  function