is it possible to map a task over a list of result...
# ask-community
b
is it possible to map a task over a list of results generated by a previous task, where the task has a signature like
Copy code
@task
def do_something(x, y):
    # X is the same for each invocation
    # Y is the result we're mapping over
I tried something like
foo.map("two", "parameters")
, but when I print from inside these functions, only the second param contains what I expect
c
Hey @Brian McFeeley ! Definitely - we have an “unmapped” container for specifying that certain arguments should be held fixed and not mapped over. Check out the relevant docs here: https://docs.prefect.io/api/unreleased/utilities/tasks.html#unmapped
b
🚀
marvin 1
c
@Marvin archive “How to use task mapping but not map over one argument?”