diff --git a/src/pipecat/frames/frames.py b/src/pipecat/frames/frames.py index decc58dfb..34cb85d66 100644 --- a/src/pipecat/frames/frames.py +++ b/src/pipecat/frames/frames.py @@ -907,32 +907,6 @@ class OutputTransportMessageFrame(DataFrame): return f"{self.name}(message: {self.message})" -@dataclass -class TransportMessageFrame(OutputTransportMessageFrame): - """Frame containing transport-specific message data. - - .. deprecated:: 0.0.87 - This frame is deprecated and will be removed in a future version. - Instead, use `OutputTransportMessageFrame`. - - Parameters: - message: The transport message payload. - """ - - def __post_init__(self): - super().__post_init__() - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "TransportMessageFrame is deprecated and will be removed in a future version. " - "Instead, use OutputTransportMessageFrame.", - DeprecationWarning, - stacklevel=2, - ) - - @dataclass class DTMFFrame: """Base class for DTMF (Dual-Tone Multi-Frequency) keypad frames. @@ -1393,32 +1367,6 @@ class InputTransportMessageFrame(SystemFrame): return f"{self.name}(message: {self.message})" -@dataclass -class InputTransportMessageUrgentFrame(InputTransportMessageFrame): - """Frame for transport messages received from external sources. - - .. deprecated:: 0.0.87 - This frame is deprecated and will be removed in a future version. - Instead, use `InputTransportMessageFrame`. - - Parameters: - message: The urgent transport message payload. - """ - - def __post_init__(self): - super().__post_init__() - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "InputTransportMessageUrgentFrame is deprecated and will be removed in a future version. " - "Instead, use InputTransportMessageFrame.", - DeprecationWarning, - stacklevel=2, - ) - - @dataclass class OutputTransportMessageUrgentFrame(SystemFrame): """Frame for urgent transport messages that need to be sent immediately. @@ -1433,32 +1381,6 @@ class OutputTransportMessageUrgentFrame(SystemFrame): return f"{self.name}(message: {self.message})" -@dataclass -class TransportMessageUrgentFrame(OutputTransportMessageUrgentFrame): - """Frame for urgent transport messages that need to be sent immediately. - - .. deprecated:: 0.0.87 - This frame is deprecated and will be removed in a future version. - Instead, use `OutputTransportMessageUrgentFrame`. - - Parameters: - message: The urgent transport message payload. - """ - - def __post_init__(self): - super().__post_init__() - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "TransportMessageUrgentFrame is deprecated and will be removed in a future version. " - "Instead, use OutputTransportMessageFrame.", - DeprecationWarning, - stacklevel=2, - ) - - @dataclass class UserImageRequestFrame(SystemFrame): """Frame requesting an image from a specific user.