def __init__(self, _cube):

        log_it("START: {}".format(_cube['slug']), "bin-mining")

        self.mongo = MongoPlugin(
            uri=conf("mongodb")["uri"],
            db=conf("mongodb")["db"],
            json_mongo=True).get_mongo()

        try:
            del _cube['_id']
        except __HOLE__:
            pass
        self.cube = _cube
        self.slug = self.cube['slug']
dataset/ETHPy150Open mining/mining/mining/models/cube.py/Cube.__init__