@@ -177,26 +177,38 @@ py_gapic_library(
177177 service_yaml = "gsuiteaddons_v1.yaml" ,
178178 transport = "grpc+rest" ,
179179 deps = [
180- "//google/apps/script/type:type_py_proto " ,
181- "//google/apps/script/type/calendar:calendar_py_proto " ,
182- "//google/apps/script/type/docs:docs_py_proto " ,
183- "//google/apps/script/type/drive:drive_py_proto " ,
184- "//google/apps/script/type/gmail:gmail_py_proto " ,
185- "//google/apps/script/type/sheets:sheets_py_proto " ,
186- "//google/apps/script/type/slides:slides_py_proto " ,
180+ "//google/apps/script/type:type_py_gapic " ,
181+ "//google/apps/script/type/calendar:calendar_py_gapic " ,
182+ "//google/apps/script/type/docs:docs_py_gapic " ,
183+ "//google/apps/script/type/drive:drive_py_gapic " ,
184+ "//google/apps/script/type/gmail:gmail_py_gapic " ,
185+ "//google/apps/script/type/sheets:sheets_py_gapic " ,
186+ "//google/apps/script/type/slides:slides_py_gapic " ,
187187 ],
188- )
189-
190- py_test (
191- name = "gsuiteaddons_py_gapic_test" ,
192- srcs = [
193- "gsuiteaddons_py_gapic_pytest.py" ,
194- "gsuiteaddons_py_gapic_test.py" ,
188+ opt_args = [
189+ "proto-plus-deps=\
190+ google.apps.script.type.calendar+\
191+ google.apps.script.type.docs+\
192+ google.apps.script.type.drive+\
193+ google.apps.script.type.gmail+\
194+ google.apps.script.type.sheets+\
195+ google.apps.script.type.slides+\
196+ google.apps.script.type"
195197 ],
196- legacy_create_init = False ,
197- deps = [":gsuiteaddons_py_gapic" ],
198198)
199199
200+ # TODO: Uncomment once
201+ # https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed
202+ #py_test(
203+ # name = "gsuiteaddons_py_gapic_test",
204+ # srcs = [
205+ # "gsuiteaddons_py_gapic_pytest.py",
206+ # "gsuiteaddons_py_gapic_test.py",
207+ # ],
208+ # legacy_create_init = False,
209+ # deps = [":gsuiteaddons_py_gapic"],
210+ #)
211+
200212# Open Source Packages
201213py_gapic_assembly_pkg (
202214 name = "gsuiteaddons-v1-py" ,
0 commit comments