mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
Fix errors reported by mypy
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6835a569a5
commit
20f713e6f7
3 changed files with 15 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue