https://dagster.io/ logo
#announcements
Title
# announcements
d

Daniel Olausson

04/14/2020, 8:31 AM
Hi, is it possible to create a solid that takes an arbitrary number of inputs? Something like this:
Copy code
@solid(...)
def my_solid(context, **kwargs):
    #some stuff
and then:
Copy code
@pipeline
def my_pipeline():
    task1 = my_solid.alias('task1')
    task2 = my_solid.alias('task2')
    task3 = my_solid.alias('task3')
    task4 = my_solid.alias('task4')
    task4(task1(), task2(), task3())
s

schrockn

04/14/2020, 2:46 PM
Hey Daniel. We have to the ability to "fan-in" inputs.
So if tasks 1 through 3 took Int
and task 4 look List[Int]
task4([task1(), task2(), task3()] should work
Nothing types also work