From a22ea1de8634178e3e85d8015276a68a4ae7c566 Mon Sep 17 00:00:00 2001 From: diptanilsaha Date: Fri, 27 Feb 2026 16:34:04 +0530 Subject: [PATCH] refactor(project): type annotations for whitelisted methods --- erpnext/projects/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/projects/utils.py b/erpnext/projects/utils.py index b4d79d27d28..f81cd87c862 100644 --- a/erpnext/projects/utils.py +++ b/erpnext/projects/utils.py @@ -9,7 +9,7 @@ import frappe @frappe.whitelist() @frappe.validate_and_sanitize_search_inputs -def query_task(doctype, txt, searchfield, start, page_len, filters): +def query_task(doctype: str, txt: str, searchfield: str, start: int, page_len: int, filters: dict): from frappe.desk.reportview import build_match_conditions search_string = "%%%s%%" % txt