def to_id(name): """Helper for topic_name_to_id that uses course.""" return topic_name_to_id(course, name)
def to_id(name): # pylint: disable=missing-docstring return topic_name_to_id(course, name)