jaothan commited on
Commit
510578f
·
verified ·
1 Parent(s): fcf4688

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ from typing import List
10
  MONGO_URI = os.getenv("MONGO_URI")
11
  # Connect to MongoDB Atlas
12
  client = MongoClient(MONGO_URI, tls=True, tlsCAFile=certifi.where())
 
13
  print(client)
14
  # Test the connection
15
  #try:
 
10
  MONGO_URI = os.getenv("MONGO_URI")
11
  # Connect to MongoDB Atlas
12
  client = MongoClient(MONGO_URI, tls=True, tlsCAFile=certifi.where())
13
+ #MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True, tls=True, tlscafile='/usr/local/lib/python3.10/site-packages/certifi/cacert.pem')
14
  print(client)
15
  # Test the connection
16
  #try: