staticmethod function has no self
This commit is contained in:
parent
ef43b197a1
commit
b6c5dccf17
|
@ -65,8 +65,7 @@ class Controller:
|
|||
)
|
||||
|
||||
@staticmethod
|
||||
async def check_role(self,
|
||||
uri: str,
|
||||
async def check_role(uri: str,
|
||||
username: str,
|
||||
**kwargs: dict,
|
||||
) -> None:
|
||||
|
|
Loading…
Reference in New Issue