From 67107d02ed09994a382560fc525ad04ac6286eec Mon Sep 17 00:00:00 2001 From: richtermb Date: Tue, 29 Jul 2025 11:53:41 -0700 Subject: [PATCH] Refactor callback invocation for on_transcription_stopped in DailyTransportClient for improved readability --- src/pipecat/transports/services/daily.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index cd01c23a4..1ad443cb5 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -1237,7 +1237,9 @@ class DailyTransportClient(EventHandler): stopped_by_error: Whether stopped due to error. """ logger.debug("Transcription stopped") - self._call_event_callback(self._callbacks.on_transcription_stopped, stopped_by, stopped_by_error) + self._call_event_callback( + self._callbacks.on_transcription_stopped, stopped_by, stopped_by_error + ) def on_transcription_error(self, message): """Handle transcription error events.