def get_node(self, k):
        try:
            db = self.nodeDB
        except AttributeError:
            return k
        else:
            try:
                return db[k]
            except __HOLE__:
                db[k] = Node(k)
                return db[k]
dataset/ETHPy150Open cjlee112/pygr/tests/graph_test.py/Query_Test.get_node