python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

Fix `_stream_unary` not working with empty iterables

Open spietras opened this issue 1 year ago • 0 comments

  • _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

spietras avatar Sep 22 '22 19:09 spietras