refactor(quality): name the unused job event loop variable

This commit is contained in:
Vito Sansevero
2026-10-30 21:39:38 -07:00
parent 8eacf951d4
commit 51147a2440
+1 -1
View File
@@ -250,7 +250,7 @@ class JobRoutesMixin:
try:
await response.write(_summary_event(job))
async with contextlib.aclosing(job.events()) as events:
async for _payload in events:
async for _ in events:
await response.write(_summary_event(job))
# The last event is published before the job takes its final state.
await response.write(_summary_event(job))