From c5edbf4b7520a0c279a10787b6a67846cf599748 Mon Sep 17 00:00:00 2001 From: Maxim Makatchev Date: Fri, 17 Jan 2025 12:27:04 +0900 Subject: [PATCH] Made InputDTMFFrame a DataFrame and moved up to data frames --- src/pipecat/frames/frames.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pipecat/frames/frames.py b/src/pipecat/frames/frames.py index 6f0861a37..93ef18c42 100644 --- a/src/pipecat/frames/frames.py +++ b/src/pipecat/frames/frames.py @@ -393,6 +393,13 @@ class TransportMessageFrame(DataFrame): return f"{self.name}(message: {self.message})" +@dataclass +class InputDTMFFrame(DataFrame): + """A DTMF button input""" + + button: KeypadEntry + + # # System frames # @@ -633,13 +640,6 @@ class VisionImageRawFrame(InputImageRawFrame): return f"{self.name}(pts: {pts}, text: [{self.text}], size: {self.size}, format: {self.format})" -@dataclass -class InputDTMFFrame(Frame): - """A DTMF button input""" - - button: KeypadEntry - - # # Control frames #