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
282a6b45
Commit
282a6b45
authored
Oct 25, 2022
by
Oleksandr Barabash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circular import fixed
parent
3d12574f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
cosmos_client.py
utils/cosmos_client.py
+2
-1
No files found.
utils/cosmos_client.py
View file @
282a6b45
...
...
@@ -12,7 +12,6 @@ from botbuilder.core import TurnContext
from
botbuilder.schema
import
ChannelAccount
from
marshmallow
import
EXCLUDE
from
config
import
AppConfig
from
entities.json.acknowledge
import
Acknowledge
from
entities.json.acknowledge_schema
import
AcknowledgeSchema
from
entities.json.camel_case_mixin
import
timestamp_factory
...
...
@@ -268,6 +267,8 @@ class CosmosClient:
async
def
create_acknowledge
(
self
,
notification_id
:
str
,
tenant_id
:
str
,
account
:
ChannelAccount
)
->
Dict
[
str
,
Any
]:
""" Add acknowledge to the DB """
from
config
import
AppConfig
container
=
await
self
.
get_acknowledges_container
()
notification
=
AcknowledgeSchema
()
.
dump
(
dict
(
notification_id
=
notification_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