-
Notifications
You must be signed in to change notification settings - Fork 9.9k
[Workflows] Creating new Python SDK folder #24009
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:
|
ff6200a to
939d1cf
Compare
1201284 to
3e49cb0
Compare
3e49cb0 to
a5a4596
Compare
a5a4596 to
0204fe3
Compare
|
|
||
| You must add the `python_workflows` compatibility flag to your `wrangler.toml` file, as well as `python_workers`. | ||
|
|
||
| Join the #python-workflows channel in the [Cloudflare Developers Discord](https://discord.cloudflare.com/) and let us know what you'd like to see next. |
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.
Do we want to support another discord channel? Seems like we could just invite them to the #workflows channel itself?
Not sure if this is standard for betas though.
|
|
||
| ## Get Started | ||
|
|
||
| Similarly to Typescript, the main entrypoint for a Python workflow is the [`WorkflowEntrypoint`](/workflows/build/workers-api/#workflowentrypoint) class. Your workflow logic should exist inside the [`run`](/workflows/build/workers-api/#run) handler. In a Python workflow, this handler is named `on_run`. |
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.
Minor grammatical nit, not sure if we need "Similarly to Typescript", my suspicion is that Python users are going to be net new and not users of of our Typescript SDK.
* Creating new Python SDK folder * Adds snippets for all step methods and event param --------- Co-authored-by: Caio Nogueira <[email protected]>
Summary
Screenshots (optional)
Documentation checklist