Title: Schema api not supporting pubsub emulator · Issue #647 · googleapis/python-pubsub · GitHub
Open Graph Title: Schema api not supporting pubsub emulator · Issue #647 · googleapis/python-pubsub
X Title: Schema api not supporting pubsub emulator · Issue #647 · googleapis/python-pubsub
Description: The schema_service/client.py did not receive the fixes in this change: 297 So you receive the same errors as described in the issue: 290 I have created a fork where I added the code and verified this is all that needs to change for this ...
Open Graph Description: The schema_service/client.py did not receive the fixes in this change: 297 So you receive the same errors as described in the issue: 290 I have created a fork where I added the code and verified th...
X Description: The schema_service/client.py did not receive the fixes in this change: 297 So you receive the same errors as described in the issue: 290 I have created a fork where I added the code and verified th...
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/647
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Schema api not supporting pubsub emulator ","articleBody":"The schema_service/client.py did not receive the fixes in this change: [297](https://github.com/googleapis/python-pubsub/pull/297)\r\n\r\nSo you receive the same errors as described in the issue: [290](https://github.com/googleapis/python-pubsub/issues/290)\r\n\r\nI have created a fork where I added the code and verified this is all that needs to change for this to work with the pubsub emulator:\r\n```\r\n emulator_host = os.environ.get(\"PUBSUB_EMULATOR_HOST\")\r\n if emulator_host:\r\n if issubclass(Transport, type(self)._transport_registry[\"grpc\"]):\r\n channel = grpc.insecure_channel(target=emulator_host)\r\n else:\r\n channel = grpc.aio.insecure_channel(target=emulator_host)\r\n Transport = functools.partial(Transport, channel=channel)\r\n```\r\n\r\nThe fix is extremely simple as the work has already been done :)\r\n\r\n","author":{"url":"https://github.com/bealsao","@type":"Person","name":"bealsao"},"datePublished":"2022-04-08T03:52:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/647/python-pubsub/issues/647"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1a33bbfd-c8e1-7a69-9eec-10fb5436b263 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D26A:35AC14:2BC3608:3D01041:6A50D641 |
| html-safe-nonce | b5cdabd3920baf27edf4b0dc2f1ba7eea59250913745b9c4db3bdf680755b923 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjZBOjM1QUMxNDoyQkMzNjA4OjNEMDEwNDE6NkE1MEQ2NDEiLCJ2aXNpdG9yX2lkIjoiMTg1NDM4MjYzODk4NDM4NjExMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5efaff1eba748f6191248c6231016300cb27cb1c63458dc25ed6a28a6ea2d620 |
| hovercard-subject-tag | issue:1196795206 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-pubsub/647/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e81acbb31f5d2291933db37af6e3bf7270393151c0f68d558e6519d9e29faf3/googleapis/python-pubsub/issues/647 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e81acbb31f5d2291933db37af6e3bf7270393151c0f68d558e6519d9e29faf3/googleapis/python-pubsub/issues/647 |
| og:image:alt | The schema_service/client.py did not receive the fixes in this change: 297 So you receive the same errors as described in the issue: 290 I have created a fork where I added the code and verified th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bealsao |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 73ad5c4eaffed7bb3637024653eabdbca84a855e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width