Skip to content

docs: fix typo and stray quote in deprecation message #1766

Open
Mr-Documents wants to merge 3 commits intogoogleapis:mainfrom
Mr-Documents:improve-docstring
Open

docs: fix typo and stray quote in deprecation message #1766
Mr-Documents wants to merge 3 commits intogoogleapis:mainfrom
Mr-Documents:improve-docstring

Conversation

@Mr-Documents
Copy link

Corrects the spelling of "backwards-compatibility" and removes an extra quote
in the _COMPOSE_IF_GENERATION_LIST_DEPRECATED message in blob.py.
No functional changes.

@Mr-Documents Mr-Documents requested review from a team as code owners March 4, 2026 17:41
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: storage Issues related to the googleapis/python-storage API. labels Mar 4, 2026
@google-cla
Copy link

google-cla bot commented Mar 4, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses minor textual inaccuracies in a deprecation message within the blob.py file. The changes improve the clarity and correctness of the message presented to users without introducing any functional modifications to the codebase.

Highlights

  • Typo Correction: Corrected the spelling of 'backwards-compatability' to 'backwards-compatibility' within a deprecation message.
  • Formatting Fix: Removed an extraneous single quote from the _COMPOSE_IF_GENERATION_LIST_DEPRECATED message.
Changelog
  • google/cloud/storage/blob.py
    • Corrected a spelling error in the _COMPOSE_IF_GENERATION_LIST_DEPRECATED message.
    • Removed an extra single quote character from the deprecation message string.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request fixes a typo and a stray quote in a deprecation message. The review comment points out two other occurrences of the same typo in the same file that should also be fixed for consistency.

Note: Security Review did not run due to the size of the PR.

Comment on lines +118 to +119
"backwards-compatibility reasons only. Use 'if_source_generation_match' "
"instead to match source objects' generations."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There are a couple of other instances of the 'backwards-compatability' typo in this file that were missed:

  • Line 128 in _COMPOSE_IF_METAGENERATION_LIST_DEPRECATED
  • Line 3900 in the docstring for the compose method

Please correct these to 'backwards-compatibility' for consistency.

@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/python-storage API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants