Skip to content

Commit 0cd55d2

Browse files
committed
- created changelog entry for Python Workflows beta release
1 parent 197fc07 commit 0cd55d2

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Python Workflows is now open beta
3+
description: Python Workflows is now open beta - build Workflows in Python.
4+
products:
5+
- workflows
6+
- workers
7+
date: 2025-08-22
8+
---
9+
10+
import { Render, PackageManagers, TypeScriptExample } from "~/components"
11+
12+
[Python Workflows](/workflows/python/) is now in open beta, and available to any developer a free or paid Workers plan.
13+
14+
Workflow entrypoints can now be declared using Python. Here's an example of how to now define a Python Workflow:
15+
16+
```python
17+
from workers import Response, WorkflowEntrypoint
18+
19+
class PythonWorkflowStarter(WorkflowEntrypoint):
20+
async def run(self, event, step):
21+
@step.do("my first step")
22+
async def my_first_step():
23+
# do some work
24+
return "Hello Python!"
25+
26+
await my_first_step()
27+
28+
await step.sleep("my-sleep-step", "10 seconds")
29+
30+
@step.do("my second step")
31+
async def my_second_step():
32+
# do some more work
33+
return "Hello again!"
34+
35+
await my_second_step()
36+
37+
async def fetch(request, env):
38+
await env.MY_WORKFLOW.create()
39+
return Response("Hello Workflow creation!")
40+
```
41+
42+
More information:
43+
44+
- Python Workflows [get started guide](/workflows/python/)
45+
- Learn the [Python Workflows API](/workflows/python/python-workers-api/).
46+
- [Interact with a Python Workflow](/workflows/python/bindings/) via your Workers apps.

src/content/release-notes/workflows.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ link: "/workflows/reference/changelog/"
33
productName: Workflows
44
productLink: "/workflows/"
55
entries:
6+
- publish_date: "2025-08-22"
7+
title: "Python Workflows is now open beta"
8+
description: |-
9+
[Python Workflows](/workflows/python/) is now in open beta, and available to any developer a free or paid Workers plan.
10+
11+
More information available in the [changelog](/changelog/2025-08-22-workflows-python-beta/).
612
- publish_date: "2025-05-07"
713
title: "Search for specific Workflows"
814
description: |-

0 commit comments

Comments
 (0)