diff --git a/schematic/manifest/generator.py b/schematic/manifest/generator.py index 35b446d6e..5aced191e 100644 --- a/schematic/manifest/generator.py +++ b/schematic/manifest/generator.py @@ -1140,7 +1140,7 @@ def _create_requests_body( ) if isinstance(validation_rules, dict): validation_rules = extract_component_validation_rules( - validation_rules=validation_rules, manifest_component=self.root + validation_rules_dict=validation_rules, manifest_component=self.root ) # Add regex match validaiton rule to Google Sheets. diff --git a/schematic/models/GE_Helpers.py b/schematic/models/GE_Helpers.py index f7388d6af..7cd996590 100644 --- a/schematic/models/GE_Helpers.py +++ b/schematic/models/GE_Helpers.py @@ -177,7 +177,7 @@ def build_expectation_suite( if isinstance(validation_rules, dict): validation_rules = extract_component_validation_rules( manifest_component=self.manifest["Component"][0], - validation_rules=validation_rules, + validation_rules_dict=validation_rules, ) # iterate through all validation rules for an attribute for rule in validation_rules: diff --git a/schematic/models/validate_manifest.py b/schematic/models/validate_manifest.py index 6a59b600a..8ef652e60 100644 --- a/schematic/models/validate_manifest.py +++ b/schematic/models/validate_manifest.py @@ -189,7 +189,7 @@ def validate_manifest_rules( if validation_rules and isinstance(validation_rules, dict): validation_rules = extract_component_validation_rules( manifest_component=manifest["Component"][0], - validation_rules=validation_rules, + validation_rules_dict=validation_rules, ) # Check that attribute rules conform to limits: