Skip to content

Commit fc90f36

Browse files
committed
fix(docs): add ctx param to retry sample README snippet
Change-Id: I4ad9994d95618ea1577951a856ce105db8411400
1 parent 12c5efa commit fc90f36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contributing/workflow_samples/retry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This sample demonstrates a `get_weather` node that intentionally fails randomly
3535

3636
```python
3737
@node(retry_config=RetryConfig(max_retries=5, initial_delay=1))
38-
def get_weather() -> str:
38+
def get_weather(ctx: Context) -> str:
3939
# ... flaky logic here ...
4040
```
4141

0 commit comments

Comments
 (0)