Related to the question above, I have a function `...
# ask-community
d
Related to the question above, I have a function
f
that requires some resources and a criteria as a parameter, and returns a list of filenames. How can I do the following in a job:
Copy code
op1(f(criteria1))
op2(f(criteria2))
If
f
is a regular function, I can't pass it to an op in a job (
Must pass output from previous node invocations...
). If
f
is an op, I can make it take only the context parameter and set the criteria that way, but I can't seem to set that to two different values in one job. What is the right way to do this?