From c83750a76e52ad41c5bd6d5c085260a74e93aeae Mon Sep 17 00:00:00 2001 From: Jared Lewis Date: Thu, 28 Nov 2024 22:10:51 +1100 Subject: [PATCH] Update packages/ref-core/src/ref_core/constraints.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mika Pflüger --- packages/ref-core/src/ref_core/constraints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ref-core/src/ref_core/constraints.py b/packages/ref-core/src/ref_core/constraints.py index 82f9723..601617c 100644 --- a/packages/ref-core/src/ref_core/constraints.py +++ b/packages/ref-core/src/ref_core/constraints.py @@ -51,7 +51,8 @@ def apply(self, group: pd.DataFrame, data_catalog: pd.DataFrame) -> pd.DataFrame Perform an operation on the group of datasets. A new group of datasets should be returned if modifications are required, - and the input group should not be modified. + and the input group should not be modified. If no modifications are required, + return the input group unchanged. If this operation fails, a ConstraintNotSatisfied exception should be raised. Parameters