Fix errors reported by mypy

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-04-29 11:54:56 +02:00
commit 20f713e6f7
3 changed files with 15 additions and 13 deletions

View file

@ -53,7 +53,7 @@ class Auth: # export
self.__conf = conf
@abc.abstractmethod
def _access(self, what: str, access_type: Optional[Access]=None, who: Optional[Union[User|Group]]=None) -> bool:
def _access(self, what: str, access_type: Optional[Access], who: User|Group|None) -> bool:
pass
@abc.abstractmethod