Skip to content

Adds support for bytes passed to Python's Response constructor - #5547

Merged
dom96 merged 1 commit into
mainfrom
dominik/python-sdk-bytes
Nov 26, 2025
Merged

Adds support for bytes passed to Python's Response constructor#5547
dom96 merged 1 commit into
mainfrom
dominik/python-sdk-bytes

Conversation

@dom96

@dom96 dom96 commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

Discovered here cloudflare/python-workers-examples#49

Enables users to pass in bytes in a Python Workers Response

Test Plan

$ bazel run @workerd//src/workerd/server/tests/python:sdk_0.28.2@

@dom96
dom96 requested a review from hoodmane November 18, 2025 18:01
@dom96
dom96 requested review from a team as code owners November 18, 2025 18:01
Comment thread src/pyodide/internal/workers-api/src/workers/_workers.py Outdated
@dom96
dom96 force-pushed the dominik/python-sdk-bytes branch from 8cc804f to 85c8668 Compare November 19, 2025 11:50
Comment thread src/pyodide/internal/workers-api/src/workers/_workers.py Outdated
@dom96
dom96 force-pushed the dominik/python-sdk-bytes branch from 85c8668 to 5762112 Compare November 25, 2025 17:03
@dom96
dom96 force-pushed the dominik/python-sdk-bytes branch from 5762112 to 9bb6f6c Compare November 25, 2025 17:19

@hoodmane hoodmane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dom96
dom96 merged commit 7cf6fb9 into main Nov 26, 2025
43 of 47 checks passed
@dom96
dom96 deleted the dominik/python-sdk-bytes branch November 26, 2025 12:12
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.

3 participants