Skip to content

Commit

Permalink
chore: Migrate python-speech synth.py from artman to bazel (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored May 8, 2020
1 parent a712037 commit c10b32c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions google-cloud-speech/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@

"""This script is used to synthesize generated parts of this library."""

import re

import synthtool as s
from synthtool import gcp

gapic = gcp.GAPICGenerator()
gapic = gcp.GAPICBazel()
common = gcp.CommonTemplates()
versions = ["v1p1beta1", "v1"]

Expand All @@ -29,10 +27,10 @@
# ----------------------------------------------------------------------------
for version in versions:
library = gapic.py_library(
"speech",
version,
service="speech",
version=version,
bazel_target=f"//google/cloud/speech/{version}:speech-{version}-py",
include_protos=True,
include_samples=True
)

# Don't move over __init__.py, as we modify it to make the generated client
Expand Down

0 comments on commit c10b32c

Please sign in to comment.