MrPowers / quinn

pyspark methods to enhance developer productivity 📣 👯 🎉
https://mrpowers.github.io/quinn/
Apache License 2.0
602 stars 96 forks source link

Schema validation with decorators #140

Open edmondop opened 9 months ago

edmondop commented 9 months ago

It would be great if we could enforce schema returned by functions in this way:


@quinn.validate_return_schema(...schema, ignore)
def my_func():
    return ..