Hey team,
quick one about mapping.
if I have some code like so:
with Flow(
name="horse_racing_data",
) as flow:
dates = get_dates_task(days_back=days_back, days_ahead=days_ahead, dt_format="%d-%b-%Y")
raw_sectional_data = apply_map(get_puntingform_sectional_dump_task, date=dates)
spell_stats_data = apply_map(
query_db_for_df_task, path_to_sql=unmapped("sql/select_spell_count.sql")
)
enriched_pf_data = apply_map(
calculate_runners_spell_stats_task, pf_sectional_df=raw_sectional_data, spell_data=spell_stats_data
)
I am making multiple separate
apply_map
calls and I just wanted to make sure if I can guarantee that when calling
calculate_runners_spell_stats_task
I can guarantee the order of the returned maps?
What i mean is that
raw_sectional_data
and
spell_stats_data
are iterables and as they are provided to the function it is important that they maintain the same order.
Am I all good here?