def __getitem__(self, name):
if name in self.inner_dict.keys():<EOL><INDENT>return self.inner_dict[name]<EOL><DEDENT>elif name in self.lazyloadable_keys:<EOL><INDENT>val = self.loading_method(name)<EOL>self.inner_dict[name] = val<EOL>return val<EOL><DEDENT>else:<EOL><INDENT>raise KeyError(name)<EOL><DEDENT>
Implementation of the "lazyness" / cache mechanism
:param name:
:return: