src/google-classroom-extractor/edfi_google_classroom_extractor/api/teachers.py
def _sync_without_cleanup(
    resource_df: DataFrame, sync_db: sqlalchemy.engine.base.Engine
) -> DataFrame:
    """
    Take fetched API data and sync with database. Creates tables when necessary,
    but ok if temporary tables are there to start. Doesn't delete temporary tables when finished.

    Parameters
    ----------
    resource_df: DataFrame
        a Teachers API DataFrame with the current fetched data which
        will be mutated, adding Hash and CreateDate/LastModifiedDate
    sync_db: sqlalchemy.engine.base.Engine
        an Engine instance for creating database connections
    """
    return sync_to_db_without_cleanup(
        resource_df=resource_df,
        identity_columns=["userId", "courseId"],
        resource_name=TEACHERS_RESOURCE_NAME,
        sync_db=sync_db,
    )

    Take fetched API data and sync with database. Creates tables when necessary,
    but ok if temporary tables are there to start. Doesn't delete temporary tables when finished.

    Parameters
    ----------
    resource_df: DataFrame
        a Teachers API DataFrame with the current fetched data which
        will be mutated, adding Hash and CreateDate/LastModifiedDate
    sync_db: sqlalchemy.engine.base.Engine
        an Engine instance for creating database connections
    
Take fetched API data and sync with database. Creates tables when necessary,
but ok if temporary tables are there to start. Doesn't delete temporary tables when finished.

Parameters

DataFrame
a Teachers API DataFrame with the current fetched data which
will be mutated, adding Hash and CreateDate/LastModifiedDate
sync_db: sqlalchemy.engine.base.Engine
an Engine instance for creating database connections
Take fetched API data and sync with database . Creates tables when necessary but ok if temporary tables are there to start . Doesn ' t delete temporary tables when finished . Parameters DataFrame a Teachers API DataFrame with the current fetched data which will be mutated adding Hash and CreateDate / LastModifiedDate sync_db : sqlalchemy . engine . base . Engine an Engine instance for creating database connections
def _sync_without_cleanup(
    resource_df: DataFrame, sync_db: sqlalchemy.engine.base.Engine
) -> DataFrame:
    return sync_to_db_without_cleanup(
        resource_df=resource_df,
        identity_columns=["userId", "courseId"],
        resource_name=TEACHERS_RESOURCE_NAME,
        sync_db=sync_db,
    )
def _sync_without_cleanup ( resource_df : DataFrame , sync_db : sqlalchemy . engine . base . Engine ) -> DataFrame : return sync_to_db_without_cleanup ( resource_df = resource_df , identity_columns = [ "userId" , "courseId" ] , resource_name = TEACHERS_RESOURCE_NAME , sync_db = sync_db , )
Take fetched API data and sync with database.
Take fetched API data and sync with database .
"""
    Take fetched API data and sync with database. Creates tables when necessary,
    but ok if temporary tables are there to start. Doesn't delete temporary tables when finished.

    Parameters
    ----------
    resource_df: DataFrame
        a Teachers API DataFrame with the current fetched data which
        will be mutated, adding Hash and CreateDate/LastModifiedDate
    sync_db: sqlalchemy.engine.base.Engine
        an Engine instance for creating database connections
    """
resource_df
DataFrame
sync_db
sqlalchemy.engine.base.Engine