From b16befc9e93bda1a815d201ca9269e68ec5b3c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 30 Mar 2026 13:56:25 -0700 Subject: [PATCH] transports(daily): remove deprecated frames --- src/pipecat/transports/daily/transport.py | 77 ----------------------- 1 file changed, 77 deletions(-) diff --git a/src/pipecat/transports/daily/transport.py b/src/pipecat/transports/daily/transport.py index 8ef94ae40..6b5f3e909 100644 --- a/src/pipecat/transports/daily/transport.py +++ b/src/pipecat/transports/daily/transport.py @@ -99,58 +99,6 @@ class DailyOutputTransportMessageUrgentFrame(OutputTransportMessageUrgentFrame): participant_id: Optional[str] = None -@dataclass -class DailyTransportMessageFrame(DailyOutputTransportMessageFrame): - """Frame for transport messages in Daily calls. - - .. deprecated:: 0.0.87 - This frame is deprecated and will be removed in a future version. - Instead, use `DailyOutputTransportMessageFrame`. - - Parameters: - participant_id: Optional ID of the participant this message is for/from. - """ - - def __post_init__(self): - super().__post_init__() - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "DailyTransportMessageFrame is deprecated and will be removed in a future version. " - "Instead, use DailyOutputTransportMessageFrame.", - DeprecationWarning, - stacklevel=2, - ) - - -@dataclass -class DailyTransportMessageUrgentFrame(DailyOutputTransportMessageUrgentFrame): - """Frame for urgent transport messages in Daily calls. - - .. deprecated:: 0.0.87 - This frame is deprecated and will be removed in a future version. - Instead, use `DailyOutputTransportMessageUrgentFrame`. - - Parameters: - participant_id: Optional ID of the participant this message is for/from. - """ - - def __post_init__(self): - super().__post_init__() - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "DailyTransportMessageUrgentFrame is deprecated and will be removed in a future version. " - "Instead, use DailyOutputTransportMessageUrgentFrame.", - DeprecationWarning, - stacklevel=2, - ) - - @dataclass class DailyInputTransportMessageFrame(InputTransportMessageFrame): """Frame for input urgent transport messages in Daily calls. @@ -162,31 +110,6 @@ class DailyInputTransportMessageFrame(InputTransportMessageFrame): participant_id: Optional[str] = None -class DailyInputTransportMessageUrgentFrame(DailyInputTransportMessageFrame): - """Frame for input urgent transport messages in Daily calls. - - .. deprecated:: 0.0.87 - This frame is deprecated and will be removed in a future version. - Instead, use `DailyInputTransportMessageFrame`. - - Parameters: - participant_id: Optional ID of the participant this message is for/from. - """ - - def __post_init__(self): - super().__post_init__() - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "DailyInputTransportMessageUrgentFrame is deprecated and will be removed in a future version. " - "Instead, use DailyInputTransportMessageFrame.", - DeprecationWarning, - stacklevel=2, - ) - - @dataclass class DailySIPTransferFrame(DataFrame): """SIP call transfer frame for transport queuing.