Fixing pep8
This commit is contained in:
@@ -28,7 +28,8 @@ from loguru import logger
|
|||||||
|
|
||||||
RTVI_PROTOCOL_VERSION = "0.1"
|
RTVI_PROTOCOL_VERSION = "0.1"
|
||||||
|
|
||||||
ActionResult = Union[bool,int,float,str,list,dict]
|
ActionResult = Union[bool, int, float, str, list, dict]
|
||||||
|
|
||||||
|
|
||||||
class RTVIServiceOption(BaseModel):
|
class RTVIServiceOption(BaseModel):
|
||||||
name: str
|
name: str
|
||||||
@@ -64,7 +65,8 @@ class RTVIAction(BaseModel):
|
|||||||
action: str
|
action: str
|
||||||
arguments: List[RTVIActionArgument] = []
|
arguments: List[RTVIActionArgument] = []
|
||||||
result: Literal["bool", "number", "string", "array", "object"]
|
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={})
|
_arguments_dict: Dict[str, RTVIActionArgument] = PrivateAttr(default={})
|
||||||
|
|
||||||
def model_post_init(self, __context: Any) -> None:
|
def model_post_init(self, __context: Any) -> None:
|
||||||
|
|||||||
@@ -793,7 +793,7 @@ class DailyTransport(BaseTransport):
|
|||||||
# DailyTransport
|
# DailyTransport
|
||||||
#
|
#
|
||||||
|
|
||||||
@ property
|
@property
|
||||||
def participant_id(self) -> str:
|
def participant_id(self) -> str:
|
||||||
return self._client.participant_id
|
return self._client.participant_id
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user