diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt/dbt_project.py b/python_modules/libraries/dagster-dbt/dagster_dbt/dbt_project.py index 83a1319c35571..f7b0cc1294065 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt/dbt_project.py +++ b/python_modules/libraries/dagster-dbt/dagster_dbt/dbt_project.py @@ -33,7 +33,8 @@ class DbtProjectPreparer: @public def prepare_if_dev(self, project: "DbtProject") -> None: """Invoked in the `prepare_if_dev` method of DbtProject, - when DbtProject needs preparation during development.""" + when DbtProject needs preparation during development. + """ @public def prepare(self, project: "DbtProject") -> None: @@ -44,11 +45,6 @@ def using_dagster_dev(self) -> bool: """Returns true if Dagster is running using the `dagster dev` command.""" return using_dagster_dev() - @public - def parse_on_load_opt_in(self) -> bool: - """Returns true if the environment variable "DAGSTER_DBT_PARSE_PROJECT_ON_LOAD" is set and true.""" - return bool(os.getenv("DAGSTER_DBT_PARSE_PROJECT_ON_LOAD")) - @experimental class DagsterDbtProjectPreparer(DbtProjectPreparer): diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_project.py b/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_project.py index 346b0d07cc489..d8a629fd4fcbd 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_project.py +++ b/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_project.py @@ -5,7 +5,6 @@ from dagster._utils.test import copy_directory from dagster_dbt.dbt_manifest import validate_manifest from dagster_dbt.dbt_project import DbtProject -from dagster_dbt.errors import DagsterDbtManifestNotFoundError from ..dbt_projects import test_jaffle_shop_path