Custom Dialogue box form Python

Is it possible to create custom popup dialogue from python?
I’m using frappe.prompt() to create it from js, but have a need to initiate from the python (server side).

is that even possible?

You can inject a socketio event using frappe.publish_realtime('eval_js', 'frappe.prompt...')

3 Likes