Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bec4a9a

Browse filesBrowse files
authored
chore: switch to Bazel for client generation (#44)
1 parent 78c0bc4 commit bec4a9a
Copy full SHA for bec4a9a

File tree

Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed
Filter options
  • packages/google-cloud-bigquery-reservation
Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed

‎packages/google-cloud-bigquery-reservation/synth.py

Copy file name to clipboardExpand all lines: packages/google-cloud-bigquery-reservation/synth.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@
1919
import synthtool.gcp as gcp
2020
from synthtool.languages import python
2121

22-
gapic = gcp.GAPICMicrogenerator()
22+
gapic = gcp.GAPICBazel()
2323
common = gcp.CommonTemplates()
2424

2525
# ----------------------------------------------------------------------------
2626
# Generate access approval GAPIC layer
2727
# ----------------------------------------------------------------------------
28-
library = gapic.py_library("bigquery/reservation", "v1")
28+
library = gapic.py_library(
29+
service="bigquery/reservation",
30+
version="v1",
31+
bazel_target=f"//google/cloud/bigquery/reservation/v1:bigquery-reservation-v1-py"
32+
)
2933

3034
s.move(library, excludes=["nox.py", "setup.py", "README.rst", "docs/index.rst"])
3135

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.