src/canvas-extractor/edfi_canvas_extractor/api/sections.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 Sections 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

    Returns
    -------
    DataFrame
        a DataFrame with current fetched data and reconciled CreateDate/LastModifiedDate
    """
    return sync_to_db_without_cleanup(
        resource_df=resource_df,
        identity_columns=["id"],
        resource_name=SECTIONS_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 Sections 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

    Returns
    -------
    DataFrame
        a DataFrame with current fetched data and reconciled CreateDate/LastModifiedDate
    
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 Sections 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

Returns


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 Sections 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 Returns
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=["id"],
        resource_name=SECTIONS_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 = [ "id" ] , resource_name = SECTIONS_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 Sections 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

    Returns
    -------
    DataFrame
        a DataFrame with current fetched data and reconciled CreateDate/LastModifiedDate
    """
resource_df
DataFrame
sync_db
sqlalchemy.engine.base.Engine