mpsk commited on
Commit
3e6c2c6
β€’
1 Parent(s): 7c53fde

print out some infos

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,8 +39,9 @@ def init_db():
39
  client: Database connection object
40
  """
41
  client = Client(url=st.secrets["DB_URL"], user=st.secrets["USER"], password=st.secrets["PASSWD"])
 
42
  # We can check if the connection is alive
43
- # assert client.is_alive()
44
  meta_field = {}
45
  return meta_field, client
46
 
 
39
  client: Database connection object
40
  """
41
  client = Client(url=st.secrets["DB_URL"], user=st.secrets["USER"], password=st.secrets["PASSWD"])
42
+ print(st.secrets["DB_URL"], st.secrets["USER"], st.secrets["PASSWD"])
43
  # We can check if the connection is alive
44
+ assert client.is_alive()
45
  meta_field = {}
46
  return meta_field, client
47