Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 1d92cc2

Browse files
authored
chore: Migrate python-bigtable synth.py from artman to bazel (#21)
1 parent 1449589 commit 1d92cc2

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

synth.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@
1717
import synthtool as s
1818
from synthtool import gcp
1919

20-
gapic = gcp.GAPICGenerator()
20+
gapic = gcp.GAPICBazel()
2121
common = gcp.CommonTemplates()
2222

2323
# ----------------------------------------------------------------------------
2424
# Generate bigtable and bigtable_admin GAPIC layer
2525
# ----------------------------------------------------------------------------
2626
library = gapic.py_library(
27-
"bigtable",
28-
"v2",
29-
config_path="/google/bigtable/artman_bigtable.yaml",
30-
artman_output_name="bigtable-v2",
27+
service="bigtable",
28+
version="v2",
29+
bazel_target="//google/bigtable/v2:bigtable-v2-py",
3130
include_protos=True,
3231
)
3332

@@ -36,10 +35,9 @@
3635

3736
# Generate admin client
3837
library = gapic.py_library(
39-
"bigtable_admin",
40-
"v2",
41-
config_path="/google/bigtable/admin/artman_bigtableadmin.yaml",
42-
artman_output_name="bigtable-admin-v2",
38+
service="bigtable_admin",
39+
version="v2",
40+
bazel_target="//google/bigtable/admin/v2:bigtable-admin-v2-py",
4341
include_protos=True,
4442
)
4543

0 commit comments

Comments
 (0)