FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(revert): Revert "fix: get channel target for a gRPC request" by ohmayr · Pull Request #1371 · googleapis/python-pubsub · GitHub

This repository was archived by the owner on Mar 9, 2026. It is now read-only.
/ python-pubsub Public archive

chore(revert): Revert "fix: get channel target for a gRPC request" - #1371

Merged
mukund-ananthu merged 3 commits into
mainfrom
revert-1339-fix-pubsub-target-issue
Mar 5, 2025
Merged

chore(revert): Revert "fix: get channel target for a gRPC request"#1371
mukund-ananthu merged 3 commits into
mainfrom
revert-1339-fix-pubsub-target-issue

Conversation

ohmayr commented Mar 5, 2025

Copy link
Copy Markdown
Contributor

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 requested review from a team March 5, 2025 21:23
product-auto-label Bot added the size: s Pull request size is small. label Mar 5, 2025
product-auto-label Bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Mar 5, 2025
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 Bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Mar 5, 2025
mukund-ananthu merged commit 953ddb1 into main Mar 5, 2025
mukund-ananthu deleted the revert-1339-fix-pubsub-target-issue branch March 5, 2025 22:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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


Back | FazBrowse Home | New Git URL