googleapis / googleapis/google-cloud-python

Configurable SnippetGen: add sample function parameters

Open
#16,419 1 comment 0 reactions 1 assignee Claimed by @dizcology View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.