pandera icon indicating copy to clipboard operation
pandera copied to clipboard

Look into `returns` library for higher-kinded types

Open cosmicBboy opened this issue 2 years ago • 0 comments

https://returns.readthedocs.io/

Use case: for the model.SchemaModel class, we want to be able to support higher kinded types in methods e.g. the validate method, such that it can return type-varying generics based on the type of the check_obj argument.

https://returns.readthedocs.io/en/latest/pages/hkt.html

cosmicBboy avatar Jun 25 '22 19:06 cosmicBboy