def getNumDirEdges(self):
        return self.W.nnz
Need to Detect if self.long_slug and self.mpath has changed.
dataset/ETHPy150Open charanpald/APGL/apgl/graph/PySparseGraph.py/PySparseGraph.getNumDirEdges--crossover with--dataset/ETHPy150Open rochacbruno/quokka/quokka/core/models/channel.py/Channel.update_descendants_and_contents