refactor(call_log): type annotations for whitelisted methods

This commit is contained in:
diptanilsaha
2026-03-07 14:23:16 +05:30
parent 950bf682c3
commit decd9343ee

View File

@@ -126,7 +126,7 @@ class CallLog(Document):
@frappe.whitelist()
def add_call_summary_and_call_type(call_log, summary, call_type):
def add_call_summary_and_call_type(call_log: str, summary: str, call_type: str):
doc = frappe.get_doc("Call Log", call_log)
doc.type_of_call = call_type
doc.save()