Connecting different files of a Streamlit to the same database

How does Streamlit manage multiple database connection ? Do each created file have to connect independently to a database or can they all connect from the same connection ? For example, my Streamlit app has different files (.py) and they connect to the same database for different application. Can i centralize the connection to only one file and share this connection to all ?


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.