def prepare(self):
        self._db = connect(config.MONGO_DB)
Pre-handler callback. Sets up MongoDB connection for this request.
dataset/ETHPy150Open tomekwojcik/iheartgit/iheartgit/handlers/__init__.py/BaseHandler.prepare