diff --git a/purina_usage/__init__.py b/purina_usage/__init__.py index 0450521..e7afb99 100644 --- a/purina_usage/__init__.py +++ b/purina_usage/__init__.py @@ -25,13 +25,16 @@ # If DAGSTER_DBT_PARSE_PROJECT_ON_LOAD is set, a manifest will be created at run time. # Otherwise, we expect a manifest to be present in the project's target directory. -if os.getenv("DAGSTER_DBT_PARSE_PROJECT_ON_LOAD"): - dbt_parse_invocation = dbt.cli(["parse"]).wait() - dbt_manifest_path = dbt_parse_invocation.target_path.joinpath("manifest.json") -else: - dbt_manifest_path = dbt_project_dir.joinpath("target", "manifest.json") +# if os.getenv("DAGSTER_DBT_PARSE_PROJECT_ON_LOAD"): +# dbt_parse_invocation = dbt.cli(["parse"]).wait() +# dbt_manifest_path = dbt_parse_invocation.target_path.joinpath("manifest.json") +# else: +# dbt_manifest_path = dbt_project_dir.joinpath("target", "manifest.json") +dbt_parse_invocation = dbt.cli(["parse"]).wait() +dbt_manifest_path = dbt_parse_invocation.target_path.joinpath("manifest.json") + # class CustomDagsterDbtTranslator(DagsterDbtTranslator): # @classmethod # def get_group_name(cls, _unused):