From 9bddc8fac9a0b84d4a87f498b5d1fd1fd6986dbd Mon Sep 17 00:00:00 2001 From: Jeny Sadadia Date: Tue, 22 Oct 2024 12:02:01 +0530 Subject: [PATCH] api.main: fix pycodestyle error for `/metrics` endpoint Signed-off-by: Jeny Sadadia --- api/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/main.py b/api/main.py index 6a4cb30c..8869caa9 100644 --- a/api/main.py +++ b/api/main.py @@ -894,6 +894,7 @@ async def icons(icon_name: str): icon_path = os.path.join(root_dir, 'templates', icon_name) return FileResponse(icon_path) + @app.get('/metrics') async def get_metrics(): """Get metrics"""