Skip to content

Commit 14543dd

Browse files
committed
Temporarily excluding next_batch_id from coverage
1 parent 09126fb commit 14543dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arango/cursor.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ def _update(self, data: Json) -> Json:
110110

111111
# New in 3.11
112112
if "nextBatchId" in data:
113-
self._next_batch_id = data["nextBatchId"]
114-
result["next_batch_id"] = data["nextBatchId"]
113+
# This is only available for server versions 3.11 and above.
114+
# Currently, we are testing against 3.10.9
115+
self._next_batch_id = data["nextBatchId"] # pragma: no cover
116+
result["next_batch_id"] = data["nextBatchId"] # pragma: no cover
115117

116118
self._has_more = bool(data["hasMore"])
117119
result["has_more"] = data["hasMore"]

0 commit comments

Comments
 (0)