diff --git a/piperider_cli/dbt/list_task.py b/piperider_cli/dbt/list_task.py index 6ef83e70a..f13c28bec 100644 --- a/piperider_cli/dbt/list_task.py +++ b/piperider_cli/dbt/list_task.py @@ -114,12 +114,7 @@ def patched_get_manifest_schema_version(dct: dict) -> int: return int(match.group(1)) raise ValueError("Manifest doesn't have schema version") - import dbt.contracts.graph.manifest - origin_function = dbt.contracts.graph.manifest.get_manifest_schema_version - dbt.contracts.graph.manifest.get_manifest_schema_version = patched_get_manifest_schema_version - result = WritableManifest.upgrade_schema_version(data) - dbt.contracts.graph.manifest.get_manifest_schema_version = origin_function return result