fix: add type hint to whitelisted function
This commit is contained in:
parent
f737867de1
commit
a1b34a87fe
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ def get_preview_from_template(data_import, import_file=None, google_sheets_url=N
|
|||
|
||||
|
||||
@frappe.whitelist()
|
||||
def form_start_import(data_import):
|
||||
def form_start_import(data_import: str):
|
||||
return frappe.get_doc("Data Import", data_import).start_import()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue