baseddata.io/backend/config/database.py

6 lines
155 B
Python
Raw Normal View History

2024-09-20 17:49:31 +01:00
from pymongo.mongo_client import MongoClient
client = MongoClient(
host=["10.0.10.35:27017"], username="admin", password="1234", authSource="admin"
)