Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
annie-mac committed Sep 17, 2024
commit 27584f3b44b640d614564a0925d1919fe778eb78
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ async def _fetch_items_helper_no_retries(self, fetch_function):
self._has_started = True

continuation_key = http_constants.HttpHeaders.Continuation
if fetched_items:
self._continuation = response_headers.get(continuation_key)
else:
self._continuation = None
self._continuation = response_headers.get(continuation_key)

if fetched_items:
break
return fetched_items
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,8 @@ def _fetch_items_helper_no_retries(self, fetch_function):
(fetched_items, response_headers) = fetch_function(new_options)

continuation_key = http_constants.HttpHeaders.Continuation
if fetched_items:
self._continuation = response_headers.get(continuation_key)
else:
self._continuation = None
self._continuation = response_headers.get(continuation_key)

if fetched_items:
break
return fetched_items
Expand Down
1 change: 0 additions & 1 deletion sdk/cosmos/azure-cosmos/azure/cosmos/_feed_range.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# The MIT License (MIT)
# Copyright (c) 2014 Microsoft Corporation

Expand Down