https://dagster.io/ logo
Title
c

chrispc

08/17/2021, 5:14 PM
Hi team I am getting troubles using composite_solids, I need to pass several dataframes to the downstream solid but I am getting different errors depending of the strategy. I am not sure how to do that and what the message errors mean. @prha Hi, I was wondering if you could give some insights, please. I was looking in the docs without success 🙏
y

yuhan

08/17/2021, 5:25 PM
Hi @chrispc here’s an example for returning multiple outputs from a composite solid https://docs.dagster.io/concepts/solids-pipelines/composite-solids#multiple-outputs
the first error says you will need to define the corresponding output definitions. the second error says you will need to a dict of the outputs not individual ones.
so in your case, it’d be something like:
@composite_solid(output_defs=[OutputDefinition(type1, "df_stucky"), OutputDefinition(type2, "df_erxref_tad_mapping", ...)])
def EXTRACT_Stucky():
❤️ 2
c

chrispc

08/17/2021, 5:31 PM
THANK YOU SO MUCH @yuhan. I will check the info and try it
:blob-hearts: 1