Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cake-bot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleksandr Barabash
cake-bot
Commits
1b80a6c1
Commit
1b80a6c1
authored
Dec 06, 2022
by
Oleksandr Barabash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_next_page renamed to get_next_page_bl
parent
75584bf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cosmos_client.py
utils/cosmos_client.py
+3
-2
No files found.
utils/cosmos_client.py
View file @
1b80a6c1
...
...
@@ -115,7 +115,8 @@ class CosmosClient:
return
await
self
.
execute_blocking
(
bl
)
def
get_next_page_bl
(
self
,
pager
):
@staticmethod
def
get_next_page_bl
(
pager
):
""" Get Next page items Blocking """
try
:
# todo(s1z): why do we get [0], as MS does? This is bad!!!
...
...
@@ -145,7 +146,7 @@ class CosmosClient:
max_item_count
=
1
)
pager
=
query_iterable
.
by_page
(
token
)
items
=
self
.
get_next_page
(
pager
)
items
=
self
.
get_next_page
_bl
(
pager
)
continuation_token
=
pager
.
continuation_token
return
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment