Skip to content

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 authored Apr 21, 2020
1 parent 9323044 commit b2617fa
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/google-cloud-datalabeling/synth.py
Original file line number Diff line number Diff line change
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 b2617fa

Please sign in to comment.