style: Apply ruff formatting to fix line length
Fixed a line length issue in tavus.py where the on_transcription_stopped callback was exceeding the maximum line length. Split the partial() call across multiple lines for better readability and compliance with project style guidelines.
This commit is contained in:
@@ -245,7 +245,9 @@ class TavusTransportClient:
|
|||||||
on_recording_started=partial(self._on_handle_callback, "on_recording_started"),
|
on_recording_started=partial(self._on_handle_callback, "on_recording_started"),
|
||||||
on_recording_stopped=partial(self._on_handle_callback, "on_recording_stopped"),
|
on_recording_stopped=partial(self._on_handle_callback, "on_recording_stopped"),
|
||||||
on_recording_error=partial(self._on_handle_callback, "on_recording_error"),
|
on_recording_error=partial(self._on_handle_callback, "on_recording_error"),
|
||||||
on_transcription_stopped=partial(self._on_handle_callback, "on_transcription_stopped"),
|
on_transcription_stopped=partial(
|
||||||
|
self._on_handle_callback, "on_transcription_stopped"
|
||||||
|
),
|
||||||
on_transcription_error=partial(self._on_handle_callback, "on_transcription_error"),
|
on_transcription_error=partial(self._on_handle_callback, "on_transcription_error"),
|
||||||
)
|
)
|
||||||
self._client = DailyTransportClient(
|
self._client = DailyTransportClient(
|
||||||
|
|||||||
Reference in New Issue
Block a user