Update Python Workflow sample to dapr-ext-workflow v0.3.0 (#175)

Signed-off-by: Chris Gillum <cgillum@microsoft.com>
This commit is contained in:
Chris Gillum 2023-11-16 16:41:37 -08:00 committed by GitHub
parent fe2e0c109a
commit da3611f5b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -5,7 +5,7 @@
| Attribute | Details |
|--------|--------|
| Dapr runtime version | 1.12.0 |
| Dapr Workflow Python SDK | v0.2.0 |
| Dapr Workflow Python SDK | v0.3.0 |
| Language | Python |
| Environment | Local |
@ -251,4 +251,3 @@ If you want to exercise the error handling path of the workflow, you can put the
1. You can also see the failed workflow in Zipkin, which should look something like this:
![Zipkin UI for failure](./zipkin-workflow-failure.png)

View File

@ -18,11 +18,11 @@ Content-Type: application/json
### Get the status of an order
GET http://localhost:3000/orders/order_casey_6glku
GET http://localhost:3000/orders/xxx
### Approve an order
POST http://localhost:3000/orders/order_riley_xcgyz/approve
POST http://localhost:3000/orders/xxx/approve
Content-Type: application/json
{"approver": "Chris", "approved": true}

View File

@ -1,2 +1,2 @@
dapr-ext-workflow >= 0.2.0
dapr-ext-workflow >= 0.3.0
flask >= 3.0.0