diff --git a/src/dbt_score/models.py b/src/dbt_score/models.py index 2fb2045..04c298b 100644 --- a/src/dbt_score/models.py +++ b/src/dbt_score/models.py @@ -222,8 +222,7 @@ def __init__(self, file_path: Path): Args: file_path: The file path of the JSON manifest. """ - self.file_path = file_path - self.raw_manifest = json.loads(self.file_path.read_text(encoding="utf-8")) + self.raw_manifest = json.loads(file_path.read_text(encoding="utf-8")) self.raw_nodes = self.raw_manifest.get("nodes", {}) self.models: list[Model] = [] self.tests: dict[str, list[dict[str, Any]]] = defaultdict(list)