Skip to content

Commit 952164b

Browse files
authored
chore: migrate synth.py from artman to bazel (#80)
1 parent c16438f commit 952164b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

synth.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@
1717
import synthtool as s
1818
from synthtool import gcp
1919

20-
gapic = gcp.GAPICGenerator()
20+
gapic = gcp.GAPICBazel()
2121
common = gcp.CommonTemplates()
2222
version = 'v2'
2323

2424
library = gapic.py_library(
25-
'bigquery',
26-
version,
27-
config_path='/google/cloud/bigquery/'
28-
'artman_bigquery_v2.yaml',
29-
artman_output_name='bigquery-v2',
25+
service='bigquery',
26+
version=version,
27+
bazel_target=f"//google/cloud/bigquery/{version}:bigquery-{version}-py",
3028
include_protos=True,
3129
)
3230

0 commit comments

Comments
 (0)