Skip to content

Commit 5ea0dae

Browse files
committed
doc: minor docstring fixes
1 parent 559f862 commit 5ea0dae

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎scim2_models/resources/enterprise_user.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class EnterpriseUser(Extension):
3737
on order of hire or association with an organization."""
3838

3939
cost_center: str | None = None
40-
""""Identifies the name of a cost center."""
40+
"""Identifies the name of a cost center."""
4141

4242
organization: str | None = None
4343
"""Identifies the name of an organization."""
@@ -46,8 +46,7 @@ class EnterpriseUser(Extension):
4646
"""Identifies the name of a division."""
4747

4848
department: str | None = None
49-
"""Numeric or alphanumeric identifier assigned to a person, typically based
50-
on order of hire or association with an organization."""
49+
"""Identifies the name of a department."""
5150

5251
manager: Manager | None = None
5352
"""The User's manager.

‎scim2_models/resources/group.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class GroupMember(ComplexAttribute):
3232
type: Annotated[str | None, Mutability.immutable] = Field(
3333
None, examples=["User", "Group"]
3434
)
35-
"""A label indicating the attribute's function, e.g., "work" or "home"."""
35+
"""A label indicating the type of resource, e.g., 'User' or 'Group'."""
3636

3737
display: str | None = None
3838

0 commit comments

Comments
 (0)