Commit 552e43e
Fix: remove dead copy_context() call in run_with
copy_context() was assigned but never used — ctx.run() does not work
for async functions (it returns a coroutine without executing the body).
The token-based _settings.set()/_settings.reset(tok) pattern is already
re-entrant safe, and asyncio Task-per-request isolation covers the ASGI
deployment. No behavioral change.
Closes #91
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 241c660 commit 552e43e
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
582 | 581 | | |
583 | 582 | | |
584 | 583 | | |
| |||
0 commit comments