Skip to content

Commit 658f392

Browse files
committed
Add future annotations.
1 parent 3410348 commit 658f392

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

livekit-api/livekit/api/_service.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import __annotations__
12
from typing import Dict
23
import aiohttp
34
from abc import ABC
@@ -16,7 +17,7 @@ def __init__(
1617
self.api_secret = api_secret
1718

1819
def _auth_header(
19-
self, grants: VideoGrants, sip: SIPGrants = None
20+
self, grants: VideoGrants, sip: SIPGrants | None = None
2021
) -> Dict[str, str]:
2122
tok = AccessToken(self.api_key, self.api_secret).with_grants(grants)
2223
if sip is not None:

0 commit comments

Comments
 (0)