mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 21:22:42 +01:00
refactor(project): type annotations for whitelisted methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user