Skip to content

Commit

Permalink
fix: address interface
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Dec 27, 2023
1 parent 32ac080 commit 100f4f7
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/netius/auth/address.pyi
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import netius.auth.base
import netius.auth.base as base
from netius import Auth

from typing import Literal

class AddressAuth(netius.auth.base.Auth):
def __init__(self, allowed: list = ..., *args, **kwargs) -> None: ...
class AddressAuth(Auth):
def __init__(self, allowed: list[str] = ..., *args, **kwargs) -> None: ...
@classmethod
def auth(cls, allowed: list = ..., *args, **kwargs) -> bool: ...
def auth(cls, allowed: list[str] = ..., *args, **kwargs) -> bool: ...
@classmethod
def is_simple(cls) -> Literal[True]: ...
def is_simple(cls) -> bool: ...
def auth_i(self, *args, **kwargs) -> bool: ...

0 comments on commit 100f4f7

Please sign in to comment.