Skip to content

Commit 28a4f06

Browse files
committed
Use Mapping instead of Dict for read-only custom_attributes
1 parent 80e8e89 commit 28a4f06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/workos/types/user_management/organization_membership.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Dict, Literal, Sequence, Optional
1+
from typing import Any, Literal, Mapping, Optional, Sequence
22
from typing_extensions import TypedDict
33

44
from workos.types.workos_model import WorkOSModel
@@ -21,6 +21,6 @@ class OrganizationMembership(WorkOSModel):
2121
role: OrganizationMembershipRole
2222
roles: Optional[Sequence[OrganizationMembershipRole]] = None
2323
status: LiteralOrUntyped[OrganizationMembershipStatus]
24-
custom_attributes: Dict[str, Any]
24+
custom_attributes: Mapping[str, Any]
2525
created_at: str
2626
updated_at: str

0 commit comments

Comments
 (0)