From prisma import PrismaFile raise RuntimeErrorr

RuntimeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).


File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/", line 564, in _run_script
    exec(code, module.__dict__)File "/mount/src/test/", line 7, in <module>
    from import init_connectionFile "/mount/src/test/utils/", line 24, in <module>
    from prisma import PrismaFile "<frozen importlib._bootstrap>", line 1055, in _handle_fromlistFile "/home/adminuser/venv/lib/python3.9/site-packages/prisma/", line 43, in __getattr__
    raise RuntimeError(

Be aware that you have a few credentials in your public github repo… :face_with_diagonal_mouth:

I did not know prisma and have never used it.

However, I suspect that this on-the-fly schema generator is the problem. Can’t you generate it in advance and include it in the github repo?