def _getitem(self, key, additional_parameters=None):
    if (key not in self.cache):
        opts = dict(get_val(self.objects_config, key, self.name))
        if ('class_name' not in opts):
            opts['class_name'] = self.default_class_dict[key]
        self.cache[key] = utils.construct_from_kwargs(opts, self.default_modules_dict.get(key), additional_parameters)
    return self.cache[key]
def _getitem(self, key, additional_parameters=None):
    if (key not in self.cache):
        opts = dict(get_val(self.objects_config, key, self.name))
        if ('class_name' not in opts):
            opts['class_name'] = self.default_class_dict[key]
        self.cache[key] = utils.construct_from_kwargs(opts, self.default_modules_dict.get(key), additional_parameters)
    return self.cache[key]