FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(generator): add remove unused import script by ohmayr · Pull Request #17917 · googleapis/google-cloud-python · GitHub

chore(generator): add remove unused import script - #17917

Merged
ohmayr merged 2 commits into
mainfrom
revert-17900-delete-remove-unused-imports-script
Jul 27, 2026
Merged

chore(generator): add remove unused import script#17917
ohmayr merged 2 commits into
mainfrom
revert-17900-delete-remove-unused-imports-script

Conversation

ohmayr commented Jul 27, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Add the post processing script back until we bump the generator

ohmayr requested a review from a team as a code owner July 27, 2026 22:12

gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code Review

This pull request updates the GAPIC generator templates for unit tests to use method.ref_types instead of method.flat_ref_types when generating imports. This change results in additional protobuf and type imports being generated in the unit tests, as reflected in the updated golden files. Additionally, a post-processing configuration is added to remove specific unused imports from certain generated tests. I have no feedback to provide as there are no review comments.

ohmayr changed the title Revert "fix(generator): use flat_ref_types in test templates and delete remove-unused-imports" chore(generator): add remove unused import script Jul 27, 2026

hebaalazzeh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

ohmayr merged commit 0a873a3 into main Jul 27, 2026
39 checks passed
ohmayr deleted the revert-17900-delete-remove-unused-imports-script branch July 27, 2026 22:29
parthea mentioned this pull request Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL