From 51147a2440f3ff8cc6e7d78af2cb3053bbd2458c Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Fri, 30 Oct 2026 21:39:38 -0700 Subject: [PATCH] refactor(quality): name the unused job event loop variable --- py/api/job_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/api/job_routes.py b/py/api/job_routes.py index 82dcbfcb..ce013446 100644 --- a/py/api/job_routes.py +++ b/py/api/job_routes.py @@ -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))