def _refresh(self): ctxt = context.get_admin_context() rtf_obj = db_api.raw_template_files_get(ctxt, self.files_id) _files_dict = ReadOnlyDict(rtf_obj.files) self.files = _files_dict _d[self.files_id] = _files_dict