Skip to content

Commit

Permalink
Override documentation html file
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Sep 6, 2024
1 parent 95b345b commit 524ec67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions opendbt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@

if Version(DBT_VERSION.to_version_string(skip_matcher=True)) > Version("1.8.0"):
from opendbt import dbt18
from dbt.task.docs import DOCS_INDEX_FILE_PATH

dbt.adapters.factory.AdapterContainer.register_adapter = dbt18.register_adapter
else:
from opendbt import dbt17
from dbt.include.global_project import DOCS_INDEX_FILE_PATH

dbt.adapters.factory.AdapterContainer.register_adapter = dbt17.register_adapter

Expand Down
1 change: 0 additions & 1 deletion opendbt/dbtcommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from pathlib import Path

import click
from dbt.include.global_project import DOCS_INDEX_FILE_PATH


def get_custom_adapter_config_value(self, config: 'AdapterRequiredConfig') -> str:
Expand Down

0 comments on commit 524ec67

Please sign in to comment.