src/pybel/manager/query_manager.py
def query_induction(self, nodes: List[Node]) -> List[Edge]:
        """Get all edges between any of the given nodes (minimum length of 2)."""
        if len(nodes) < 2:
            raise ValueError('not enough nodes given to induce over')

        return self.session.query(Edge).filter(self._edge_both_nodes(nodes)).all()
Get all edges between any of the given nodes (minimum length of 2).
Get all edges between any of the given nodes (minimum length of 2).
Get all edges between any of the given nodes ( minimum length of 2 ) .
def query_induction(self, nodes: List[Node]) -> List[Edge]:
        if len(nodes) < 2:
            raise ValueError('not enough nodes given to induce over')
        return self.session.query(Edge).filter(self._edge_both_nodes(nodes)).all()
def query_induction ( self , nodes : List [ Node ] ) -> List [ Edge ] : if len ( nodes ) < 2 : raise ValueError ( 'not enough nodes given to induce over' ) return self . session . query ( Edge ) . filter ( self . _edge_both_nodes ( nodes ) ) . all ( )
Get all edges between any of the given nodes (minimum length of 2).
Get all edges between any of the given nodes ( minimum length of 2 ) .
"""Get all edges between any of the given nodes (minimum length of 2)."""
self
nodes
List[Node]