src/pybel/struct/graph.py
def _help_add_edge(self, source: BaseEntity, target: BaseEntity, attr: Mapping) -> str:
        """Help add a pre-built edge."""
        self.add_node_from_data(source)
        self.add_node_from_data(target)
        return self._help_add_edge_helper(source=source, target=target, attr=attr)
Help add a pre-built edge.
Help add a pre-built edge.
Help add a pre - built edge .
def _help_add_edge(self, source: BaseEntity, target: BaseEntity, attr: Mapping) -> str:
        self.add_node_from_data(source)
        self.add_node_from_data(target)
        return self._help_add_edge_helper(source=source, target=target, attr=attr)
def _help_add_edge ( self , source : BaseEntity , target : BaseEntity , attr : Mapping ) -> str : self . add_node_from_data ( source ) self . add_node_from_data ( target ) return self . _help_add_edge_helper ( source = source , target = target , attr = attr )
Help add a pre-built edge.
Help add a pre - built edge .
"""Help add a pre-built edge."""
self
source
BaseEntity
target
BaseEntity
attr
Mapping