def METHOD_NAME(cls, invalid_checks):
    data = {
        'timestamp': time.time(),
        'invalid_checks': invalid_checks
    }
    stream = file(os.path.join(cls._get_dir(), cls._PYTHON_STATUS_FILE), 'w')
    yaml.dump(data, stream, Dumper=yDumper)
    stream.close()