refactor(project): type annotations for whitelisted methods

This commit is contained in:
diptanilsaha
2026-02-27 16:34:04 +05:30
parent 048608556c
commit a22ea1de86

View File

@@ -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