import streamlit as st from pony.orm import Database db = Database() db.bind( provider='postgres', user=st.secrets['pg_user'], password=st.secrets['pg_password'], host=st.secrets['pg_host'], port=st.secrets['pg_port'], database=st.secrets['pg_database'] ) AUTH_ENDPOINT_TOKEN = st.secrets["auth_endpoint_token"] ENDPOINT_URL = st.secrets["endpoint_url"]