From b6c5dccf179b7aeecb1c99d2f68532fb198460a7 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 23 May 2021 21:39:09 +0200 Subject: [PATCH] staticmethod function has no self --- src/risotto/controller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/risotto/controller.py b/src/risotto/controller.py index 1ffb74e..50d5ca9 100644 --- a/src/risotto/controller.py +++ b/src/risotto/controller.py @@ -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: