src/pybel_tools/dict_manager.py
def insert_graph(self, graph: BELGraph, **_kwargs) -> Network:
        """Insert a graph and return the resulting ORM object (mocked)."""
        result = _Namespace()
        result.id = len(self.networks)

        self.networks[result.id] = graph

        return result
def insert_graph(self, graph: BELGraph, **_kwargs) -> Network:
        """Insert a graph and return the resulting ORM object (mocked)."""
        result = _Namespace()
        result.id = len(self.networks)

        self.networks[result.id] = graph

        return result
def insert_graph ( self , graph : BELGraph , * * _kwargs ) -> Network : result = _Namespace ( ) result . id = len ( self . networks ) self . networks [ result . id ] = graph return result
Insert a graph and return the resulting ORM object (mocked).
Insert a graph and return the resulting ORM object ( mocked ) .