|
30 | 30 | from sqlmesh.core.environment import EnvironmentNamingInfo |
31 | 31 | from sqlmesh.core.linter.rule import RuleViolation |
32 | 32 | from sqlmesh.core.model import Model |
33 | | -from sqlmesh.core.model.definition import AuditResult |
34 | 33 | from sqlmesh.core.snapshot import ( |
35 | 34 | Snapshot, |
36 | 35 | SnapshotChangeCategory, |
@@ -97,12 +96,6 @@ def start_plan_evaluation(self, plan: EvaluatablePlan) -> None: |
97 | 96 | def stop_plan_evaluation(self) -> None: |
98 | 97 | """Indicates that the evaluation has ended.""" |
99 | 98 |
|
100 | | - @abc.abstractmethod |
101 | | - def store_evaluation_audit_results( |
102 | | - self, snapshot: Snapshot, audit_results: t.List[AuditResult] |
103 | | - ) -> None: |
104 | | - """Stores the audit results for the snapshot evaluation.""" |
105 | | - |
106 | 99 | @abc.abstractmethod |
107 | 100 | def start_evaluation_progress( |
108 | 101 | self, |
@@ -420,11 +413,6 @@ def start_plan_evaluation(self, plan: EvaluatablePlan) -> None: |
420 | 413 | def stop_plan_evaluation(self) -> None: |
421 | 414 | pass |
422 | 415 |
|
423 | | - def store_evaluation_audit_results( |
424 | | - self, snapshot: Snapshot, audit_results: t.List[AuditResult] |
425 | | - ) -> None: |
426 | | - pass |
427 | | - |
428 | 416 | def start_evaluation_progress( |
429 | 417 | self, |
430 | 418 | batch_sizes: t.Dict[Snapshot, int], |
@@ -739,11 +727,6 @@ def start_plan_evaluation(self, plan: EvaluatablePlan) -> None: |
739 | 727 | def stop_plan_evaluation(self) -> None: |
740 | 728 | pass |
741 | 729 |
|
742 | | - def store_evaluation_audit_results( |
743 | | - self, snapshot: Snapshot, audit_results: t.List[AuditResult] |
744 | | - ) -> None: |
745 | | - self.evaluation_audit_results[snapshot] = audit_results |
746 | | - |
747 | 730 | def start_evaluation_progress( |
748 | 731 | self, |
749 | 732 | batch_sizes: t.Dict[Snapshot, int], |
|
0 commit comments