Skip to content

Commit b12584d

Browse files
committed
Remove dbt get_manifest_schema_version patch
It has been fixed and backported to 1.6.2 Signed-off-by: Wei-Chun, Chang <[email protected]>
1 parent 9b9fe13 commit b12584d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

piperider_cli/dbt/list_task.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,7 @@ def patched_get_manifest_schema_version(dct: dict) -> int:
114114
return int(match.group(1))
115115
raise ValueError("Manifest doesn't have schema version")
116116

117-
import dbt.contracts.graph.manifest
118-
origin_function = dbt.contracts.graph.manifest.get_manifest_schema_version
119-
dbt.contracts.graph.manifest.get_manifest_schema_version = patched_get_manifest_schema_version
120-
121117
result = WritableManifest.upgrade_schema_version(data)
122-
dbt.contracts.graph.manifest.get_manifest_schema_version = origin_function
123118
return result
124119

125120

0 commit comments

Comments
 (0)