Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 1428 fix #1435

Merged
merged 3 commits into from
Dec 2, 2020
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.
Jump to
Jump to file
Failed to load files.
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