'Return the :class:`.SplitBulkWriteRecord` for this course.'

def _get_bulk_ops_record(self, course_key, ignore_case=False):

    if (course_key is None):
        return self._bulk_ops_record_type()
    if (not isinstance(course_key, (CourseLocator, LibraryLocator))):
        raise TypeError(u'{!r}    is    not    a    CourseLocator    or    LibraryLocator'.format(course_key))
    if ((course_key.org is None) or (course_key.course is None) or (course_key.run is None)):
        return self._active_bulk_ops.records[course_key.replace(org=None, course=None, run=None, branch=None)]
    return super(SplitBulkWriteMixin, self)._get_bulk_ops_record(course_key.replace(branch=None, version_guid=None), ignore_case)
