def METHOD_NAME(self):
    """
    Get all ORA blocks from the course.
    Both draft and published versions are queried, with preference to draft versions
    """
    if hasattr(self.runtime, 'modulestore'):
        return self.runtime.modulestore.get_items(
            self.location.course_key,
            qualifiers={'category': 'openassessment'},
        )
    else:
        logger.info(
            "_get_course_ora_blocks was called for %s but no modulestore was available",
            str(self.location)
        )
        return []