From ce1e7defb7597f5afd3eb22b23259407382e5faa Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Fri, 1 May 2020 17:06:03 -0700 Subject: [PATCH] chore: Migrate python-videointelligence synth.py from artman to bazel (#18) --- synth.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/synth.py b/synth.py index 3d3068df..7705877c 100644 --- a/synth.py +++ b/synth.py @@ -19,7 +19,7 @@ from synthtool import gcp -gapic = gcp.GAPICGenerator() +gapic = gcp.GAPICBazel() common = gcp.CommonTemplates() versions = ["v1beta2", "v1p1beta1", "v1p2beta1", "v1p3beta1", "v1"] @@ -29,9 +29,9 @@ # ---------------------------------------------------------------------------- for version in versions: library = gapic.py_library( - "videointelligence", - version, - artman_output_name=f"video-intelligence-{version}", + service="videointelligence", + version=version, + bazel_target=f"//google/cloud/videointelligence/{version}:videointelligence-{version}-py", include_protos=True, )