https://dagster.io/ logo
#dagster-support
Title
# dagster-support
s

Scott Hood

06/06/2022, 8:56 PM
For Out typing, is there a way to specify the type to be either one or the other? I haven't been able to find any good examples of that yet was wondering if anyone found a way other than using Any.
z

Zach

06/06/2022, 10:53 PM
you might be looking for Selectors? - nevermind, this is for op config, not Outputs
j

johann

06/07/2022, 2:39 PM
s

Scott Hood

06/07/2022, 2:40 PM
@johann yep, this is what I went with. I was kind of hoping there was a simpler built in type for Outs already premade regarding Unions but just created a type that checks for me.
3 Views