Closed chenliu0831 closed 9 months ago
Issue #, if available: https://github.com/awslabs/python-deequ/issues/142
Description of changes:
FIx #142. The constraint suggested comes Deequ and the isContainedIn method did not support assertion and hint parameters. This PR adds it back.
assertion
hint
In addition, we add theis_one check function and set it as default for hasPattern and isContainedIn function. This is consistent with the Deequ's default value for assertion, see https://github.com/awslabs/deequ/blob/d3dbe2d77563fdbe0acaadcf55bd84e5f688027f/src/main/scala/com/amazon/deequ/checks/Check.scala#L1084.
is_one
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: https://github.com/awslabs/python-deequ/issues/142
Description of changes:
FIx #142. The constraint suggested comes Deequ and the isContainedIn method did not support
assertion
andhint
parameters. This PR adds it back.In addition, we add the
is_one
check function and set it as default for hasPattern and isContainedIn function. This is consistent with the Deequ's default value for assertion, see https://github.com/awslabs/deequ/blob/d3dbe2d77563fdbe0acaadcf55bd84e5f688027f/src/main/scala/com/amazon/deequ/checks/Check.scala#L1084.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.