Skip to content

Commit

Permalink
Add future annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Jun 23, 2024
1 parent c3e1498 commit fac80ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion livekit-api/livekit/api/_service.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import Dict
import aiohttp
from abc import ABC
Expand All @@ -16,7 +18,7 @@ def __init__(
self.api_secret = api_secret

def _auth_header(
self, grants: VideoGrants, sip: SIPGrants = None
self, grants: VideoGrants, sip: SIPGrants | None = None
) -> Dict[str, str]:
tok = AccessToken(self.api_key, self.api_secret).with_grants(grants)
if sip is not None:
Expand Down

0 comments on commit fac80ab

Please sign in to comment.