8000 Issue 1428 fix (#1435) · nickg33/botbuilder-python@3c78b2b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c78b2b

Browse files
author
Emily Olshefski
authored
Issue 1428 fix (microsoft#1435)
* Update cosmosdb_partitioned_storage.py * Update cosmosdb_storage.py
1 parent bfc4860 commit 3c78b2b

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

libraries/botbuilder-azure/botbuilder/azure/cosmosdb_partitioned_storage.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
"""CosmosDB Middleware for Python Bot Framework.
2-
3-
This is middleware to store items in CosmosDB.
4-
Part of the Azure Bot Framework in Python.
1+
"""Implements a CosmosDB based storage provider using partitioning for a bot.
52
"""
63

74
# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -67,7 +64,7 @@ def __init__(
6764

6865

6966
class CosmosDbPartitionedStorage(Storage):
70-
"""The class for partitioned CosmosDB middleware for the Azure Bot Framework."""
67+
"""A CosmosDB based storage provider using partitioning for a bot."""
7168

7269
def __init__(self, config: CosmosDbPartitionedConfig):
7370
"""Create the storage object.

libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
"""CosmosDB Middleware for Python Bot Framework.
2-
3-
This is middleware to store items in CosmosDB.
4-
Part of the Azure Bot Framework in Python.
1+
"""Implements a CosmosDB based storage provider.
52
"""
63

74
# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -100,7 +97,7 @@ def truncate_key(key: str, compatibility_mode: bool = True) -> str:
10097

10198

10299
class CosmosDbStorage(Storage):
103-
"""The class for CosmosDB middleware for the Azure Bot Framework."""
100+
"""A CosmosDB based storage provider for a bot."""
104101

105102
def __init__(
106103
self, config: CosmosDbConfig, client: cosmos_client.CosmosClient = None

0 commit comments

Comments
 (0)
0