Skip to content

Commit

Permalink
Remove DAGSTER_DBT_PARSE_PROJECT_ON_LOAD support
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Jun 26, 2024
1 parent 7831bab commit 981c904
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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):
Expand Down

0 comments on commit 981c904

Please sign in to comment.