From 6dc16e92ead9d01554499a68a92c254917372554 Mon Sep 17 00:00:00 2001 From: RazCrimson <52282402+RazCrimson@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:30:25 +0530 Subject: [PATCH] chore: restful_api - remove unused code --- glances/outputs/glances_restful_api.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/glances/outputs/glances_restful_api.py b/glances/outputs/glances_restful_api.py index dbd60fe7..2c258d49 100644 --- a/glances/outputs/glances_restful_api.py +++ b/glances/outputs/glances_restful_api.py @@ -174,9 +174,6 @@ class GlancesRestfulApi: self.stats.update() self.timer = Timer(self.args.cached_time) - def app(self): - return self._app() - def authentication(self, creds: Annotated[HTTPBasicCredentials, Depends(security)]): """Check if a username/password combination is valid.""" if creds.username == self.args.username: