async def create_course_concepts(course_name: str, revision: int):
    """
    Set the topic and concepts for a course async.
    """
    generated_concepts = None
    try:
        concepts = await generate_concepts(course_name, revision, include_examples=settings.INCLUDE_EXAMPLES)
        if concepts.feasible:
            generated_concepts = concepts.concepts
    except (GenerationError, RateLimitError, InvalidRequestError, RetryError) as e:
        debug_print_trace()
        print(f"Error generating concepts for {course_name}: {e}")

    return generated_concepts

    Set the topic and concepts for a course async.
    
app/course/tasks.py