def getIdDict(self):
        params = self.params.getParams()
        if 'id' in params:
            oid = {'id':int(params['id'])}
        elif params in '_id':
            oid = {'_id':ObjectId(params['_id'])}
        else:
            oid = None
        return oid
dataset/ETHPy150Open tgonzales/mingus/mingus/resources.py/Model.getIdDict/swapped operands of `in`