Skip to content

fix: error on empty iterable when writing stream#205

Merged
bdewilde merged 1 commit intodevelopfrom
fix-no-rows-write-stream-error
Feb 27, 2026
Merged

fix: error on empty iterable when writing stream#205
bdewilde merged 1 commit intodevelopfrom
fix-no-rows-write-stream-error

Conversation

@bdewilde
Copy link
Member

@bdewilde bdewilde commented Feb 27, 2026

changes

catches StopIteration when trying to next() an empty iterable in tabular.write_stream(), and bails out by just writing a header (no rows of actual data)

context

user testing bug report
https://app.asana.com/1/6325821815997/project/1206730431337718/task/1213360108705717?focus=true

questions

@bdewilde bdewilde marked this pull request as ready for review February 27, 2026 00:27
@cursor
Copy link

cursor bot commented Feb 27, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 20.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@bdewilde bdewilde merged commit 5449079 into develop Feb 27, 2026
6 checks passed
@bdewilde bdewilde deleted the fix-no-rows-write-stream-error branch February 27, 2026 00:28
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.

1 participant