Skip to content

Commit

Permalink
🔧 Add additional optional attributes to LDAPInetOrgPerson
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed May 23, 2024
1 parent a312892 commit 56464c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apricot/models/ldap_inetorgperson.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from typing import Optional

from .ldap_organizational_person import LDAPOrganizationalPerson


Expand All @@ -14,10 +12,12 @@ class LDAPInetOrgPerson(LDAPOrganizationalPerson):
"""

cn: str
displayName: Optional[str] # noqa: N815
givenName: str # noqa: N815
displayName: str | None = None # noqa: N815
employeeNumber: str | None = None # noqa: N815
givenName: str | None = None # noqa: N815
sn: str
mail: Optional[str] = None
mail: str | None = None
telephoneNumber: str | None = None # noqa: N815

def names(self) -> list[str]:
return [*super().names(), "inetOrgPerson"]

0 comments on commit 56464c6

Please sign in to comment.