-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Move logic for explicit routing headers to google-api-core #16272
Copy link
Copy link
Open
Labels
type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.
Description
See feedback in https://github.com/googleapis/gapic-generator-python/pull/2131/files#r1751065571 from review of PR googleapis/gapic-generator-python#2131 which calls out that the logic for explicit routing headers which exists in _client_macros.j2 could be moved to google-api-core, similar to how we have gapic_v1.routing_header.to_grpc_metadata
Could be refactored into a helper function in google-api-core similar to gapic_v1.routing_header.to_grpc_metadata
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.