googleapis / googleapis/google-cloud-python
Configurable SnippetGen: add imports
Đang mở
type: feature request
- Ngôn ngữ chính
- Python
- Star
- 5.4k
- Fork
- 1.8k
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 122
Mô tả
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`.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.