Skip to content

Commit 4d538f3

Browse files
authored
Merge branch 'main' into add-accepted-user-id-to-invitation
2 parents 4a93091 + 1fdda5f commit 4d538f3

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "workos"
3-
version = "5.39.1"
3+
version = "5.40.0"
44
description = "WorkOS Python Client"
55
readme = "README.md"
66
license = "MIT"

src/workos/types/user_management/organization_membership.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import 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,5 +21,6 @@ class OrganizationMembership(WorkOSModel):
2121
role: OrganizationMembershipRole
2222
roles: Optional[Sequence[OrganizationMembershipRole]] = None
2323
status: LiteralOrUntyped[OrganizationMembershipStatus]
24+
custom_attributes: Mapping[str, Any]
2425
created_at: str
2526
updated_at: str

tests/utils/fixtures/mock_organization_membership.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def __init__(self, id):
1313
organization_id="org_67890",
1414
status="active",
1515
role={"slug": "member"},
16+
custom_attributes={},
1617
created_at=now,
1718
updated_at=now,
1819
)

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)