How do I map over the product of two parameters?
I consulted the docs and issues (notably https://github.com/PrefectHQ/prefect/issues/1311
), but still couldn't figure it out.
1) Passing a task into a "compose" task as a parameter
--> result = compose.map(ids, unmapped(generate_task), unmapped(dates))
TypeError: generate_task() missing 2 required positional arguments:
2) Calling a known task from a "compose" task
ValueError: Could not infer an active Flow context.
3) Typecasting parameter to list --> Parameter is not iterable