Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
chore: Migrate python-tasks synth.py from artman to bazel (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google committed Apr 21, 2020
1 parent d7c45a7 commit 01304e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions synth.py
Expand Up @@ -20,7 +20,7 @@

logging.basicConfig(level=logging.DEBUG)

gapic = gcp.GAPICGenerator()
gapic = gcp.GAPICBazel()
common = gcp.CommonTemplates()
excludes = ["README.rst", "setup.py", "nox*.py", "docs/index.rst"]

Expand All @@ -29,9 +29,9 @@
# ----------------------------------------------------------------------------
for version in ["v2beta2", "v2beta3", "v2"]:
library = gapic.py_library(
"tasks",
version,
config_path=f"artman_cloudtasks_{version}.yaml",
service="tasks",
version=version,
bazel_target=f"//google/cloud/tasks/{version}:tasks-{version}-py",
include_protos=True,
)

Expand Down

0 comments on commit 01304e7

Please sign in to comment.