Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down