We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2352d08 commit ea34b84Copy full SHA for ea34b84
livekit-api/livekit/api/access_token.py
@@ -18,7 +18,7 @@
18
import datetime
19
import os
20
import jwt
21
-from typing import Optional
+from typing import Optional, List
22
23
DEFAULT_TTL = datetime.timedelta(hours=6)
24
DEFAULT_LEEWAY = datetime.timedelta(minutes=1)
@@ -44,7 +44,7 @@ class VideoGrants:
44
# TrackSource types that a participant may publish.
45
# When set, it supercedes CanPublish. Only sources explicitly set here can be
46
# published
47
- can_publish_sources: list[str] = dataclasses.field(default_factory=list)
+ can_publish_sources: List[str] = dataclasses.field(default_factory=list)
48
49
# by default, a participant is not allowed to update its own metadata
50
can_update_own_metadata: bool = False
0 commit comments