From cbc9e8dd9b7ac840090b2076527d6b7123335fbe Mon Sep 17 00:00:00 2001 From: Hashim Khan <64767361+Hashim1999164@users.noreply.github.com> Date: Thu, 13 Aug 2026 05:07:02 +0500 Subject: [PATCH 1/2] Fix stray brackets in redistribute-partition-throughput help examples --- src/cosmosdb-preview/azext_cosmosdb_preview/_help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cosmosdb-preview/azext_cosmosdb_preview/_help.py b/src/cosmosdb-preview/azext_cosmosdb_preview/_help.py index b11a87d8759..13a660f3b50 100644 --- a/src/cosmosdb-preview/azext_cosmosdb_preview/_help.py +++ b/src/cosmosdb-preview/azext_cosmosdb_preview/_help.py @@ -965,7 +965,7 @@ az cosmosdb sql container redistribute-partition-throughput --account-name account_name --database-name db_name --name container_name --resource-group rg_name --evenly-distribute - name: Redistributes the partition throughput for a sql container from source partitions to target partitions text: |- - az cosmosdb sql container redistribute-partition-throughput --account-name account_name --database-name db_name --name container_name --resource-group rg_name --target-partition-info 8=1200 6=1200]' --source-partition-info 9]' + az cosmosdb sql container redistribute-partition-throughput --account-name account_name --database-name db_name --name container_name --resource-group rg_name --target-partition-info 8=1200 6=1200 --source-partition-info 9 """ helps['cosmosdb mongodb collection retrieve-partition-throughput'] = """ @@ -989,7 +989,7 @@ az cosmosdb mongodb collection redistribute-partition-throughput --account-name account_name --database-name db_name --name container_name --resource-group rg_name --evenly-distribute - name: Redistributes the partition throughput for a mongodb collection from source partitions to target partitions text: |- - az cosmosdb mongodb collection redistribute-partition-throughput --account-name account_name --database-name db_name --name container_name --resource-group rg_name --target-partition-info 8=1200 6=1200' --source-partition-info 9' + az cosmosdb mongodb collection redistribute-partition-throughput --account-name account_name --database-name db_name --name container_name --resource-group rg_name --target-partition-info 8=1200 6=1200 --source-partition-info 9 """ # in-account restore of a deleted sql database From 002e71111578aff006d2e718a89c85b9e4d39b9c Mon Sep 17 00:00:00 2001 From: Hashim1999164 <64767361+Hashim1999164@users.noreply.github.com> Date: Sat, 22 Aug 2026 23:18:09 +0500 Subject: [PATCH 2/2] Record the redistribute help example fix in HISTORY. --- src/cosmosdb-preview/HISTORY.rst | 4 ++++ src/cosmosdb-preview/setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cosmosdb-preview/HISTORY.rst b/src/cosmosdb-preview/HISTORY.rst index ea8ee225e08..53ee5f086c6 100644 --- a/src/cosmosdb-preview/HISTORY.rst +++ b/src/cosmosdb-preview/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +1.7.1 +++++++ +* Fix stray brackets in redistribute-partition-throughput help examples. + 1.7.0 ++++++ * Add ``--skip-safe-rotation`` to ``az cosmosdb keys regenerate`` to optionally bypass the account keys last usage check during key regeneration. diff --git a/src/cosmosdb-preview/setup.py b/src/cosmosdb-preview/setup.py index 4c9b8ae2b6b..1c210837d7e 100644 --- a/src/cosmosdb-preview/setup.py +++ b/src/cosmosdb-preview/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '1.7.0' +VERSION = '1.7.1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers