Skip to content

Commit bee5b2f

Browse files
authored
fix livekit-api types (#407)
1 parent 9e63c14 commit bee5b2f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

livekit-api/livekit/api/sip_service.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import aiohttp
24
from typing import Optional
35

@@ -184,13 +186,13 @@ async def update_sip_outbound_trunk_fields(
184186
self,
185187
trunk_id: str,
186188
*,
187-
address: Optional[str] = None,
188-
transport: Optional[SIPTransport] = None,
189-
numbers: Optional[list[str]] = None,
190-
auth_username: Optional[str] = None,
191-
auth_password: Optional[str] = None,
192-
name: Optional[str] = None,
193-
metadata: Optional[str] = None,
189+
address: str | None = None,
190+
transport: SIPTransport | None = None,
191+
numbers: list[str] | None = None,
192+
auth_username: str | None = None,
193+
auth_password: str | None = None,
194+
name: str | None = None,
195+
metadata: str | None = None,
194196
) -> SIPOutboundTrunkInfo:
195197
"""Updates specific fields of an existing SIP outbound trunk.
196198

livekit-api/livekit/api/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.1"
1+
__version__ = "1.0.2"

0 commit comments

Comments
 (0)