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