From e47b928b4b050cce09612db961d3358be9ea71f5 Mon Sep 17 00:00:00 2001 From: Emily Olshefski Date: Tue, 1 Dec 2020 17:44:31 -0800 Subject: [PATCH 1/2] Update cosmosdb_partitioned_storage.py --- .../botbuilder/azure/cosmosdb_partitioned_storage.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_partitioned_storage.py b/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_partitioned_storage.py index 93657bbed..db5ae1685 100644 --- a/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_partitioned_storage.py +++ b/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_partitioned_storage.py @@ -1,7 +1,4 @@ -"""CosmosDB Middleware for Python Bot Framework. - -This is middleware to store items in CosmosDB. -Part of the Azure Bot Framework in Python. +"""Implements a CosmosDB based storage provider using partitioning for a bot. """ # Copyright (c) Microsoft Corporation. All rights reserved. @@ -67,7 +64,7 @@ def __init__( class CosmosDbPartitionedStorage(Storage): - """The class for partitioned CosmosDB middleware for the Azure Bot Framework.""" + """A CosmosDB based storage provider using partitioning for a bot.""" def __init__(self, config: CosmosDbPartitionedConfig): """Create the storage object. From 122c96d16201c293a0986ece693eb3f19007b124 Mon Sep 17 00:00:00 2001 From: Emily Olshefski Date: Tue, 1 Dec 2020 17:49:13 -0800 Subject: [PATCH 2/2] Update cosmosdb_storage.py --- .../botbuilder-azure/botbuilder/azure/cosmosdb_storage.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py b/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py index a5d01eea5..9a1c89d2e 100644 --- a/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py +++ b/libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py @@ -1,7 +1,4 @@ -"""CosmosDB Middleware for Python Bot Framework. - -This is middleware to store items in CosmosDB. -Part of the Azure Bot Framework in Python. +"""Implements a CosmosDB based storage provider. """ # Copyright (c) Microsoft Corporation. All rights reserved. @@ -100,7 +97,7 @@ def truncate_key(key: str, compatibility_mode: bool = True) -> str: class CosmosDbStorage(Storage): - """The class for CosmosDB middleware for the Azure Bot Framework.""" + """A CosmosDB based storage provider for a bot.""" def __init__( self, config: CosmosDbConfig, client: cosmos_client.CosmosClient = None