Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: handle empty response in sync pull samples #586

Merged
merged 1 commit into from Feb 15, 2022
Merged

Conversation

anguillanneuf
Copy link
Contributor

@anguillanneuf anguillanneuf commented Feb 15, 2022

Exit early if the response is empty / no messages are pulled.

@anguillanneuf anguillanneuf requested review from a team as code owners February 15, 2022 00:04
@product-auto-label product-auto-label bot added api: pubsub Issues related to the googleapis/python-pubsub API. samples Issues that are directly related to samples. labels Feb 15, 2022
@leahecole leahecole merged commit 492bb81 into main Feb 15, 2022
@leahecole leahecole deleted the pull-zero branch February 15, 2022 05:20
@pradn pradn mentioned this pull request Mar 4, 2022
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. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants