Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
chore: switch to Bazel for client generation (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Oct 28, 2020
1 parent 661c9cc commit dcea1f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions synth.py
Expand Up @@ -19,13 +19,17 @@
import synthtool.gcp as gcp
from synthtool.languages import python

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

# ----------------------------------------------------------------------------
# Generate access approval GAPIC layer
# ----------------------------------------------------------------------------
library = gapic.py_library("bigquery/reservation", "v1")
library = gapic.py_library(
service="bigquery/reservation",
version="v1",
bazel_target=f"//google/cloud/bigquery/reservation/v1:bigquery-reservation-v1-py"
)

s.move(library, excludes=["nox.py", "setup.py", "README.rst", "docs/index.rst"])

Expand Down

0 comments on commit dcea1f2

Please sign in to comment.