File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1069,7 +1069,7 @@ def _data_hash_values(self) -> t.List[str]:
10691069
10701070 return data # type: ignore
10711071
1072- def _audit_metadata (self ) -> t .List [str ]:
1072+ def _audit_metadata_hash_values (self ) -> t .List [str ]:
10731073 from sqlmesh .core .audit .builtin import BUILT_IN_AUDITS
10741074
10751075 metadata = []
@@ -1126,7 +1126,7 @@ def metadata_hash(self) -> str:
11261126 str (self .allow_partials ),
11271127 gen (self .session_properties_ ) if self .session_properties_ else None ,
11281128 * [gen (g ) for g in self .grains ],
1129- * self ._audit_metadata (),
1129+ * self ._audit_metadata_hash_values (),
11301130 ]
11311131
11321132 for key , value in (self .virtual_properties or {}).items ():
Original file line number Diff line number Diff line change @@ -572,10 +572,10 @@ def _run_audits_for_metadata_snapshots(
572572 previous_snapshot_id
573573 ]
574574
575- new_audits = snapshot .model ._audit_metadata ()
575+ new_audits = snapshot .model ._audit_metadata_hash_values ()
576576
577577 # Compare the audit metadata hashes to determine if there was a change
578- previous_audit_hash = hash_data (previous_snapshot .model ._audit_metadata ())
578+ previous_audit_hash = hash_data (previous_snapshot .model ._audit_metadata_hash_values ())
579579 current_audit_hash = hash_data (new_audits )
580580
581581 if previous_audit_hash != current_audit_hash and new_audits :
You can’t perform that action at this time.
0 commit comments