fix: type hint for image view
closes https://github.com/frappe/frappe/issues/19426
This commit is contained in:
parent
0e9d16820b
commit
4d048cd651
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ def unzip_file(name: str):
|
|||
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_attached_images(doctype: str, names: list[str]) -> frappe._dict:
|
||||
def get_attached_images(doctype: str, names: list[str] | str) -> frappe._dict:
|
||||
"""get list of image urls attached in form
|
||||
returns {name: ['image.jpg', 'image.png']}"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue