Skip to content

Commit 5d32bcb

Browse files
Google APIscopybara-github
authored andcommitted
chore(python): Add google.cloud.documentai.v1 as a proto-plus dependency for google/cloud/contentwarehouse/v1
PiperOrigin-RevId: 519368032
1 parent ab54277 commit 5d32bcb

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

google/cloud/contentwarehouse/v1/BUILD.bazel

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,17 @@ load(
202202
"@com_google_googleapis_imports//:imports.bzl",
203203
"py_gapic_assembly_pkg",
204204
"py_gapic_library",
205+
"py_import",
205206
"py_test",
206207
)
207208

209+
py_import(
210+
name="documentai",
211+
srcs = [
212+
"//google/cloud/documentai/v1:documentai_py_gapic",
213+
],
214+
)
215+
208216
py_gapic_library(
209217
name = "contentwarehouse_py_gapic",
210218
srcs = [":contentwarehouse_proto"],
@@ -213,9 +221,12 @@ py_gapic_library(
213221
service_yaml = "contentwarehouse_v1.yaml",
214222
transport = "grpc+rest",
215223
deps = [
216-
"//google/cloud/documentai/v1:documentai_py_proto",
224+
":documentai",
217225
"//google/iam/v1:iam_policy_py_proto",
218226
],
227+
opt_args = [
228+
"proto-plus-deps=google.cloud.documentai.v1"
229+
]
219230
)
220231

221232
py_test(

0 commit comments

Comments
 (0)