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
a3f98943
Commit
a3f98943
authored
Oct 27, 2022
by
Oleksandr Barabash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
link added
parent
b52ebde4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
card_helper.py
utils/card_helper.py
+15
-1
cosmos_client.py
utils/cosmos_client.py
+0
-1
No files found.
utils/card_helper.py
View file @
a3f98943
...
...
@@ -71,7 +71,21 @@ class CardHelper:
}
}}]
})
card_body
.
append
({
"type"
:
"Container"
,
"items"
:
[
{
"type"
:
"ActionSet"
,
"actions"
:
[
{
"type"
:
"Action.OpenUrl"
,
"title"
:
"Open in Browser"
,
"url"
:
url
}
]
}
]
})
# ======================= URL =========================================
if
acknowledge
is
not
None
and
acknowledge
and
acknowledged_by
is
None
:
card_body
.
append
({
...
...
utils/cosmos_client.py
View file @
a3f98943
...
...
@@ -317,7 +317,6 @@ class CosmosClient:
activity
=
turn_context
.
activity
reference
=
TurnContext
.
get_conversation_reference
(
activity
)
reference_json
=
ConversationReference
.
get_schema
()
.
dump
(
reference
)
# reference_dict = ConversationReferenceSchema().dump(reference)
container
=
await
self
.
get_conversations_container
()
reference_json
.
update
({
CosmosDBConfig
.
Conversations
.
PK
:
reference
.
conversation
.
id
...
...
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