Skip to content

Fix UnboundLocalError in retrieve_http when using pager#82

Merged
koenvo merged 1 commit intomainfrom
fix/retrieve-http-pager-unbound
Apr 23, 2026
Merged

Fix UnboundLocalError in retrieve_http when using pager#82
koenvo merged 1 commit intomainfrom
fix/retrieve-http-pager-unbound

Conversation

@koenvo
Copy link
Copy Markdown
Contributor

@koenvo koenvo commented Apr 23, 2026

The pager branch only set stream and content_length before building the DraftFile, leaving content_compression_method unbound. Pager output is freshly JSON-encoded so it's never compressed — set it to None explicitly.

The pager branch only set `stream` and `content_length` before building the
DraftFile, leaving `content_compression_method` unbound. Pager output is
freshly JSON-encoded so it's never compressed — set it to None explicitly.
@koenvo koenvo merged commit 4007566 into main Apr 23, 2026
13 checks passed
@koenvo koenvo deleted the fix/retrieve-http-pager-unbound branch April 23, 2026 09: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.

1 participant