8000 chore(gae): delete samples for Python 2.7 in 'storage' folder by eapl-gemugami · Pull Request #13380 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

chore(gae): delete samples for Python 2.7 in 'storage' folder #13380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

eapl-gemugami
Copy link
Contributor

Description

Fixes Internal: b/419023570

Deletes the whole folder, as all the samples are not used in documentation.

Checklist

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. labels May 20, 2025
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.

Hello @eapl-gemugami, 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!

Summary of Changes

Hello! Gemini here, providing a summary of this pull request. This PR, authored by eapl-gemugami, aims to clean up the repository by removing outdated Python 2.7 samples for Google App Engine Standard related to Cloud Storage. According to the description, these samples are no longer used in documentation, and the change involves deleting the entire appengine/standard/storage directory and its contents.

Highlights

  • Sample Deletion: This pull request deletes the Python 2.7 Google App Engine Standard samples for Cloud Storage.
  • Directory Removal: The entire appengine/standard/storage directory, containing two sample applications (api-client and cloud-client) and their associated files, is removed.
  • Reason for Change: The samples are being removed because they are no longer used in documentation.

Changelog

Click here to see the changelog
  • appengine/standard/storage/api-client/README.md
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/api-client/app.yaml
    • Deleted as part of removing Python 2.7 storage samples (was configured for runtime: python27).
  • appengine/standard/storage/api-client/appengine_config.py
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/api-client/lib
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/api-client/main.py
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/api-client/requirements-test.txt
    • Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
  • appengine/standard/storage/api-client/requirements.txt
    • Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
  • appengine/standard/storage/api-client/tests/test_main.py
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/cloud-client/app.yaml
    • Deleted as part of removing Python 2.7 storage samples (was configured for runtime: python27).
  • appengine/standard/storage/cloud-client/appengine_config.py
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/cloud-client/main.py
    • Deleted as part of removing Python 2.7 storage samples.
  • appengine/standard/storage/cloud-client/requirements-test.txt
    • Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
  • appengine/standard/storage/cloud-client/requirements.txt
    • Deleted as part of removing Python 2.7 storage samples (contained Python 2.7 specific dependencies).
  • appengine/standard/storage/cloud-client/tests/test_main.py
    • Deleted as part of removing Python 2.7 storage samples.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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 issue 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 is currently in preview and 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 to provide feedback.

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.


Old code, Python two,
No longer needed, it's true.
Deleted with care,
Fresh code fills the air,
For Python three, something new.

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 effectively removes outdated Python 2.7 samples from the appengine/standard/storage/api-client/ and appengine/standard/storage/appengine-client/ directories. The changes are consistent with the PR title and description, which state the goal of deleting these unused Python 2.7 samples.

The deletion includes all relevant files for these samples, such as app.yaml (configured for python27), Python source files, test files, and requirements files with Python 2.7 specific dependencies. This is a valuable cleanup effort that improves the maintainability of the repository by removing deprecated code.

Given the nature of the change (deletion of old, unused code) and the provided justification (samples not used in documentation, internal bug tracker reference), the PR appears to be in good order.

Summary of Findings

  • Removal of Deprecated Code: The pull request successfully removes Python 2.7 samples, which are no longer supported. This is a positive change that reduces repository clutter and improves maintainability.
  • Completeness of Deletion: The PR appears to comprehensively remove all files associated with the targeted Python 2.7 samples in the 'storage' folder, including application code, configuration, tests, and dependencies.

Merge Readiness

The changes in this pull request consist of deleting outdated Python 2.7 samples. This is a beneficial maintenance task. Based on the review, the PR seems ready for merging. As an AI, I am not authorized to approve pull requests, so please ensure it undergoes any further necessary human review and approval processes.

@eapl-gemugami eapl-gemugami added the snippet-bot:force-run Force snippet-bot runs its logic label May 20, 2025
@snippet-bot snippet-bot bot removed the snippet-bot:force-run Force snippet-bot runs its logic label May 20, 2025
Copy link
snippet-bot bot commented May 20, 2025

Here is the summary of changes.

You are about to delete 6 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@eapl-gemugami eapl-gemugami marked this pull request as ready for review May 20, 2025 16:53
@eapl-gemugami eapl-gemugami requested review from a team as code owners May 20, 2025 16:53
@iennae iennae merged commit 5faafd1 into GoogleCloudPlatform:main May 20, 2025
11 checks passed
@eapl-gemugami eapl-gemugami deleted the paradalicea/chore/gae/delete-samples/storage/b-419023570 branch May 20, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: appengine Issues related to the App Engine Admin API API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0