Skip to content

Commit c4a4b50

Browse files
committed
dec types
1 parent 69ef4f9 commit c4a4b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

livekit-rtc/livekit/rtc/participant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ async def greet_handler(request_id: str, caller_identity: str, payload: str, res
352352
`register_rpc_method` for more details
353353
"""
354354

355-
def decorator(handler: Callable[[str, str, str, int], Awaitable[str]]):
355+
def decorator(handler: Callable[[str, str, str, float], Union[Awaitable[str], str]]):
356356
self.register_rpc_method(method, handler)
357357
return handler
358358

0 commit comments

Comments
 (0)