def __getitem__(self, node):
        if node in self:
            return self.edgeDictClass(self, self.pack_source(node))
        raise KeyError('node not in graph')
dataset/ETHPy150Open cjlee112/pygr/pygr/mapping.py/Graph.__getitem__/original