From 7067b93278120552c17b43d833568872dbffeb0f Mon Sep 17 00:00:00 2001 From: roybabayov Date: Thu, 23 Sep 2021 14:58:54 +0300 Subject: [PATCH] IG-19406: fix kv_cursor raise_for_status (#62) --- v3io/aio/dataplane/kv_cursor.py | 2 +- v3io/dataplane/kv_cursor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v3io/aio/dataplane/kv_cursor.py b/v3io/aio/dataplane/kv_cursor.py index 28dc49c..7c35449 100644 --- a/v3io/aio/dataplane/kv_cursor.py +++ b/v3io/aio/dataplane/kv_cursor.py @@ -78,7 +78,7 @@ async def next_item(self): self.sort_key_range_end) # raise if there was an issue - self._current_response.raise_for_status() + self._current_response.raise_for_status(self.raise_for_status) # set items self._current_items = self._current_response.output.items diff --git a/v3io/dataplane/kv_cursor.py b/v3io/dataplane/kv_cursor.py index 92ad095..47159a7 100644 --- a/v3io/dataplane/kv_cursor.py +++ b/v3io/dataplane/kv_cursor.py @@ -81,7 +81,7 @@ def next_item(self): self.sort_key_range_end) # raise if there was an issue - self._current_response.raise_for_status() + self._current_response.raise_for_status(self.raise_for_status) # set items self._current_items = self._current_response.output.items