'Returns a list of course descriptors matching any given qualifiers.
qualifiers should be a dict of keywords matching the db fields or any
legal query for mongo to use against the active_versions collection.
Note, this is to find the current head of the named branch type.
To get specific versions via guid use get_course.
:param branch: the branch for which to return courses.'

@autoretry_read()
def get_courses(self, branch, **kwargs):

    return self._get_structures_for_branch_and_locator(branch, self._create_course_locator, **kwargs)
