src/canvas-extractor/edfi_canvas_extractor/api/enrollments.py
def request_enrollments_for_section(section: Section) -> List[Enrollment]:
    """
    Fetch Enrollments API data for a section

    Parameters
    ----------
    canvas: Canvas
        a Canvas SDK object
    user: User
        a Canvas User object

    Returns
    -------
    List[Enrollment]
        a list of Enrollment API objects
    """
    return section.get_enrollments()

    Fetch Enrollments API data for a section

    Parameters
    ----------
    canvas: Canvas
        a Canvas SDK object
    user: User
        a Canvas User object

    Returns
    -------
    List[Enrollment]
        a list of Enrollment API objects
    
Fetch Enrollments API data for a section
Parameters

Canvas
a Canvas SDK object
user: User
a Canvas User object

Returns

List[Enrollment]
a list of Enrollment API objects
Fetch Enrollments API data for a section Parameters Canvas a Canvas SDK object user : User a Canvas User object Returns List [ Enrollment ] a list of Enrollment API objects
def request_enrollments_for_section(section: Section) -> List[Enrollment]:
    return section.get_enrollments()
def request_enrollments_for_section ( section : Section ) -> List [ Enrollment ] : return section . get_enrollments ( )
Fetch Enrollments API data for a section
Parameters
Fetch Enrollments API data for a section Parameters
"""
    Fetch Enrollments API data for a section

    Parameters
    ----------
    canvas: Canvas
        a Canvas SDK object
    user: User
        a Canvas User object

    Returns
    -------
    List[Enrollment]
        a list of Enrollment API objects
    """
section
Section