Samuel Tober
08/02/2021, 9:33 AMmarkets = Parameter('markets', default=['stockholm', 'oslo'])
And then run a function:
total_df = load_data.map(
city=markets,
date_from=date_from
)
where I pass a single value parameter, date_from, and my list parameter markets.
Everything runs without error, however, the function is only run for the first value in the markets list. What I want is to run for each value in markets, using the same value of date_from for each element in markets. How can I achieve this?Yueh-Han
08/02/2021, 10:23 AMunmapped
method in Prefect: https://docs.prefect.io/core/concepts/mapping.html#unmapped-inputsYueh-Han
08/02/2021, 10:24 AMSamuel Tober
08/02/2021, 11:15 AMYueh-Han
08/02/2021, 12:53 PM