Commit 0603b3b
Use datetime.timedelta in openai_agents samples (#312)
workflow.timedelta was an incidental re-export from temporalio's
old workflow.py module. The refactor to a workflow package in
temporalio/sdk-python#1488 dropped it, so use datetime.timedelta
directly (matches the rest of the repo).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b713c08 commit 0603b3b
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- openai_agents
- basic/workflows
- reasoning_content/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments