Skip to content

Commit

Permalink
Fix dbt docs return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek committed Dec 16, 2024
1 parent a4fe50d commit 56ab05b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions opendbt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
import sys
from pathlib import Path

######################
from dbt.cli.main import dbtRunner as DbtCliRunner

######################
from opendbt.dbt import patch_dbt

patch_dbt()
######################
from opendbt.utils import Utils
######################

from dbt.cli.main import dbtRunner as DbtCliRunner
from dbt.cli.main import dbtRunnerResult
from dbt.config import PartialProject
from dbt.contracts.graph.manifest import Manifest
Expand Down
3 changes: 2 additions & 1 deletion opendbt/dbt/v17/task/docs/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ def deploy_user_index_html(self):

def run(self):
# Call the original dbt run method
super().run()
result = super().run()
self.deploy_user_index_html()
return result

0 comments on commit 56ab05b

Please sign in to comment.