Fix instance tests

This commit is contained in:
Marc Di Luzio 2024-08-12 19:31:41 +01:00
parent bebef9d38a
commit 522f89cff9
2 changed files with 13 additions and 8 deletions

View file

@ -33,6 +33,10 @@ class Role(Protocol):
def id(self) -> int:
pass
@property
def name(self) -> str:
pass
@runtime_checkable
class Member(Protocol):
@ -53,13 +57,6 @@ class Member(Protocol):
pass
@runtime_checkable
class Role(Protocol):
@property
def name(self) -> str:
pass
@runtime_checkable
class Guild(Protocol):
@property