googleapis / googleapis/google-cloud-python
Configurable SnippetGen: add imports
Offen
type: feature request
- Vorherrschende Sprache
- Python
- Sterne
- 5.4k
- Forks
- 1.8k
- Ø Merge
- 3 T. 4 Std.
- Gemergte PRs (30 T.)
- 122
Beschreibung
The imports should be added only after the whole sample function def has been generated (but before region tags are added https://github.com/googleapis/google-cloud-python/issues/16422), since there could be other dependencies that requires importing (such as `os`, or `protobuf`) besides the GAPIC module such as `from google.cloud import speech_v1`.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.