Skip to content

Commit

Permalink
Remove dbt get_manifest_schema_version patch
Browse files Browse the repository at this point in the history
It has been fixed and backported to 1.6.2

Signed-off-by: Wei-Chun, Chang <[email protected]>
  • Loading branch information
wcchang1115 committed Nov 21, 2023
1 parent 9b9fe13 commit b12584d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions piperider_cli/dbt/list_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit b12584d

Please sign in to comment.