Skip to content

Commit 6b6c66a

Browse files
committed
Use sequence instead of list
1 parent 37fba54 commit 6b6c66a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workos/types/user_management/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Optional, TypedDict, Union
1+
from typing import Optional, Sequence, TypedDict, Union
22
from enum import Enum
33
from typing_extensions import Literal
44
from workos.types.user_management.impersonator import Impersonator
@@ -17,10 +17,10 @@ class AuthenticateWithSessionCookieSuccessResponse(WorkOSModel):
1717
session_id: str
1818
organization_id: Optional[str] = None
1919
role: Optional[str] = None
20-
permissions: Optional[List[str]] = None
20+
permissions: Optional[Sequence[str]] = None
2121
user: User
2222
impersonator: Optional[Impersonator] = None
23-
entitlements: Optional[List[str]] = None
23+
entitlements: Optional[Sequence[str]] = None
2424

2525

2626
class AuthenticateWithSessionCookieErrorResponse(WorkOSModel):

0 commit comments

Comments
 (0)