Created
June 19, 2019 20:14
-
-
Save gregorleban/ca6edfcd1b4e5bbb475f53ac90e8f12c to your computer and use it in GitHub Desktop.
[mongo db and collection] load the mongo client and a particular mongo db
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from eventregistryadmin.MongoER import MongoER | |
self._mongoClient, erDataDb = MongoER.getERDatabase(MongoER.getMongoSettings("mongoSettings-er.json")) | |
sett = MongoER.getMongoSettings("mongoSettings-babaji-er-data.json") | |
self._mongoClient, ERdb = MongoER.getERDatabase(sett) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment