Commit e54c6a24 by Oleksandr Barabash

pager_next record added to the log

parent b9c914b6
......@@ -227,7 +227,6 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
return
if message == cmd_portal.lower():
card = CardHelper.load_portal_card(turn_context)
card = CardHelper.load_assets_card("default_card")
attachments = [CardFactory.adaptive_card(card)]
message = Activity(type=ActivityTypes.message,
......
......@@ -138,7 +138,10 @@ class CosmosClient:
Log.d(TAG, "get_initiation_items:: getting pager")
pager = query_iterable.by_page(token)
Log.d(TAG, "get_initiation_items:: getting page items")
# current_page = list(pager.next())[0] # WTF is this shit?
# current_page = list(pager.next())[0]
pager_next = pager.next()
Log.d(TAG, "get_initiation_items:: pager_next: "
"{}".format(pager_next))
Log.d(TAG, "get_initiation_items:: appending items")
# items.append(current_page)
Log.d(TAG, "get_initiation_items:: returning Initiations")
......
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