Commit b9c914b6 by Oleksandr Barabash

current page items temporarily commented

parent f21dbf76
...@@ -138,9 +138,9 @@ class CosmosClient: ...@@ -138,9 +138,9 @@ class CosmosClient:
Log.d(TAG, "get_initiation_items:: getting pager") Log.d(TAG, "get_initiation_items:: getting pager")
pager = query_iterable.by_page(token) pager = query_iterable.by_page(token)
Log.d(TAG, "get_initiation_items:: getting page items") Log.d(TAG, "get_initiation_items:: getting page items")
current_page = list(pager.next())[0] # current_page = list(pager.next())[0] # WTF is this shit?
Log.d(TAG, "get_initiation_items:: appending items") Log.d(TAG, "get_initiation_items:: appending items")
items.append(current_page) # items.append(current_page)
Log.d(TAG, "get_initiation_items:: returning Initiations") Log.d(TAG, "get_initiation_items:: returning Initiations")
return ( return (
Initiation.get_schema(unknown=EXCLUDE).load(items, many=True), Initiation.get_schema(unknown=EXCLUDE).load(items, many=True),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment