Commit 85726bc
python: address telemetry review nits
- Use asyncio.create_task instead of the legacy asyncio.ensure_future when
scheduling awaitable notification handlers on the event loop thread.
- Drop the redundant local `import asyncio` in the telemetry transport test
(asyncio is already imported at module scope), clearing CodeQL
py/repeated-import.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent da54ca3 commit 85726bc
2 files changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
2345 | | - | |
2346 | | - | |
2347 | 2345 | | |
2348 | 2346 | | |
2349 | 2347 | | |
| |||
0 commit comments