def __getitem__(self, key):
        item = self.resolve(key)
        if isinstance(item, Undefined):
            raise KeyError(key)
        return item
Lookup a variable or raise `KeyError` if the variable is
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/jinja2-2.6/jinja2/runtime.py/Context.__getitem__