From 7cadc87f36360114a4e29412f78b24f51f920b09 Mon Sep 17 00:00:00 2001 From: ismail simsek <6005685+ismailsimsek@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:27:17 +0100 Subject: [PATCH] Enable multi project references and settings --- opendbt/__init__.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/opendbt/__init__.py b/opendbt/__init__.py index f82f29c..5bc4e23 100644 --- a/opendbt/__init__.py +++ b/opendbt/__init__.py @@ -3,6 +3,12 @@ import sys from pathlib import Path +###################### +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 @@ -11,14 +17,6 @@ from dbt.exceptions import DbtRuntimeError from dbt.task.base import get_nearest_project_dir -###################### -from opendbt.dbt import patch_dbt -# patch_dbt() -from opendbt.utils import Utils - - -###################### - class OpenDbtLogger: _log = None