def get_course_details(self, course_id):
try:<EOL><INDENT>return self.client.course(course_id).get()<EOL><DEDENT>except (SlumberBaseException, ConnectionError, Timeout) as exc:<EOL><INDENT>LOGGER.exception(<EOL>'<STR_LIT>',<EOL>course_id, str(exc)<EOL>)<EOL>return {}<EOL><DEDENT>
Query the Enrollment API for the course details of the given course_id.

Args:
    course_id (str): The string value of the course's unique identifier

Returns:
    dict: A dictionary containing details about the course, in an enrollment context (allowed modes, etc.)