def load(self, data):
        assert not self.loaded
        try:
            entities = self.transaction.entities.popleft()
        except (__HOLE__, IndexError):
            entities = {}
        self._keys = keys = tuple(data["columns"])
        hydrate = self.graph._hydrate
        for record in data["data"]:
            values = []
            for i, value in enumerate(record["rest"]):
                key = keys[i]
                cached = entities.get(key)
                values.append(hydrate(value, inst=cached))
            self.buffer.append(Record(keys, values))
        self.loaded = True
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/database/__init__.py/HTTPDataSource.load