Skip to content

Conversation

@ohmayr
Copy link
Contributor

@ohmayr ohmayr commented Mar 5, 2025

Reverts #1339

The PR did not apply the fix as intended. Passing down an intercept channel, which is used to create another intercept channel requires us to call thunk twice i.e. to obtain the underlying grpc_channel, we'll need to do:

channel = client._transport.pull._thunk("")._thunk("")._channel

Instead, we'll revert this change and then apply a follow up fix to obtain the underlying channel using the following way (until a more stable, long-term fix is determined):

channel = client._transport.pull._thunk("")._channel

@ohmayr ohmayr requested review from a team as code owners March 5, 2025 21:23
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Mar 5, 2025
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Mar 5, 2025
@parthea parthea changed the title Revert "fix: get channel target for a gRPC request" chore(revert): Revert "fix: get channel target for a gRPC request" Mar 5, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Mar 5, 2025
@mukund-ananthu mukund-ananthu merged commit 953ddb1 into main Mar 5, 2025
26 of 27 checks passed
@mukund-ananthu mukund-ananthu deleted the revert-1339-fix-pubsub-target-issue branch March 5, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the googleapis/python-pubsub API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants