Skip to content

Commit 158a7c7

Browse files
committed
Enhance logging in executor hook to include config ID when using API
1 parent 0e533cf commit 158a7c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datapilot/core/platforms/dbt/hooks/executor_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def main(argv: Optional[Sequence[str]] = None):
101101
matching_configs = [c for c in configs["items"] if c["name"] == config_name]
102102
if matching_configs:
103103
# Get the config directly from the API response
104-
print(f"Using config from API: {config_name}", file=sys.stderr)
104+
print(f"Using config from API: {config_name} id: {matching_configs[0]['id']}", file=sys.stderr)
105105
config = matching_configs[0].get("config", {})
106106
else:
107107
print(f"No config found with name: {config_name}", file=sys.stderr)

0 commit comments

Comments
 (0)