def __init__(self, **options):
        """
        :param options: The template options that are passed to the
        template lookup class.
        """
        environment = options.pop(
            'environment', 'mako.lookup.TemplateLookup')
        # Just to get a dotted module path as an/a attribute/class
        Environment = import_string(environment)
        self.context_processors = options.pop('context_processors', [])
        self.lookup = Environment(**options)
def __init__ ( self , ** options ) : environment = options . pop ( 'environment' , 'mako.lookup.TemplateLookup' ) Environment = import_string ( environment ) self . context_processors = options . pop ( 'context_processors' , [ ] ) self . lookup = Environment ( ** options )
:param options: The template options that are passed to the
        template lookup class.