Martin O'Leary08/17/2022, 1:44 PM
If I have an
defined which takes in a DataFrame and returns a DataFrame can I have dagster type check the input?
I know by using
on a pandera schema model and supplying that to the
arg of the
call dagster will check the output but how do I correctly annotate (and validate the schema of) the input?
If I use the same type as I supply to
to annotate the input in the function signature I start to get all sorts of warnings that the type doesn't have any of the usual pandas df methods (
The example in the docs doesn't have an input defined so I'm not sure how I can get this schema validation on the input
sandy08/17/2022, 4:57 PM
Martin O'Leary08/17/2022, 5:42 PM