Skip to content

Commit

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

"""This script is used to synthesize generated parts of this library."""

import re
import textwrap

import synthtool as s
from synthtool import gcp

gapic = gcp.GAPICGenerator()
gapic = gcp.GAPICBazel()
common = gcp.CommonTemplates()
version = "v1"

# ----------------------------------------------------------------------------
# Generate pubsub GAPIC layer
# ----------------------------------------------------------------------------
library = gapic.py_library(
"pubsub",
version,
config_path="/google/pubsub/artman_pubsub.yaml",
service="pubsub",
version=version,
bazel_target="//google/pubsub/v1:pubsub-v1-py",
include_protos=True,
)
s.move(
Expand Down

0 comments on commit c67f36e

Please sign in to comment.