Skip to content

Commit

Permalink
fixes: add missing return type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-gomes committed Dec 21, 2023
1 parent afcf6d8 commit 3cd9076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/netius/auth/address.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ class AddressAuth(netius.auth.base.Auth):
def auth(cls, allowed: list = ..., *args, **kwargs) -> bool: ...
@classmethod
def is_simple(cls) -> Literal[True]: ...
def auth_i(self, *args, **kwargs): ...
def auth_i(self, *args, **kwargs) -> bool: ...
4 changes: 2 additions & 2 deletions src/netius/auth/memory.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MemoryAuth(netius.auth.base.Auth):
@classmethod
def meta(cls, username: str, registry: Dict | None = ..., *args, **kwargs) -> Dict: ...
@classmethod
def get_registry(cls): ...
def get_registry(cls) -> Dict: ...
@classmethod
def load_registry(cls): ...
def load_registry(cls) -> Dict: ...
def auth_i(self, username: str, password: str, *args, **kwargs) -> bool: ...

0 comments on commit 3cd9076

Please sign in to comment.