You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow warehouse name (package name in `setup.py`) to be customized via a CLI option.
This is a pretty common reason for a `synth.py` regex replace:
- One repo has more than one API (e.g., Bigtable and Bigtable Admin) but the package name should always be `google-cloud-bigtable`
- We want an extra `-` in the repo name and package name to make it easier to read and type. (`google-cloud-binaryauthorization` -> `google-cloud-binary-authorization`)
- Package name constructed from the namespace doesn't match the `google-cloud-{API}` convention (`google-cloud-devtools-containeranalysis` -> `google-cloud-containeranalysis`)
Fixes#605
gapic-generator-python/gapic/schema/naming.py
Lines 186 to 193 in f86a47b
Occasionally we want to deviate from the generated provided
api.naming.warehouse_package_name
.google-cloud-firestore
.google-cloud-assuredworkloads
->google-cloud-assured-workloads
.The name is used to identify the library in request headers so it is somewhat important.
gapic-generator-python/gapic/templates/%namespace/%name_%version/%sub/services/%service/transports/base.py.j2
Lines 29 to 33 in af17501
CC @crwilcox
The text was updated successfully, but these errors were encountered: