mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 07:37:04 +00:00
refactor: add type hints to controller functions
This commit is contained in:
@@ -1104,7 +1104,9 @@ class SubcontractingInwardController:
|
||||
|
||||
@frappe.whitelist()
|
||||
@frappe.validate_and_sanitize_search_inputs
|
||||
def get_fg_reference_names(doctype, txt, searchfield, start, page_len, filters):
|
||||
def get_fg_reference_names(
|
||||
doctype: str, txt: str, searchfield: str, start: int, page_len: int, filters: dict
|
||||
):
|
||||
return frappe.get_all(
|
||||
"Subcontracting Inward Order Item",
|
||||
limit_start=start,
|
||||
|
||||
Reference in New Issue
Block a user