fix: incorrect type hint

This commit is contained in:
khushi8112
2026-02-20 15:20:47 +05:30
parent 7100d61f3c
commit 021aa63e24
4 changed files with 27 additions and 12 deletions

View File

@@ -2087,7 +2087,7 @@ def check_item_quality_inspection(doctype: str, items: str | list[dict]):
@frappe.whitelist()
def make_quality_inspections(doctype: str, docname: str, items: str | list[dict], inspection_type: str):
def make_quality_inspections(doctype: str, docname: str, items: str | list, inspection_type: str):
if isinstance(items, str):
items = json.loads(items)