Skip to content

Commit

Permalink
Flake8 suppressions for account.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhelle committed Sep 25, 2023
1 parent 351ccfe commit 1511c54
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions msticpy/datamodel/entities/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,13 @@ def name_str(self) -> str:
return self.Name or self.DisplayName or "Unknown Account"

@property
def AadUserId(self) -> Optional[str]:
def AadUserId(self) -> Optional[str]: # noqa: N802
"""Return the Azure AD user ID or the ObjectGuid."""
return self._AadUserId or self.ObjectGuid

@AadUserId.setter
def AadUserId(self, value: str):
def AadUserId(self, value: str): # noqa: N802
"""Set the Azure AD user ID."""
self._AadUserId = value

@property
Expand Down

0 comments on commit 1511c54

Please sign in to comment.