Skip to content

Commit 9120e12

Browse files
authored
chore: Migrate python-kms synth.py from artman to bazel (#10)
1 parent 292b0f7 commit 9120e12

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

packages/google-cloud-kms/synth.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@
2222

2323
client_library_version = "0.1.0"
2424

25-
gapic = gcp.GAPICGenerator()
25+
gapic = gcp.GAPICBazel()
2626
common = gcp.CommonTemplates()
2727
version = "v1"
2828

2929
# ----------------------------------------------------------------------------
3030
# Generate kms GAPIC layer
3131
# ----------------------------------------------------------------------------
3232
library = gapic.py_library(
33-
"kms",
34-
version,
35-
config_path="artman_cloudkms.yaml",
36-
artman_output_name="kms-v1",
33+
service="kms",
34+
version=version,
35+
bazel_target="//google/cloud/kms/v1:kms-v1-py",
3736
include_protos=True,
3837
)
3938

0 commit comments

Comments
 (0)