GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: incorporate will_accept() checks into publish() by IlyaFaer · Pull Request #108 · googleapis/python-pubsub

This repository was archived by the owner on Oct 13, 2026. It is now read-only.

Conversation

@IlyaFaer

@IlyaFaer IlyaFaer commented May 28, 2020

Copy link
Copy Markdown

Closes #105

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
IlyaFaer
refactor: incorporate will_accept() checks into publish()
60b8912
@IlyaFaer IlyaFaer added api: pubsub Issues related to the googleapis/python-pubsub API. type: cleanup An internal cleanup or hygiene concern. labels May 28, 2020
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 28, 2020
IlyaFaer
delete will_accept() method
1377eec
IlyaFaer
IlyaFaer commented May 28, 2020
View reviewed changes
Comment thread google/cloud/pubsub_v1/publisher/_batch/base.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@IlyaFaer
IlyaFaer requested a review from pradn May 28, 2020 10:56
@IlyaFaer
IlyaFaer marked this pull request as ready for review May 28, 2020 10:56
pradn
pradn suggested changes May 28, 2020
View reviewed changes

@pradn pradn left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on! I think we need to retain/add some tests. Otherwise, looks good.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/unit/pubsub_v1/publisher/batch/test_base.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/unit/pubsub_v1/publisher/batch/test_thread.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

IlyaFaer added 2 commits June 2, 2020 13:27
IlyaFaer
add unit tests
4f64faa
IlyaFaer
Merge branch 'master' into erase_will_accept_method
1841fff
pradn
pradn suggested changes Jun 5, 2020
View reviewed changes
Comment thread tests/unit/pubsub_v1/publisher/batch/test_thread.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

IlyaFaer
add zero max messages unit test
70b7cd5
pradn
pradn approved these changes Jun 5, 2020
View reviewed changes

@pradn pradn left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks good!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pradn
Merge branch 'master' into erase_will_accept_method
c6944c9
@pradn pradn added the automerge Merge the pull request once unit tests and other checks pass. label Jun 9, 2020
@gcf-merge-on-green

gcf-merge-on-green Bot commented Jun 9, 2020

Copy link
Copy Markdown

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@gcf-merge-on-green

gcf-merge-on-green Bot commented Jun 9, 2020

Copy link
Copy Markdown

Your PR has attempted to merge for 3 hours. Please check that all required checks have passed, you have an automerge label, and that all your reviewers have approved the PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@meredithslota
meredithslota requested a review from plamut June 9, 2020 20:53
@pradn
pradn merged commit 6c7677e into googleapis:master Jun 9, 2020
@pradn

pradn commented Jun 9, 2020

Copy link
Copy Markdown
Contributor

Thanks @IlyaFaer !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pradn pradn mentioned this pull request Jun 9, 2020
chore: release 1.6.0 #116
Closed
@release-please release-please Bot mentioned this pull request Jun 9, 2020
chore: release 1.6.0 #117
Merged
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jun 9, 2020
@release-please
chore: release 1.6.0 (#117)
60fe71a
## [1.6.0](https://www.github.com/googleapis/python-pubsub/compare/v1.5.0...v1.6.0) (2020-06-09)

### Features

* Add flow control for message publishing ([#96](https://www.github.com/googleapis/python-pubsub/issues/96)) ([06085c4](https://www.github.com/googleapis/python-pubsub/commit/06085c4083b9dccdd50383257799904510bbf3a0))


### Bug Fixes

* Fix PubSub incompatibility with api-core 1.17.0+ ([#103](https://www.github.com/googleapis/python-pubsub/issues/103)) ([c02060f](https://www.github.com/googleapis/python-pubsub/commit/c02060fbbe6e2ca4664bee08d2de10665d41dc0b))


### Documentation
- Clarify that Schedulers shouldn't be used with multiple SubscriberClients ([#100](#100)) ([cf9e87c](cf9e87c))
- Fix update subscription/snapshot/topic samples ([#113](#113)) ([e62c38b](e62c38b))


### Internal / Testing Changes
- Re-generated service implementaton using synth: removed experimental notes from the RetryPolicy and filtering features in anticipation of GA, added DetachSubscription (experimental) ([#114](#114)) ([0132a46](0132a46))
- Incorporate will_accept() checks into publish() ([#108](#108)) ([6c7677e](6c7677e))
@IlyaFaer
IlyaFaer deleted the erase_will_accept_method branch June 10, 2020 07:26
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Mar 2, 2026
@release-please
chore: release 1.6.0 (#117)
61e2b02
## [1.6.0](https://www.github.com/googleapis/python-pubsub/compare/v1.5.0...v1.6.0) (2020-06-09)

### Features

* Add flow control for message publishing ([#96](https://www.github.com/googleapis/python-pubsub/issues/96)) ([06085c4](https://www.github.com/googleapis/python-pubsub/commit/06085c4083b9dccdd50383257799904510bbf3a0))


### Bug Fixes

* Fix PubSub incompatibility with api-core 1.17.0+ ([#103](https://www.github.com/googleapis/python-pubsub/issues/103)) ([c02060f](https://www.github.com/googleapis/python-pubsub/commit/c02060fbbe6e2ca4664bee08d2de10665d41dc0b))


### Documentation
- Clarify that Schedulers shouldn't be used with multiple SubscriberClients ([#100](googleapis/python-pubsub#100)) ([cf9e87c](googleapis/python-pubsub@cf9e87c))
- Fix update subscription/snapshot/topic samples ([#113](googleapis/python-pubsub#113)) ([e62c38b](googleapis/python-pubsub@e62c38b))


### Internal / Testing Changes
- Re-generated service implementaton using synth: removed experimental notes from the RetryPolicy and filtering features in anticipation of GA, added DetachSubscription (experimental) ([#114](googleapis/python-pubsub#114)) ([0132a46](googleapis/python-pubsub@0132a46))
- Incorporate will_accept() checks into publish() ([#108](googleapis/python-pubsub#108)) ([6c7677e](googleapis/python-pubsub@6c7677e))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@plamut plamut Awaiting requested review from plamut
1 more reviewer
@pradn pradn pradn approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: pubsub Issues related to the googleapis/python-pubsub API. automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement. type: cleanup An internal cleanup or hygiene concern.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

unused message arg in Batch.will_accept()

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@IlyaFaer @pradn @plamut @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.