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