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

added support to where method and tests #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andreimek
Copy link

Issue #, if available:
awslabs#158
Description of changes:
Added where method, the requirement to use it with the current setup is to make sure that the Check is represented by its child class CheckWithLastConstraintFilterable.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

pydeequ/checks.py Outdated Show resolved Hide resolved
@choyrim
Copy link

choyrim commented Nov 22, 2023

LGTM. The real pydeequ maintainers will probably have better feedback on how best to guard the where method.

actually one other (hacky) approach is to see if the class of the _Check instance has a method "where" that takes a string.

@akalotkin
Copy link
Collaborator

@choyrim, python-deequ pretty messy in the way it's integrated with Scala version. I think we should try to submit this MR and what kind of feedback they will share. What is the next step to do that. Do we need to have your formal approval or we just can go ahead and create MR in python-deequ open source repo?

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