Commit 282a6b45 by Oleksandr Barabash

circular import fixed

parent 3d12574f
...@@ -12,7 +12,6 @@ from botbuilder.core import TurnContext ...@@ -12,7 +12,6 @@ from botbuilder.core import TurnContext
from botbuilder.schema import ChannelAccount from botbuilder.schema import ChannelAccount
from marshmallow import EXCLUDE from marshmallow import EXCLUDE
from config import AppConfig
from entities.json.acknowledge import Acknowledge from entities.json.acknowledge import Acknowledge
from entities.json.acknowledge_schema import AcknowledgeSchema from entities.json.acknowledge_schema import AcknowledgeSchema
from entities.json.camel_case_mixin import timestamp_factory from entities.json.camel_case_mixin import timestamp_factory
...@@ -268,6 +267,8 @@ class CosmosClient: ...@@ -268,6 +267,8 @@ class CosmosClient:
async def create_acknowledge(self, notification_id: str, tenant_id: str, async def create_acknowledge(self, notification_id: str, tenant_id: str,
account: ChannelAccount) -> Dict[str, Any]: account: ChannelAccount) -> Dict[str, Any]:
""" Add acknowledge to the DB """ """ Add acknowledge to the DB """
from config import AppConfig
container = await self.get_acknowledges_container() container = await self.get_acknowledges_container()
notification = AcknowledgeSchema().dump(dict( notification = AcknowledgeSchema().dump(dict(
notification_id=notification_id, notification_id=notification_id,
......
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