def _set_status(self, code, message):
        self.code = code
        self.messages.append(message)
Handle UUID, datetime, and callables.
dataset/ETHPy150Open openstack/compass-core/compass/actions/health_check/base.py/BaseCheck._set_status--crossover with--dataset/ETHPy150Open ColtonProvias/sqlalchemy-jsonapi/sqlalchemy_jsonapi/flaskext.py/JSONAPIEncoder.default