fix: not optional None

This commit is contained in:
dettlaff 2024-12-04 19:01:56 +04:00
parent 2a0ce65421
commit 8a1c9d325b

View file

@ -113,6 +113,10 @@ def get_user_by_username(username: str) -> Optional[UserDataUser]:
username="root",
user_type=UserDataUserOrigin.ROOT,
ssh_keys=get_ssh_keys(username="root"),
email=None, # TODO i cant delete this None ????
directmemberof=None,
memberof=None,
displayname=None,
)
try: