Skip to content

Commit

Permalink
Another attempt at fixing mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
gkevinzheng committed Dec 11, 2024
1 parent 7053167 commit e3e7dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gapic/schema/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@ 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.
operation_service = services_in_proto.get(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,
Expand Down

0 comments on commit e3e7dbb

Please sign in to comment.