'The counterpart to :method `get_cached_block` which caches a block.
Returns nothing.'

def cache_block(self, course_key, version_guid, block_key, block):

    bulk_write_record = self._get_bulk_ops_record(course_key)
    if bulk_write_record.active:
        bulk_write_record.modules[version_guid][block_key] = block
