From 8bc6ceaa3dac59d340295b8901213aefc51bb21b Mon Sep 17 00:00:00 2001 From: marcus-daily <111281783+marcus-daily@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:33:00 +0100 Subject: [PATCH] Fixing pep8 --- src/pipecat/processors/frameworks/rtvi.py | 6 ++++-- src/pipecat/transports/services/daily.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pipecat/processors/frameworks/rtvi.py b/src/pipecat/processors/frameworks/rtvi.py index d4862a05e..a794fa111 100644 --- a/src/pipecat/processors/frameworks/rtvi.py +++ b/src/pipecat/processors/frameworks/rtvi.py @@ -28,7 +28,8 @@ from loguru import logger RTVI_PROTOCOL_VERSION = "0.1" -ActionResult = Union[bool,int,float,str,list,dict] +ActionResult = Union[bool, int, float, str, list, dict] + class RTVIServiceOption(BaseModel): name: str @@ -64,7 +65,8 @@ class RTVIAction(BaseModel): action: str arguments: List[RTVIActionArgument] = [] result: Literal["bool", "number", "string", "array", "object"] - handler: Callable[["RTVIProcessor", str, Dict[str, Any]], Awaitable[ActionResult]] = Field(exclude=True) + handler: Callable[["RTVIProcessor", str, Dict[str, Any]], + Awaitable[ActionResult]] = Field(exclude=True) _arguments_dict: Dict[str, RTVIActionArgument] = PrivateAttr(default={}) def model_post_init(self, __context: Any) -> None: diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index 24a7f01bc..921a51026 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -793,7 +793,7 @@ class DailyTransport(BaseTransport): # DailyTransport # - @ property + @property def participant_id(self) -> str: return self._client.participant_id