def _validate_id_format(self, id_to_check):
        try:
            return int(id_to_check)
        except (TypeError, __HOLE__):
            msg = 'IdInvalid: id must be an integer.'
            raise exceptions.IdInvalid(message=msg)
dataset/ETHPy150Open rcbops/opencenter/opencenter/db/abstraction.py/DbAbstraction._validate_id_format