src/pybel/struct/graph.py
def child(self) -> 'BELGraph':
        """Create an empty graph with a "parent" reference back to this one."""
        rv = BELGraph()
        rv.parent = self
        update_metadata(source=self, target=rv)
        return rv
Create an empty graph with a "parent" reference back to this one.
Create an empty graph with a "parent" reference back to this one.
Create an empty graph with a " parent " reference back to this one .
def child(self) -> 'BELGraph':
        rv = BELGraph()
        rv.parent = self
        update_metadata(source=self, target=rv)
        return rv
def child ( self ) -> 'BELGraph' : rv = BELGraph ( ) rv . parent = self update_metadata ( source = self , target = rv ) return rv
Create an empty graph with a "parent" reference back to this one.
Create an empty graph with a " parent " reference back to this one .
"""Create an empty graph with a "parent" reference back to this one."""
self