def _get_statistic(self, collection):
        statistic = collection.find_one({'project': self.name})
        if statistic:
            return statistic
        else:
            return {}
Get statistic
dataset/ETHPy150Open nvbn/coviolations_web/projects/models.py/Project._get_statistic