-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Update Python Worker docs to use default entrypoint handlers. #24392
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
Conversation
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
mikenomitch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1ed to unblock but added a couple questions in comments
8fdcd97 to
04c7217
Compare
|
This PR requires additional review attention because it affects the following areas: PartialsThis PR updates partial files, which are pieces of content used across multiple files in our Render component.
|
04c7217 to
bba2642
Compare
94dc061 to
b499756
Compare
b499756 to
9a1af27
Compare
Since #24392, most of the Python examples use env and ctx incorrectly. This fixes it. I also replaced all tabs with spaces in signing-requests.mdx.
Since #24392, most of the Python examples use env and ctx incorrectly. This fixes it. I also replaced all tabs with spaces in signing-requests.mdx.
Summary
Python Workers has a new compat flag which becomes default on 2025-08-14. At which point the global handlers won't be supported in Python anymore. This PR updates all example usage of Python Workers to use the new way of defining the handlers: inside a
Defaultclass.Documentation checklist