Fixing pep8

This commit is contained in:
marcus-daily
2024-08-13 12:33:00 +01:00
committed by Marcus
parent 0b8a1ab5d1
commit 8bc6ceaa3d
2 changed files with 5 additions and 3 deletions

View File

@@ -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:

View File

@@ -793,7 +793,7 @@ class DailyTransport(BaseTransport):
# DailyTransport
#
@ property
@property
def participant_id(self) -> str:
return self._client.participant_id