Skip to content

Commit 63950f4

Browse files
Google APIscopybara-github
authored andcommitted
chore(python): Add google.geo.type as a proto-plus dependency for google/maps/addressvalidation
PiperOrigin-RevId: 520128603
1 parent 4e28498 commit 63950f4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

google/maps/addressvalidation/v1/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,17 @@ load(
171171
"@com_google_googleapis_imports//:imports.bzl",
172172
"py_gapic_assembly_pkg",
173173
"py_gapic_library",
174+
"py_import",
174175
"py_test",
175176
)
176177

178+
py_import(
179+
name="viewport",
180+
srcs = [
181+
"//google/geo/type:viewport_py_gapic",
182+
],
183+
)
184+
177185
py_gapic_library(
178186
name = "addressvalidation_py_gapic",
179187
srcs = [":addressvalidation_proto"],
@@ -182,8 +190,9 @@ py_gapic_library(
182190
service_yaml = "addressvalidation_v1.yaml",
183191
transport = "grpc+rest",
184192
deps = [
185-
"//google/geo/type:viewport_py_proto",
193+
":viewport",
186194
],
195+
opt_args = ["proto-plus-deps=google.geo.type"],
187196
)
188197

189198
py_test(

0 commit comments

Comments
 (0)