(aggregate_table_adapter)
Seeds the database table with all data from the table adapter.
Seeds the database table with all data from the table adapter.
Seeds the database table with all data from the table adapter .
def populate_aggregate_table_data(aggregate_table_adapter):
    """
    Seeds the database table with all data from the table adapter.
    """
    aggregate_table_definition = aggregate_table_adapter.config
    # get checkpoint
    last_update = get_last_aggregate_checkpoint(aggregate_table_definition)
    for window in get_time_aggregation_windows(aggregate_table_definition, last_update):
        populate_aggregate_table_data_for_time_period(
            aggregate_table_adapter, window,
        )
def populate_aggregate_table_data ( aggregate_table_adapter ) : aggregate_table_definition = aggregate_table_adapter . config # get checkpoint last_update = get_last_aggregate_checkpoint ( aggregate_table_definition ) for window in get_time_aggregation_windows ( aggregate_table_definition , last_update ) : populate_aggregate_table_data_for_time_period ( aggregate_table_adapter , window , )