GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — feat(snippetgen): generate mock input for required fields by busunkim96 · Pull Request #941 · googleapis/gapic-generator-python
This repository was archived by the owner on Aug 25, 2026. It is now read-only.
Conversation
|
|
Here is the summary of changes. You are about to add 2 region tags.
This comment is generated by snippet-bot.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Okay @busunkim96 - I looked at some - didn't make it through all, but a lot of my comments will apply to multiple samples, I think. Hope it was at least a little helpful!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| # Initialize request argument(s) | ||
| request = asset_v1.BatchGetAssetsHistoryRequest( | ||
| parent="*", |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with this syntax - is this asterisk something that's typical for this service?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The * wouldn't actually work if passed to the service. The snippetgen logic pulls the first resource pattern out of the protos, and in some uncommon cases it is just a * rather than some more specific pattern like projects/{project}. The * pattern creates problems for generating resource helper methods and tests too - see #701
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@software-dov Thank you for the review! PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Mostly nitpicking and one minor concern, looks great! Thanks for doing this, and I hope the existing samplegen code wasn't too unpleasant to work with.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.