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.