René's URL Explorer Experiment


Title: Requiring `trailing_metadata` is a breaking change · Issue #297 · googleapis/python-api-core · GitHub

Open Graph Title: Requiring `trailing_metadata` is a breaking change · Issue #297 · googleapis/python-api-core

X Title: Requiring `trailing_metadata` is a breaking change · Issue #297 · googleapis/python-api-core

Description: PR #286 added support for showing error status details -- unfortunately, it also breaks Bigtable's unit tests: ___ Test_retry_read_rows_exception.test_w_deadline_exceeded_wrapped_in_grpc ____ self =

Open Graph Description: PR #286 added support for showing error status details -- unfortunately, it also breaks Bigtable's unit tests: ___ Test_retry_read_rows_exception.test_w_deadline_exceeded_wrapped_in_grpc ____ self ...

X Description: PR #286 added support for showing error status details -- unfortunately, it also breaks Bigtable's unit tests: ___ Test_retry_read_rows_exception.test_w_deadline_exceeded_wrapped_in_grpc ____ s...

Opengraph URL: https://github.com/googleapis/python-api-core/issues/297

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Requiring `trailing_metadata` is a breaking change","articleBody":"PR #286 added support for showing error status details -- unfortunately, it also [breaks Bigtable's unit tests](https://source.cloud.google.com/results/invocations/539e41cd-9cfd-4db7-9f53-f5da66016909/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigtable%2Fpresubmit%2Fpresubmit/log):\r\n\r\n```python\r\n___ Test_retry_read_rows_exception.test_w_deadline_exceeded_wrapped_in_grpc ____\r\n\r\nself = \u003ctests.unit.test_row_data.Test_retry_read_rows_exception testMethod=test_w_deadline_exceeded_wrapped_in_grpc\u003e\r\n\r\n    def test_w_deadline_exceeded_wrapped_in_grpc(self):\r\n        from google.api_core.exceptions import DeadlineExceeded\r\n\r\n        wrapped = DeadlineExceeded(\"testing\")\r\n        exception = self._make_grpc_call_error(wrapped)\r\n\u003e       self.assertTrue(self._call_fut(exception))\r\n\r\ntests/unit/test_row_data.py:324:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\ntests/unit/test_row_data.py:268: in _call_fut\r\n    return _retry_read_rows_exception(exc)\r\ngoogle/cloud/bigtable/row_data.py:333: in _retry_read_rows_exception\r\n    exc = exceptions.from_grpc_error(exc)\r\n.nox/unit-3-9/lib/python3.9/site-packages/google/api_core/exceptions.py:537: in from_grpc_error\r\n    details=_parse_grpc_error_details(rpc_exc),\r\n.nox/unit-3-9/lib/python3.9/site-packages/google/api_core/exceptions.py:490: in _parse_grpc_error_details\r\n    status = rpc_status.from_call(rpc_exc)\r\n.nox/unit-3-9/lib/python3.9/site-packages/grpc_status/rpc_status.py:48: in from_call\r\n    if call.trailing_metadata() is None:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = TestingException(DeadlineExceeded('testing'))\r\n\r\n    @abc.abstractmethod\r\n    def trailing_metadata(self):\r\n        \"\"\"Accesses the trailing metadata sent by the server.\r\n\r\n        This method blocks until the value is available.\r\n\r\n        Returns:\r\n          The trailing :term:`metadata`.\r\n        \"\"\"\r\n\u003e       raise NotImplementedError()\r\nE       NotImplementedError\r\n\r\n.nox/unit-3-9/lib/python3.9/site-packages/grpc/__init__.py:382: NotImplementedError\r\n__________ Test_retry_read_rows_exception.test_w_miss_wrapped_in_grpc __________\r\n\r\nself = \u003ctests.unit.test_row_data.Test_retry_read_rows_exception testMethod=test_w_miss_wrapped_in_grpc\u003e\r\n\r\n    def test_w_miss_wrapped_in_grpc(self):\r\n        from google.api_core.exceptions import Conflict\r\n\r\n        wrapped = Conflict(\"testing\")\r\n        exception = self._make_grpc_call_error(wrapped)\r\n\u003e       self.assertFalse(self._call_fut(exception))\r\n\r\ntests/unit/test_row_data.py:310:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\ntests/unit/test_row_data.py:268: in _call_fut\r\n    return _retry_read_rows_exception(exc)\r\ngoogle/cloud/bigtable/row_data.py:333: in _retry_read_rows_exception\r\n    exc = exceptions.from_grpc_error(exc)\r\n.nox/unit-3-9/lib/python3.9/site-packages/google/api_core/exceptions.py:537: in from_grpc_error\r\n    details=_parse_grpc_error_details(rpc_exc),\r\n.nox/unit-3-9/lib/python3.9/site-packages/google/api_core/exceptions.py:490: in _parse_grpc_error_details\r\n    status = rpc_status.from_call(rpc_exc)\r\n.nox/unit-3-9/lib/python3.9/site-packages/grpc_status/rpc_status.py:48: in from_call\r\n    if call.trailing_metadata() is None:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = TestingException(Conflict('testing'))\r\n\r\n    @abc.abstractmethod\r\n    def trailing_metadata(self):\r\n        \"\"\"Accesses the trailing metadata sent by the server.\r\n\r\n        This method blocks until the value is available.\r\n\r\n        Returns:\r\n          The trailing :term:`metadata`.\r\n        \"\"\"\r\n\u003e       raise NotImplementedError()\r\nE       NotImplementedError\r\n\r\n.nox/unit-3-9/lib/python3.9/site-packages/grpc/__init__.py:382: NotImplementedError\r\n__ Test_retry_read_rows_exception.test_w_service_unavailable_wrapped_in_grpc ___\r\n\r\nself = \u003ctests.unit.test_row_data.Test_retry_read_rows_exception testMethod=test_w_service_unavailable_wrapped_in_grpc\u003e\r\n\r\n    def test_w_service_unavailable_wrapped_in_grpc(self):\r\n        from google.api_core.exceptions import ServiceUnavailable\r\n\r\n        wrapped = ServiceUnavailable(\"testing\")\r\n        exception = self._make_grpc_call_error(wrapped)\r\n\u003e       self.assertTrue(self._call_fut(exception))\r\n\r\ntests/unit/test_row_data.py:317:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\ntests/unit/test_row_data.py:268: in _call_fut\r\n    return _retry_read_rows_exception(exc)\r\ngoogle/cloud/bigtable/row_data.py:333: in _retry_read_rows_exception\r\n    exc = exceptions.from_grpc_error(exc)\r\n.nox/unit-3-9/lib/python3.9/site-packages/google/api_core/exceptions.py:537: in from_grpc_error\r\n    details=_parse_grpc_error_details(rpc_exc),\r\n.nox/unit-3-9/lib/python3.9/site-packages/google/api_core/exceptions.py:490: in _parse_grpc_error_details\r\n    status = rpc_status.from_call(rpc_exc)\r\n.nox/unit-3-9/lib/python3.9/site-packages/grpc_status/rpc_status.py:48: in from_call\r\n    if call.trailing_metadata() is None:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = TestingException(ServiceUnavailable('testing'))\r\n\r\n    @abc.abstractmethod\r\n    def trailing_metadata(self):\r\n        \"\"\"Accesses the trailing metadata sent by the server.\r\n\r\n        This method blocks until the value is available.\r\n\r\n        Returns:\r\n          The trailing :term:`metadata`.\r\n        \"\"\"\r\n\u003e       raise NotImplementedError()\r\nE       NotImplementedError\r\n\r\n.nox/unit-3-9/lib/python3.9/site-packages/grpc/__init__.py:382: NotImplementedError\r\n```","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2021-10-27T18:55:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/297/python-api-core/issues/297"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7ffb025a-ce17-10b1-eb01-4ebd78f85ecc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9D94:2E1FD9:C71CB5:1127C2F:6A4DCC6A
html-safe-nonce248a5aa782307344b5aa77f4bf6154c5ccd29c0dd6826a112e3aeccc74609732
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDk0OjJFMUZEOTpDNzFDQjU6MTEyN0MyRjo2QTREQ0M2QSIsInZpc2l0b3JfaWQiOiIxNDk5NDEwNTA2ODY3MTMzNTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6641cc66bd663b122a8f84cbafa5a0d02bb24c665a3b1980e4a13bd310b29a3c
hovercard-subject-tagissue:1037753112
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-api-core/297/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c8dca284b1af5cfeaaec15bdb75117891f8f781de34060f524e7bfad876bbff7/googleapis/python-api-core/issues/297
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c8dca284b1af5cfeaaec15bdb75117891f8f781de34060f524e7bfad876bbff7/googleapis/python-api-core/issues/297
og:image:altPR #286 added support for showing error status details -- unfortunately, it also breaks Bigtable's unit tests: ___ Test_retry_read_rows_exception.test_w_deadline_exceeded_wrapped_in_grpc ____ self ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametseaver
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992456
octolytics-dimension-repository_nwogoogleapis/python-api-core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992456
octolytics-dimension-repository_network_root_nwogoogleapis/python-api-core
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-api-core/issues/297#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fissues%2F297
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fissues%2F297
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fpython-api-core
Reloadhttps://github.com/googleapis/python-api-core/issues/297
Reloadhttps://github.com/googleapis/python-api-core/issues/297
Reloadhttps://github.com/googleapis/python-api-core/issues/297
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/297
googleapis https://github.com/googleapis
python-api-corehttps://github.com/googleapis/python-api-core
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Fork 97 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Star 144 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Code https://github.com/googleapis/python-api-core
Issues 0 https://github.com/googleapis/python-api-core/issues
Pull requests 0 https://github.com/googleapis/python-api-core/pulls
Actions https://github.com/googleapis/python-api-core/actions
Projects https://github.com/googleapis/python-api-core/projects
Security and quality 0 https://github.com/googleapis/python-api-core/security
Insights https://github.com/googleapis/python-api-core/pulse
Code https://github.com/googleapis/python-api-core
Issues https://github.com/googleapis/python-api-core/issues
Pull requests https://github.com/googleapis/python-api-core/pulls
Actions https://github.com/googleapis/python-api-core/actions
Projects https://github.com/googleapis/python-api-core/projects
Security and quality https://github.com/googleapis/python-api-core/security
Insights https://github.com/googleapis/python-api-core/pulse
#298https://github.com/googleapis/python-api-core/pull/298
Requiring trailing_metadata is a breaking changehttps://github.com/googleapis/python-api-core/issues/297#top
#298https://github.com/googleapis/python-api-core/pull/298
https://github.com/tseaver
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/tseaver
tseaverhttps://github.com/tseaver
on Oct 27, 2021https://github.com/googleapis/python-api-core/issues/297#issue-1037753112
#286https://github.com/googleapis/python-api-core/pull/286
breaks Bigtable's unit testshttps://source.cloud.google.com/results/invocations/539e41cd-9cfd-4db7-9f53-f5da66016909/targets/cloud-devrel%2Fclient-libraries%2Fpython%2Fgoogleapis%2Fpython-bigtable%2Fpresubmit%2Fpresubmit/log
tseaverhttps://github.com/tseaver
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.