diff --git a/studio/backend/core/training/diffusion_training_service.py b/studio/backend/core/training/diffusion_training_service.py index 091f7b881c..92621931f7 100644 --- a/studio/backend/core/training/diffusion_training_service.py +++ b/studio/backend/core/training/diffusion_training_service.py @@ -193,7 +193,11 @@ class DiffusionTrainingService: if ev.get("type") in _TERMINAL: return - def _apply_event(self, ev: dict[str, Any], proc: Any = None) -> None: + def _apply_event( + self, + ev: dict[str, Any], + proc: Any = None, + ) -> None: """Fold one trainer event into the status snapshot. Pure state update -- unit tested by feeding events directly. ``proc`` (when given) fences a stale pump: an event from a superseded job's process must not touch the current job's