diff --git a/core/dbt/contracts/graph/model_config.py b/core/dbt/contracts/graph/model_config.py index 468695b521e..71498ce92da 100644 --- a/core/dbt/contracts/graph/model_config.py +++ b/core/dbt/contracts/graph/model_config.py @@ -267,8 +267,9 @@ def update_from( return self.from_dict(dct, validate=validate) def finalize_and_validate(self: T) -> T: - self.to_dict(validate=True) - return self.replace() + # from_dict will validate for us + dct = self.to_dict(omit_none=False, validate=False) + return self.from_dict(dct) @dataclass