From 8cda92fa548a28e5b8631e70b19fec61b90175dc Mon Sep 17 00:00:00 2001 From: Nigel Small Date: Tue, 4 May 2021 23:25:51 +0100 Subject: [PATCH] Bug fix in cursor preview --- py2neo/client/bolt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py2neo/client/bolt.py b/py2neo/client/bolt.py index 8488ea74..362bbf53 100644 --- a/py2neo/client/bolt.py +++ b/py2neo/client/bolt.py @@ -1188,7 +1188,7 @@ def peek(self, limit): i = self._last_taken while i < self._items_len: response = self._items[i] - records.extend(response.peek(limit - len(records))) + records.extend(response.peek_records(limit - len(records))) if len(records) == limit: break i += 1