8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e4332 commit 74ec755Copy full SHA for 74ec755
libraries/botbuilder-azure/botbuilder/azure/cosmosdb_storage.py
@@ -7,6 +7,7 @@
7
7< 976D /code>
from typing import Dict, List
8
from threading import Semaphore
9
import json
10
+import warnings
11
from jsonpickle.pickler import Pickler
12
from jsonpickle.unpickler import Unpickler
13
import azure.cosmos.cosmos_client as cosmos_client # pylint: disable=no-name-in-module,import-error
@@ -107,6 +108,9 @@ def __init__(
107
108
:param config:
109
"""
110
super(CosmosDbStorage, self).__init__()
111
+ warnings.warn(
112
+ "CosmosDbStorage is obsolete. Use CosmosDbPartitionedStorage instead."
113
+ )
114
self.config = config
115
self.client = client or cosmos_client.CosmosClient(
116
self.config.endpoint, {"masterKey": self.config.masterkey}
0 commit comments