You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
storage: use one universe domain resolver for the REST and gRPC clients #19301
google-cloud-storage has two universe domain resolvers: _helpers._resolve_client_universe (REST) and grpc_client._resolve_universe_domain (gRPC). Their contracts differ:
The REST helper accepts ClientOptions, any Mapping, or None, and raises TypeError for other types.
The gRPC helper duck-types client_options. It does not read universe_domain from a non-dict Mapping.
Proposal: make the gRPC helper delegate to _helpers._resolve_client_universe, so #19297 has one place to swap. Do this after #19271 merges, because that PR changes the same code.
Activity