From 27349eff0c264da6d3e2dbefc005223f8f95acbb Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Fri, 6 Dec 2024 16:18:59 +0000 Subject: [PATCH] fix mypy + autopep8 --- gapic/schema/wrappers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gapic/schema/wrappers.py b/gapic/schema/wrappers.py index 22df4e1e1..658d46b2e 100644 --- a/gapic/schema/wrappers.py +++ b/gapic/schema/wrappers.py @@ -1800,8 +1800,8 @@ def build_address_allowlist_for_selective_gapic(self, *, # We need to add the service/method pointed to by self.operation_service to # the allowlist, as it might not have been specified by selective_gapic_generation. # We assume that the operation service lives in the same proto as this one. - # type: ignore - operation_service = services_in_proto[self.operation_service] + operation_service = services_in_proto[ + self.operation_service] # type: ignore address_allowlist.add(operation_service.meta.address) operation_service.operation_polling_method.build_address_allowlist_for_selective_gapic( address_allowlist=address_allowlist,