From ff70f0ca9c0fad0d62ae696d1775dd857f83d8f3 Mon Sep 17 00:00:00 2001 From: Mr-Documents Date: Wed, 4 Mar 2026 17:31:43 +0000 Subject: [PATCH 1/3] docs: fix typo and stray quote in deprecation message --- google/cloud/storage/blob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/cloud/storage/blob.py b/google/cloud/storage/blob.py index 0b022985f..743956e3d 100644 --- a/google/cloud/storage/blob.py +++ b/google/cloud/storage/blob.py @@ -115,8 +115,8 @@ ) _COMPOSE_IF_GENERATION_LIST_DEPRECATED = ( "'if_generation_match: type list' is deprecated and supported for " - "backwards-compatability reasons only. Use 'if_source_generation_match' " - "instead' to match source objects' generations." + "backwards-compatibility reasons only. Use 'if_source_generation_match' " + "instead to match source objects' generations." ) _COMPOSE_IF_GENERATION_LIST_AND_IF_SOURCE_GENERATION_ERROR = ( "Use 'if_generation_match' to match the generation of the destination " From 504affc76551a78bd222491905583ac344486973 Mon Sep 17 00:00:00 2001 From: Mr-Documents Date: Wed, 4 Mar 2026 19:10:07 +0000 Subject: [PATCH 2/3] docs: fix backward-compatibility typos in compose docstring and deprecation message --- google/cloud/storage/blob.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/google/cloud/storage/blob.py b/google/cloud/storage/blob.py index 743956e3d..7af1af22a 100644 --- a/google/cloud/storage/blob.py +++ b/google/cloud/storage/blob.py @@ -125,7 +125,7 @@ ) _COMPOSE_IF_METAGENERATION_LIST_DEPRECATED = ( "'if_metageneration_match: type list' is deprecated and supported for " - "backwards-compatability reasons only. Note that the metageneration to " + "backward-compatibility reasons only. Note that the metageneration to " "be matched is that of the destination blob. Please pass in a single " "value (type long)." ) @@ -3889,9 +3889,9 @@ def compose( destination object's current metageneration matches the given value. - If a list of long is passed in, no match operation will be + If a list of longs is passed in, no match operation will be performed. (Deprecated: type(list of long) is supported for - backwards-compatability reasons only.) + backward-compatibility reasons only.) :type if_source_generation_match: list of long :param if_source_generation_match: From 442f2d4bc488e1fe906afdd7f107044587216933 Mon Sep 17 00:00:00 2001 From: Mr-Documents Date: Wed, 4 Mar 2026 19:21:33 +0000 Subject: [PATCH 3/3] docs: fix backward-compatibility typos in compose docstring and deprecation message --- google/cloud/storage/blob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/cloud/storage/blob.py b/google/cloud/storage/blob.py index 7af1af22a..f2c5b6baf 100644 --- a/google/cloud/storage/blob.py +++ b/google/cloud/storage/blob.py @@ -115,7 +115,7 @@ ) _COMPOSE_IF_GENERATION_LIST_DEPRECATED = ( "'if_generation_match: type list' is deprecated and supported for " - "backwards-compatibility reasons only. Use 'if_source_generation_match' " + "backward-compatibility reasons only. Use 'if_source_generation_match' " "instead to match source objects' generations." ) _COMPOSE_IF_GENERATION_LIST_AND_IF_SOURCE_GENERATION_ERROR = ( @@ -3879,7 +3879,7 @@ def compose( versions of the object. Note: In a previous version, this argument worked identically to the ``if_source_generation_match`` argument. For - backwards-compatibility reasons, if a list is passed in, + backward-compatibility reasons, if a list is passed in, this argument will behave like ``if_source_generation_match`` and also issue a DeprecationWarning.