googleapis / googleapis/google-cloud-python
Configurable SnippetGen: add sample function parameters
Open
samples
type: feature request
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.8k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 122
Description
This is defined in `snippet_config_language.SnippetSignature`.
This and the sample function return type (https://github.com/googleapis/google-cloud-python/issues/16420) will require the functionality of translating recursively defined snippet_config_language.Type into Python's type annotation (in libcst: https://libcst.readthedocs.io/en/latest/nodes.html#libcst.FunctionDef.params).
Contributor guide
Assessment
This issue has not been assessed yet.