This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Commit 2d33224
authored
feat: Add opt_args to py_gapic_library (#411)
This is to suport <plugin_name>_opt command line args for protoc with a <plugin>.
See #390 for more details.
This PR depends on googleapis/gapic-generator#3191
Example of usage:
```bzl
py_gapic_library(
name = "documentai_py_gapic",
srcs = [":documentai_proto"],
opt_args = [
"old-naming",
"lazy-import",
"python-gapic-name=documentai",
"python-gapic-templates=ads-templates",
],
)
```1 parent b670319 commit 2d33224
3 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments