Alessandro Marrella
07/01/2021, 1:35 PMNothing
, while the output type for the cli run is DbtCliOutput
. This creates a type error when trying to sequence dbt solids. Would it be possible to change the input type to Any
? Or is there another pattern you suggest?alex
07/01/2021, 2:44 PMNothing
inputAlessandro Marrella
07/01/2021, 2:49 PMdagster.core.errors.DagsterInvalidDefinitionError: In CompositeSolidDefinition 'weights_v0_experiment' input 'prev' of type Any maps to generate_weights_cbsa_weights_v0.start_after of different type Nothing. InputMapping source and destination must have the same type.
alex
07/01/2021, 2:55 PMNothing
at the composite and then wire it throughAlessandro Marrella
07/01/2021, 2:57 PMalex
07/01/2021, 2:58 PM@composite_solid
def example(dbt_out: DbtCliOutput, dbt_done: Nothing):
needs_data(dbt_out)
needs_nothing(dbt_done)
@pipeline
def foo():
cli_out = cli_run()
example(dbt_out=cli_out, dbt_done=cli_out)
sandy
07/01/2021, 3:55 PMAlessandro Marrella
07/01/2021, 3:58 PM