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

Fix _stream_unary not working with empty iterables #422

Merged
merged 3 commits into from
Oct 17, 2023
Merged

Fix _stream_unary not working with empty iterables #422

merged 3 commits into from
Oct 17, 2023

Conversation

spietras
Copy link
Contributor

  • _stream_unary now sends request first, so even if iterable is empty, the request is sent
  • Added tests to check if stream_unary and stream_stream methods work with empty iterables
  • Fixed do_many_thing method in ThingService using for instead of async for on Stream

Closes #421

@cetanu cetanu merged commit e309513 into danielgtaylor:master Oct 17, 2023
@spietras spietras deleted the empty-iterables branch December 29, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

_stream_unary doesn't work with empty iterables
2 participants