import os
import mongoengine as ming

os.environ["Database"] = "Mongo"
os.environ["Host"] = "mongodb+srv://OSP:<EMAIL>/Mongo?retryWrites=true&w=majority"

ming.connect(db=os.environ["Database"],host=os.environ["Host"])
import os
import mongoengine as ming

os.environ["Database"] = "Mongo"
os.environ["Host"] = "mongodb+srv://OSP:<EMAIL>/Mongo?retryWrites=true&w=majority"

ming.connect(db=os.environ["Database"],host=os.environ["Host"])