Skip to content

Commit 35d363b

Browse files
committed
Minor CHANGELOG.md and README.md cleanup
1 parent e67fccd commit 35d363b

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,30 @@
22

33
### New
44

5-
- Add gRPC metadata option ([#16](https://github.com/microsoft/durabletask-python/pull/16)) - contributed by [@DeepanshuA](https://github.com/DeepanshuA)
5+
- Adds support for secure channels ([#18](https://github.com/microsoft/durabletask-python/pull/18)) - contributed by [@elena-kolevska](https://github.com/elena-kolevska)
66

77
### Fixed
88

99
- Fix zero argument values sent to activities as None ([#13](https://github.com/microsoft/durabletask-python/pull/13)) - contributed by [@DeepanshuA](https://github.com/DeepanshuA)
1010

11+
## v0.1.0a3
12+
13+
### New
14+
15+
- Add gRPC metadata option ([#16](https://github.com/microsoft/durabletask-python/pull/16)) - contributed by [@DeepanshuA](https://github.com/DeepanshuA)
16+
1117
### Changes
1218

1319
- Removed Python 3.7 support due to EOL ([#14](https://github.com/microsoft/durabletask-python/pull/14)) - contributed by [@berndverst](https://github.com/berndverst)
1420

15-
## v0.1.0b
21+
## v0.1.0a2
1622

1723
### New
1824

1925
- Continue-as-new ([#9](https://github.com/microsoft/durabletask-python/pull/9))
2026
- Support for Python 3.7+ ([#10](https://github.com/microsoft/durabletask-python/pull/10)) - contributed by [@DeepanshuA](https://github.com/DeepanshuA)
2127

22-
## v0.1.0a
28+
## v0.1.0a1
2329

2430
Initial release, which includes the following features:
2531

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
44
[![Build Validation](https://github.com/microsoft/durabletask-python/actions/workflows/pr-validation.yml/badge.svg)](https://github.com/microsoft/durabletask-python/actions/workflows/pr-validation.yml)
5+
[![PyPI version](https://badge.fury.io/py/durabletask.svg)](https://badge.fury.io/py/durabletask)
56

67
This repo contains a Python client SDK for use with the [Durable Task Framework for Go](https://github.com/microsoft/durabletask-go) and [Dapr Workflow](https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/). With this SDK, you can define, schedule, and manage durable orchestrations using ordinary Python code.
78

@@ -84,7 +85,7 @@ def purchase_order_workflow(ctx: task.OrchestrationContext, order: Order):
8485
return "Canceled"
8586

8687
# The order was approved
87-
ctx.call_activity(place_order, input=order)
88+
yield ctx.call_activity(place_order, input=order)
8889
approval_details = approval_event.get_result()
8990
return f"Approved by '{approval_details.approver}'"
9091
```

examples/human_interaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def purchase_order_workflow(ctx: task.OrchestrationContext, order: Order):
5151
return "Cancelled"
5252

5353
# The order was approved
54-
ctx.call_activity(place_order, input=order)
54+
yield ctx.call_activity(place_order, input=order)
5555
approval_details = approval_event.get_result()
5656
return f"Approved by '{approval_details.approver}'"
5757

0 commit comments

Comments
 (0)