Skip to content
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

feat: enable snippetgen for default templates #1171

Merged
merged 9 commits into from
Feb 3, 2022
Merged

Conversation

busunkim96
Copy link
Contributor

@busunkim96 busunkim96 commented Jan 28, 2022

Enable snippetgen for the default (non-Ads) templates.

This reverts commit 8bdb709 (which was a revert of #1044 and #1055).

I've checked that the changes are OK (don't break generation for any APIs) by creating a tag and running the presubmit.

@busunkim96 busunkim96 requested review from a team as code owners January 28, 2022 19:31
@busunkim96 busunkim96 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 28, 2022
@busunkim96 busunkim96 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 28, 2022
Copy link
Contributor

@software-dov software-dov left a comment

Choose a reason for hiding this comment

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

LGTM, one minor nit

Comment on lines 157 to 158
if opts.get("old-naming"):
autogen_snippets = False
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: can you lift the parsing of old_naming to right before here and then just reuse the value?

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.

3 participants