def process(self, rev_id, dependents):
        if rev_id == 0:
            return None

        rvprop = set(REV_PROPS)

        if self.revision.text in dependents:
            rvprop.add('content')

        rev_doc_map = self.extractor.get_rev_doc_map([rev_id], rvprop=rvprop)

        if rev_id not in rev_doc_map:
            raise RevisionNotFound(self.revision, rev_id=rev_id)
        else:
            return rev_doc_map[rev_id]
dataset/ETHPy150Open wiki-ai/revscoring/revscoring/extractors/api/datasources.py/RevDocById.process/original