Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit c215fd1

Browse files
chore: Migrate access-bigquery-datatransfer synth.py from artman to bazel (#24)
Co-authored-by: Bu Sun Kim <[email protected]>
1 parent a806b8b commit c215fd1

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,19 +17,17 @@
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 = "v1"
2323

2424
# ----------------------------------------------------------------------------
2525
# Generate bigquery_datatransfer GAPIC layer
2626
# ----------------------------------------------------------------------------
2727
library = gapic.py_library(
28-
"bigquery_datatransfer",
29-
version,
30-
config_path="/google/cloud/bigquery/datatransfer/"
31-
"artman_bigquerydatatransfer.yaml",
32-
artman_output_name="bigquerydatatransfer-v1",
28+
service="bigquery_datatransfer",
29+
version=version,
30+
bazel_target="//google/cloud/bigquery/datatransfer/v1:bigquery-datatransfer-v1-py",
3331
include_protos=True,
3432
)
3533

0 commit comments

Comments
 (0)