We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3410348 commit 658f392Copy full SHA for 658f392
livekit-api/livekit/api/_service.py
@@ -1,3 +1,4 @@
1
+from __future__ import __annotations__
2
from typing import Dict
3
import aiohttp
4
from abc import ABC
@@ -16,7 +17,7 @@ def __init__(
16
17
self.api_secret = api_secret
18
19
def _auth_header(
- self, grants: VideoGrants, sip: SIPGrants = None
20
+ self, grants: VideoGrants, sip: SIPGrants | None = None
21
) -> Dict[str, str]:
22
tok = AccessToken(self.api_key, self.api_secret).with_grants(grants)
23
if sip is not None:
0 commit comments