Skip to content

Conversation

plamut
Copy link
Contributor

@plamut plamut commented Mar 31, 2021

Closes #350.

This PR patches the generated client to emit a DeprecationWarning if return_immediately flag is set.

PR checklist

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

This flag is deprecated and should always be set to `False` when
pulling messages synchronously.
@plamut plamut requested a review from a team as a code owner March 31, 2021 12:07
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Mar 31, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 31, 2021
@plamut plamut merged commit 20f0712 into googleapis:master Mar 31, 2021
@plamut plamut deleted the iss-350 branch March 31, 2021 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate 'return_immediately' argument
2 participants