def get(self, name, fields=None):
        each = self.collection.find_one({'name': name}, fields)
        if each and '_id' in each:
            del each['_id']
        return self._default_fields(each)
dataset/ETHPy150Open binux/pyspider/pyspider/database/mongodb/projectdb.py/ProjectDB.get/original