FrameSerializer: subclass from BaseObject so we can add events
This commit is contained in:
1
changelog/3560.changed.md
Normal file
1
changelog/3560.changed.md
Normal file
@@ -0,0 +1 @@
|
||||
- `FrameSerializer` now subclasses from `BaseObject` to enable event support.
|
||||
@@ -9,9 +9,10 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from pipecat.frames.frames import Frame, StartFrame
|
||||
from pipecat.utils.base_object import BaseObject
|
||||
|
||||
|
||||
class FrameSerializer(ABC):
|
||||
class FrameSerializer(BaseObject):
|
||||
"""Abstract base class for frame serialization implementations.
|
||||
|
||||
Defines the interface for converting frames to/from serialized formats
|
||||
|
||||
Reference in New Issue
Block a user