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