Skip to content

Commit

Permalink
chore: Migrate python-bigtable synth.py from artman to bazel (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google committed May 1, 2020
1 parent 1449589 commit 1d92cc2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions synth.py
Expand Up @@ -17,17 +17,16 @@
import synthtool as s
from synthtool import gcp

gapic = gcp.GAPICGenerator()
gapic = gcp.GAPICBazel()
common = gcp.CommonTemplates()

# ----------------------------------------------------------------------------
# Generate bigtable and bigtable_admin GAPIC layer
# ----------------------------------------------------------------------------
library = gapic.py_library(
"bigtable",
"v2",
config_path="/google/bigtable/artman_bigtable.yaml",
artman_output_name="bigtable-v2",
service="bigtable",
version="v2",
bazel_target="//google/bigtable/v2:bigtable-v2-py",
include_protos=True,
)

Expand All @@ -36,10 +35,9 @@

# Generate admin client
library = gapic.py_library(
"bigtable_admin",
"v2",
config_path="/google/bigtable/admin/artman_bigtableadmin.yaml",
artman_output_name="bigtable-admin-v2",
service="bigtable_admin",
version="v2",
bazel_target="//google/bigtable/admin/v2:bigtable-admin-v2-py",
include_protos=True,
)

Expand Down

0 comments on commit 1d92cc2

Please sign in to comment.