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,