From 48b08acb345747766fa8808b77f7e0239cfaf146 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 28 Apr 2020 14:38:01 -0700 Subject: [PATCH] chore: Migrate python-redis synth.py from artman to bazel (#12) --- synth.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synth.py b/synth.py index 51db376..ab8f163 100644 --- a/synth.py +++ b/synth.py @@ -20,7 +20,7 @@ logging.basicConfig(level=logging.DEBUG) -gapic = gcp.GAPICGenerator() +gapic = gcp.GAPICBazel() common = gcp.CommonTemplates() excludes = ["README.rst", "setup.py", "nox*.py", "docs/conf.py", "docs/index.rst"] @@ -29,9 +29,9 @@ # ---------------------------------------------------------------------------- for version in ["v1beta1", "v1"]: library = gapic.py_library( - "redis", - version, - config_path=f"artman_redis_{version}.yaml", + service="redis", + version=version, + bazel_target=f"//google/cloud/redis/{version}:redis-{version}-py", include_protos=True, )