Title: unused message arg in Batch.will_accept() · Issue #105 · googleapis/python-pubsub · GitHub
Open Graph Title: unused message arg in Batch.will_accept() · Issue #105 · googleapis/python-pubsub
X Title: unused message arg in Batch.will_accept() · Issue #105 · googleapis/python-pubsub
Description: Looks like message arg is never used by will_accept() method: python-pubsub/google/cloud/pubsub_v1/publisher/_batch/base.py Lines 112 to 136 in cf9e87c def will_accept(self, message): """Return True if the batch is able to accept the mes...
Open Graph Description: Looks like message arg is never used by will_accept() method: python-pubsub/google/cloud/pubsub_v1/publisher/_batch/base.py Lines 112 to 136 in cf9e87c def will_accept(self, message): """Return Tru...
X Description: Looks like message arg is never used by will_accept() method: python-pubsub/google/cloud/pubsub_v1/publisher/_batch/base.py Lines 112 to 136 in cf9e87c def will_accept(self, message): ""&...
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/105
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unused message arg in Batch.will_accept()","articleBody":"Looks like `message` arg is never used by `will_accept()` method:\r\nhttps://github.com/googleapis/python-pubsub/blob/cf9e87c80c0771f3fa6ef784a8d76cb760ad37ef/google/cloud/pubsub_v1/publisher/_batch/base.py#L112-L136\r\n\r\nMost likely it should be deleted to avoid any confusion, but I suppose it should be done with deprecation. `Batch()` is not something pretending to be manually used by users, but who knows.\r\n\r\n@pradn, please, comment","author":{"url":"https://github.com/IlyaFaer","@type":"Person","name":"IlyaFaer"},"datePublished":"2020-05-27T09:32:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/105/python-pubsub/issues/105"}
| 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:5079fb45-ecaa-bd71-dff0-891d540dce2f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAFA:34AAF2:12FD7BC:19FD7D0:6A4D7242 |
| html-safe-nonce | cb2762e4f3b2433dff01c4b4940f0f852e6126c14158fcc064ec097258fa8f3e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUZBOjM0QUFGMjoxMkZEN0JDOjE5RkQ3RDA6NkE0RDcyNDIiLCJ2aXNpdG9yX2lkIjoiMTA3OTU1MDc4NTEwMjQ0NDE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3a29eaf72869046aa6be4faf0b2a465dc9c5f9bc5f0d1c09ec4410bbda8b00c0 |
| hovercard-subject-tag | issue:625536072 |
| 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/105/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f59d48a309076437b0e1629f3af28c0c1e78346cf6c55824bc93ad16ce4b7a23/googleapis/python-pubsub/issues/105 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f59d48a309076437b0e1629f3af28c0c1e78346cf6c55824bc93ad16ce4b7a23/googleapis/python-pubsub/issues/105 |
| og:image:alt | Looks like message arg is never used by will_accept() method: python-pubsub/google/cloud/pubsub_v1/publisher/_batch/base.py Lines 112 to 136 in cf9e87c def will_accept(self, message): """Return Tru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | IlyaFaer |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| 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 | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width