Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily deactivate runtime validation #27

Open
Galileo-Galilei opened this issue Aug 18, 2023 · 3 comments
Open

Temporarily deactivate runtime validation #27

Galileo-Galilei opened this issue Aug 18, 2023 · 3 comments

Comments

@Galileo-Galilei
Copy link
Owner

Description

TBD

Context

TBD

Possible Implementation

TBD

kedro run --pandera.off CLI flag would be nice, but it is not currently possible to add flags to the CLI via plugins

@noklam
Copy link
Collaborator

noklam commented Sep 13, 2023

Cannot find the related issue so i just post it here

From the pandera author about the env variable to disable runtime check.

hi <@678216302443233306> so a validation on/off switch was introduced with the latest pyspark sql integration: https://pandera.readthedocs.io/en/latest/pyspark_sql.html#switching-validation-on-and-off

But currently it only works for the pyspark.sql integration. Would you mind opening up an issue to add support for this in pandas validation?

@Galileo-Galilei
Copy link
Owner Author

It is now possible in pandera>=0.17.3: https://pandera.readthedocs.io/en/stable/configuration.html#validation-depth

@noklam
Copy link
Collaborator

noklam commented May 28, 2024

Indeed, I actually made the PR 😁 unionai-oss/pandera#1354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants