def query_edges_by_pubmed_identifiers(self, pubmed_identifiers: List[str]) -> List[Edge]:
        """Get all edges annotated to the documents identified by the given PubMed identifiers."""
        fi = and_(Citation.type == CITATION_TYPE_PUBMED, Citation.reference.in_(pubmed_identifiers))
        return self.session.query(Edge).join(Evidence).join(Citation).filter(fi).all()
def query_edges_by_pubmed_identifiers ( self , pubmed_identifiers : List [ str ] ) -> List [ Edge ] : fi = and_ ( Citation . type == CITATION_TYPE_PUBMED , Citation . reference . in_ ( pubmed_identifiers ) ) return self . session . query ( Edge ) . join ( Evidence ) . join ( Citation ) . filter ( fi ) . all ( )
Get all edges annotated to the documents identified by the given PubMed identifiers.