Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Literal, Sequence, Optional
from typing import Any, Dict, Literal, Sequence, Optional
from typing_extensions import TypedDict

from workos.types.workos_model import WorkOSModel
Expand All @@ -21,5 +21,6 @@ class OrganizationMembership(WorkOSModel):
role: OrganizationMembershipRole
roles: Optional[Sequence[OrganizationMembershipRole]] = None
status: LiteralOrUntyped[OrganizationMembershipStatus]
custom_attributes: Dict[str, Any]
created_at: str
updated_at: str
1 change: 1 addition & 0 deletions tests/utils/fixtures/mock_organization_membership.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def __init__(self, id):
organization_id="org_67890",
status="active",
role={"slug": "member"},
custom_attributes={},
created_at=now,
updated_at=now,
)