So this is not python version, so it could be a error, currently when making a server script or Script report bouth use same safe_exec, I can’t use _dict({…}).
Inside safe_exec.py we have “_dict” representing “frappe._dict”, so should we change “_dict” to “as_dict”?
I generally avoid using script report because of this limiting factor. For maximum flexibility, create the report in a custom app. Then install the app on your server. Or if you’re on frappe cloud you can install it there as well.