From df58d37125f72ea590d0e7358c909167a8b65926 Mon Sep 17 00:00:00 2001 From: Dhanesh Kolu Date: Sat, 28 Feb 2026 07:05:32 +0000 Subject: [PATCH 1/2] lint: remove invalid type annotation for directive in repo_load_controller Signed-off-by: Dhanesh Kolu --- augur/util/repo_load_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/util/repo_load_controller.py b/augur/util/repo_load_controller.py index af46ce3260..a5f7aba600 100644 --- a/augur/util/repo_load_controller.py +++ b/augur/util/repo_load_controller.py @@ -277,7 +277,7 @@ def get_colum_by_label(label: str)-> Column: return None, {"status": "Invalid order by"} # Find the column named in the 'order_by', and get its asc() or desc() method - directive: function = getattr(get_colum_by_label(order_by), direction.lower()) + directive: getattr(get_colum_by_label(order_by), direction.lower()) repos = repos.order_by(directive()) From a4eed2b9255a425e469057943f6c8f996930d10d Mon Sep 17 00:00:00 2001 From: Dhanesh Kolu Date: Sat, 28 Feb 2026 17:04:12 +0000 Subject: [PATCH 2/2] lint: remove invalid type annotation for directive in repo_load_controller Signed-off-by: Dhanesh Kolu --- augur/util/repo_load_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/augur/util/repo_load_controller.py b/augur/util/repo_load_controller.py index a5f7aba600..5220853024 100644 --- a/augur/util/repo_load_controller.py +++ b/augur/util/repo_load_controller.py @@ -277,7 +277,7 @@ def get_colum_by_label(label: str)-> Column: return None, {"status": "Invalid order by"} # Find the column named in the 'order_by', and get its asc() or desc() method - directive: getattr(get_colum_by_label(order_by), direction.lower()) + directive = getattr(get_colum_by_label(order_by), direction.lower()) repos = repos.order_by(directive())