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
e54c6a24
Commit
e54c6a24
authored
Dec 06, 2022
by
Oleksandr Barabash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pager_next record added to the log
parent
b9c914b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
messaging_extension_action_preview_bot.py
bots/messaging_extension_action_preview_bot.py
+0
-1
cosmos_client.py
utils/cosmos_client.py
+4
-1
No files found.
bots/messaging_extension_action_preview_bot.py
View file @
e54c6a24
...
...
@@ -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
,
...
...
utils/cosmos_client.py
View file @
e54c6a24
...
...
@@ -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"
)
...
...
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