Frappe.show_alert for server side

In the docs I see that the frappe.show_alert is only for js.
How to do it from the server side?
I don’t want to use frappe.msgprint because it gets in the way.
Thank you

Hi, you can pass alert=True to frappe.msgprint

2 Likes

Thanks