googleapis / googleapis/google-cloud-python

Configurable SnippetGen: add return type to the sample function

オープン
#16,420 コメント 1 件 リアクション 0 件 担当者 1 名 @dizcology が担当を希望しています GitHub で見る
samples type: feature request
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

The sample function's return type is specified in the snippet config.

This and the sample function parameters (https://github.com/googleapis/google-cloud-python/issues/16419) 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.returns).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。