Skip to content

Commit 05ce8a0

Browse files
committed
chore: rename vars
1 parent c89e8db commit 05ce8a0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/tools/metricflow/base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ def run_mf_command(command: list[str], config: MfCliConfig) -> tuple[str, str]:
3737
logger.info("=" * 60)
3838

3939
# Set up environment with DBT_PROFILES_DIR
40-
env = os.environ.copy()
41-
env["DBT_PROFILES_DIR"] = config.profiles_dir
40+
mf_env = os.environ.copy()
41+
mf_env["DBT_PROFILES_DIR"] = config.profiles_dir
42+
logger.debug(mf_env)
4243

4344
process = subprocess.Popen( # nosec B603
4445
args=[config.mf_path, *full_command],
4546
cwd=config.project_dir,
46-
env=env,
47+
env=mf_env,
4748
stdout=subprocess.PIPE,
4849
stderr=subprocess.STDOUT,
4950
text=True,

0 commit comments

Comments
 (0)