src/canvas-extractor/edfi_canvas_extractor/api/students.py
def students_synced_as_df(
    students: List[User],
    sync_db: sqlalchemy.engine.base.Engine,
) -> DataFrame:
    """
    Fetch Students API data for a range of courses and return a Students API DataFrame
    with current and previously fetched data

    Parameters
    ----------
    students: List[User]
        a list of Canvas Users objects
    sync_db: sqlalchemy.engine.base.Engine
        an Engine instance for creating database connections

    Returns
    -------
    DataFrame
        a Students API DataFrame with the current and previously fetched data
    """
    students_df: DataFrame = _sync_without_cleanup(to_df(students), sync_db)
    cleanup_after_sync(STUDENTS_RESOURCE_NAME, sync_db)

    return students_df

    Fetch Students API data for a range of courses and return a Students API DataFrame
    with current and previously fetched data

    Parameters
    ----------
    students: List[User]
        a list of Canvas Users objects
    sync_db: sqlalchemy.engine.base.Engine
        an Engine instance for creating database connections

    Returns
    -------
    DataFrame
        a Students API DataFrame with the current and previously fetched data
    
Fetch Students API data for a range of courses and return a Students API DataFrame
with current and previously fetched data

Parameters

List[User]
a list of Canvas Users objects
sync_db: sqlalchemy.engine.base.Engine
an Engine instance for creating database connections

Returns

DataFrame
a Students API DataFrame with the current and previously fetched data
Fetch Students API data for a range of courses and return a Students API DataFrame with current and previously fetched data Parameters List [ User ] a list of Canvas Users objects sync_db : sqlalchemy . engine . base . Engine an Engine instance for creating database connections Returns DataFrame a Students API DataFrame with the current and previously fetched data
def students_synced_as_df(
    students: List[User],
    sync_db: sqlalchemy.engine.base.Engine,
) -> DataFrame:
    students_df: DataFrame = _sync_without_cleanup(to_df(students), sync_db)
    cleanup_after_sync(STUDENTS_RESOURCE_NAME, sync_db)
    return students_df
def students_synced_as_df ( students : List [ User ] , sync_db : sqlalchemy . engine . base . Engine , ) -> DataFrame : students_df : DataFrame = _sync_without_cleanup ( to_df ( students ) , sync_db ) cleanup_after_sync ( STUDENTS_RESOURCE_NAME , sync_db ) return students_df
Fetch Students API data for a range of courses and return a Students API DataFrame
with current and previously fetched data
Fetch Students API data for a range of courses and return a Students API DataFrame with current and previously fetched data
"""
    Fetch Students API data for a range of courses and return a Students API DataFrame
    with current and previously fetched data

    Parameters
    ----------
    students: List[User]
        a list of Canvas Users objects
    sync_db: sqlalchemy.engine.base.Engine
        an Engine instance for creating database connections

    Returns
    -------
    DataFrame
        a Students API DataFrame with the current and previously fetched data
    """
students
List[User]
sync_db
sqlalchemy.engine.base.Engine