Skip to content

Commit

Permalink
Allow customer to troubleshoot
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Nov 29, 2024
1 parent 61cf84d commit 85b56ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Contains dags, task groups, and operators.
"""

__version__ = "1.8.0a1"
__version__ = "1.8.0a2"


from cosmos.airflow.dag import DbtDag
Expand Down
3 changes: 2 additions & 1 deletion cosmos/dbt/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ def is_freshness_effective(freshness: Optional[dict[str, Any]]) -> bool:

def run_command(command: list[str], tmp_dir: Path, env_vars: dict[str, str]) -> str:
"""Run a command in a subprocess, returning the stdout."""
logger.info("Running command: `%s`", " ".join(str(arg) if arg is not None else "<None>" for arg in command))
command = [str(arg) if arg is not None else "<None>" for arg in command]
logger.info("Running command: `%s`", " ".join(command))
logger.debug("Environment variable keys: %s", env_vars.keys())
process = Popen(
command,
Expand Down

0 comments on commit 85b56ca

Please sign in to comment.