File tree 2 files changed +6
-2
lines changed
sdk/cosmos/azure-cosmos/azure/cosmos 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,9 @@ def create_database_if_not_exists( # pylint: disable=redefined-builtin
257
257
"""
258
258
Create the database if it does not exist already.
259
259
260
- If the database already exists, it is returned.
260
+ If the database already exists, the existing settings are returned.
261
+ Note: it does not check or update the existing database settings or offer throughput
262
+ if they differ from what was passed into the method.
261
263
262
264
:param id: ID (name) of the database to read or create.
263
265
:param str session_token: Token for use with Session consistency.
Original file line number Diff line number Diff line change @@ -239,7 +239,9 @@ def create_container_if_not_exists(
239
239
"""
240
240
Create the container if it does not exist already.
241
241
242
- If the container already exists, it is returned.
242
+ If the container already exists, the existing settings are returned.
243
+ Note: it does not check or update the existing container settings or offer throughput
244
+ if they differ from what was passed into the method.
243
245
244
246
:param id: ID (name) of container to read or create.
245
247
:param partition_key: The partition key to use for the container.
You can’t perform that action at this time.
0 commit comments