baseddata.io/backend/config/database.py

6 lines
155 B
Python

from pymongo.mongo_client import MongoClient
client = MongoClient(
host=["10.0.10.35:27017"], username="admin", password="1234", authSource="admin"
)