def add_to_sources(self, action, doc_source):
mapping = self.sources.setdefault(action["<STR_LIT>"], {}).setdefault(<EOL>action["<STR_LIT>"], {}<EOL>)<EOL>mapping[action["<STR_LIT>"]] = doc_source<EOL>
Store sources locally