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

Commit

Permalink
chore: Migrate python-datalabeling synth.py from artman to bazel (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google committed Apr 21, 2020
1 parent 6697195 commit 880f470
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions synth.py
Expand Up @@ -17,17 +17,15 @@
import synthtool as s
from synthtool import gcp

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

version = 'v1beta1'

library = gapic.py_library(
'datalabeling',
version,
config_path='/google/cloud/datalabeling/'
'artman_datalabeling_v1beta1.yaml',
artman_output_name='datalabeling-v1beta1',
service='datalabeling',
version=version,
bazel_target=f"//google/cloud/datalabeling/{version}:datalabeling-{version}-py",
include_protos=True,
)

Expand Down

0 comments on commit 880f470

Please sign in to comment.