Skip to content

Commit

Permalink
chore: Migrate python-grafeas synth.py from artman to bazel (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored Apr 28, 2020
1 parent b3a3171 commit a0ec822
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/grafeas/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@

logging.basicConfig(level=logging.DEBUG)

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

# ----------------------------------------------------------------------------
# Generate Grafeas GAPIC layer
# ----------------------------------------------------------------------------
library = gapic.py_library(
"grafeas", "v1", config_path="/grafeas/artman_grafeas_v1.yaml", include_protos=True
service="grafeas",
version="v1",
bazel_target="//grafeas/v1:grafeas-v1-py",
proto_output_path="grafeas/grafeas_v1/proto",
include_protos=True
)

excludes = ["README.rst", "nox.py", "setup.py", "docs/index.rst"]
Expand Down

0 comments on commit a0ec822

Please sign in to comment.