eg, have two solids feed into one solid, only one ...
# announcements
c
eg, have two solids feed into one solid, only one of the two runs, downstream solid conditionally receives input from one of them and runs
a
i think for this you could just use
Optional[Type]
as the input type and have the upstream solids return
None
instead of not omitting an
is_required=False
output
the conditional outputs stuff basically just exists for the skipping behavior
c
still getting
Dependencies for step esri.import_layer.compute failed: ['esri.extract_geojson.compute']. Not executing.
Copy code
@solid(
    input_defs=[
        InputDefinition(
            'geojson_result',
            Optional[Any]
        ),
        InputDefinition(
            'objects_result',
            Optional[Any]
        )
    ]
)
a
the upstream solid has to explicitly return
None
instead of omitting it / not yielding it
if its already
Any
you might not need the
Optional
bit
c
yeah that's what i've got and still happening
maybe i'm doing something wrong
a
are you just doing
return None
or
yield Output(None)
?
also did you change the
OutputDefinition
to remove the optionality
c
yes to both
a
huh weird, can you share the relevant slice of the event stream including the output events from the previous step