rename models_vX to models.py and models_deprecated.py

This commit is contained in:
mattie ruth backman
2026-03-06 11:24:34 -05:00
committed by Mattie Ruth
parent da0975a4e0
commit 18494658c3
6 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ from pipecat.processors.frameworks.rtvi.frames import (
RTVIServerMessageFrame, RTVIServerMessageFrame,
RTVIServerResponseFrame, RTVIServerResponseFrame,
) )
from pipecat.processors.frameworks.rtvi.models_v0 import ( from pipecat.processors.frameworks.rtvi.models_deprecated import (
ActionResult, ActionResult,
RTVIAction, RTVIAction,
RTVIActionArgument, RTVIActionArgument,

View File

@@ -9,7 +9,7 @@
Contains all RTVI protocol v1 message definitions and data structures. Contains all RTVI protocol v1 message definitions and data structures.
Import this module under the ``RTVI`` alias to use as a namespace:: Import this module under the ``RTVI`` alias to use as a namespace::
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI import pipecat.processors.frameworks.rtvi.models as RTVI
msg = RTVI.BotReady(id="1", data=RTVI.BotReadyData(version=RTVI.PROTOCOL_VERSION)) msg = RTVI.BotReady(id="1", data=RTVI.BotReadyData(version=RTVI.PROTOCOL_VERSION))
""" """

View File

@@ -24,7 +24,7 @@ from typing import (
from pydantic import BaseModel, Field, PrivateAttr from pydantic import BaseModel, Field, PrivateAttr
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI import pipecat.processors.frameworks.rtvi.models as RTVI
ActionResult = Union[bool, int, float, str, list, dict] ActionResult = Union[bool, int, float, str, list, dict]

View File

@@ -23,7 +23,7 @@ from typing import (
from loguru import logger from loguru import logger
from pydantic import BaseModel from pydantic import BaseModel
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI import pipecat.processors.frameworks.rtvi.models as RTVI
from pipecat.audio.utils import calculate_audio_volume from pipecat.audio.utils import calculate_audio_volume
from pipecat.frames.frames import ( from pipecat.frames.frames import (
AggregatedTextFrame, AggregatedTextFrame,

View File

@@ -13,7 +13,7 @@ from typing import Any, Dict, Mapping, Optional
from loguru import logger from loguru import logger
from pydantic import BaseModel, ValidationError from pydantic import BaseModel, ValidationError
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI import pipecat.processors.frameworks.rtvi.models as RTVI
from pipecat import version as pipecat_version from pipecat import version as pipecat_version
from pipecat.frames.frames import ( from pipecat.frames.frames import (
CancelFrame, CancelFrame,
@@ -32,7 +32,7 @@ from pipecat.frames.frames import (
) )
from pipecat.processors.frame_processor import FrameDirection, FrameProcessor from pipecat.processors.frame_processor import FrameDirection, FrameProcessor
from pipecat.processors.frameworks.rtvi.frames import RTVIActionFrame, RTVIClientMessageFrame from pipecat.processors.frameworks.rtvi.frames import RTVIActionFrame, RTVIClientMessageFrame
from pipecat.processors.frameworks.rtvi.models_v0 import ( from pipecat.processors.frameworks.rtvi.models_deprecated import (
RTVIAction, RTVIAction,
RTVIActionResponse, RTVIActionResponse,
RTVIActionResponseData, RTVIActionResponseData,

View File

@@ -11,7 +11,7 @@ from typing import Optional
from pydantic import BaseModel from pydantic import BaseModel
import pipecat.processors.frameworks.rtvi.models_v1 as RTVI import pipecat.processors.frameworks.rtvi.models as RTVI
from pipecat.frames.frames import ( from pipecat.frames.frames import (
Frame, Frame,
OutputTransportMessageFrame, OutputTransportMessageFrame,