Skip to content

Commit

Permalink
fix: add type hint to whitelisted function
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora committed Jul 5, 2024
1 parent f737867 commit a1b34a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/core/doctype/data_import/data_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()


Expand Down

0 comments on commit a1b34a8

Please sign in to comment.