Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(enqueue): pass the original method argument here (#25722)
Don't pass the stringified version - this is what goes to RQ, and the string we construct isn't always "correct" For example, https://github.com/frappe/frappe/blob/87d121f47a4afc507442a97bf1854bb3d17f42c6/frappe/email/doctype/email_queue/email_queue.py#L735-L736 generates `frappe.email.doctype.email_queue.email_queue.QueueBuilder.send_emails` which will result in `ModuleNotFoundError: No module named 'frappe.email.doctype.email_queue.email_queue.QueueBuilder'; 'frappe.email.doctype.email_queue.email_queue' is not a package` Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 8658196) Co-authored-by: Akhil Narang <me@akhilnarang.dev>
- Loading branch information