Open mjspier opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
56d9cd1
) to head (02eb584
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi, thank you very much for taking the stab at it. I think we can separate the 2 features in different PR:
regarding the validation of outputs, it should be almost ready to merge as is. I just need to check that it does not "double validate" intermediary datasets which are inputs and outputs because I remember their are several outputs attributes ; we also need to check that pipeline.outputs
returns all outputs even if they are not memory datasets.
Can you open a different PR for that? I'll merge and release it quickly.
regarding the automatic conversion, I think there may have issues with the catalog not being modified in place by the hook, I am not sure it will work as is ; even if it does, it may be the opportunity to introduce a pandera.yaml
config file instead of relying on a pandera key in the parameters.yml
. I'll have a look and give more precise suggestions likely next week.
@Galileo-Galilei
Thank you for your comments. I created a new PR for validation of output datasets: https://github.com/Galileo-Galilei/kedro-pandera/pull/66
If this one is merged I will create a new PR for the automatic conversion where we can discuss the issues you mentioned.
Description
Allow converting input data according to the pandera schema so data types only need to be define in the schema and not also als load parameter.
Development notes
Checklist
CHANGELOG.md
file. Please respect Keep a Changelog guidelines.Notice
[ ] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":
I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.