Thomas
12/14/2022, 1:30 PMDaniel Gafni
12/14/2022, 1:44 PMaddition(i, i).alias(f"addition_{i}")
but I'm not sure.
Does this fail with an error for you? or what's the problem?
Edit: seems like by default Dagster already does an alias
Edit2: I was wrong, it's not relatedThomas
12/14/2022, 3:29 PMi
being an input if it did not come from the output of another function.Zach
12/14/2022, 10:52 PMexecute.execute_in_process(run_config={"ops": {"addition":{"inputs":{"a": 1, "b": 2}}}})
the other issue is that it seems like you're really trying to make a dynamic graph. so in this specific example you'd want to have one op that takes the number of iterations either as an input or a config schema field and yields the appropriate number of DynamicOutputs, and another op that does the execution. you might also want to read up on op configuration for managing the parameterization of your opsThomas
12/21/2022, 12:46 PM