From 561d85de58ed091597e8eb93a391f0932b460fa8 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Tue, 2 May 2023 15:37:34 -0700 Subject: [PATCH] Fix typo in singular receive_message that was fixed in message(s) --- .../azure-storage-queue/azure/storage/queue/_queue_client.py | 4 ++-- .../azure/storage/queue/aio/_queue_client_async.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py b/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py index 6898af943f2c..05b5d07dcdea 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/_queue_client.py @@ -553,9 +553,9 @@ def receive_message(self, **kwargs: Any) -> Optional[QueueMessage]: decrypted before being returned. :keyword int visibility_timeout: - If not specified, the default value is 0. Specifies the + If not specified, the default value is 30. Specifies the new visibility timeout value, in seconds, relative to server time. - The value must be larger than or equal to 0, and cannot be + The value must be larger than or equal to 1, and cannot be larger than 7 days. The visibility timeout of a message cannot be set to a value later than the expiry time. visibility_timeout should be set to a value smaller than the time-to-live value. diff --git a/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py b/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py index c165c07bf431..1046f1e4a6a3 100644 --- a/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py +++ b/sdk/storage/azure-storage-queue/azure/storage/queue/aio/_queue_client_async.py @@ -437,9 +437,9 @@ async def receive_message(self, **kwargs: Any) -> Optional[QueueMessage]: decrypted before being returned. :keyword int visibility_timeout: - If not specified, the default value is 0. Specifies the + If not specified, the default value is 30. Specifies the new visibility timeout value, in seconds, relative to server time. - The value must be larger than or equal to 0, and cannot be + The value must be larger than or equal to 1, and cannot be larger than 7 days. The visibility timeout of a message cannot be set to a value later than the expiry time. visibility_timeout should be set to a value smaller than the time-to-live value.