Skip to content

Commit

Permalink
fix arguments calling with old argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewelamb committed Mar 28, 2024
1 parent 2765dad commit eca90a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schematic/manifest/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion schematic/models/GE_Helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion schematic/models/validate_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eca90a7

Please sign in to comment.