-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ele 3295 api dbt runner #1577
Ele 3295 api dbt runner #1577
Conversation
👋 @haritamar |
e4fd3e8
to
970982b
Compare
3f6e599
to
67a36e9
Compare
quiet: bool, | ||
log_output: bool, | ||
log_format: str, | ||
) -> DbtCommandResult: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was mostly taken from the exposures fork:
https://github.com/elementary-data/elementary-exposure-fork/blob/ele-1781-write-the-edr-exposures-command/elementary/clients/dbt/dbt_runner.py#L53
elementary/utils/env_vars_context.py
Outdated
import os | ||
from typing import Dict, Generator, Optional | ||
|
||
from decorator import contextmanager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use contextlib.contextmanager
instead, which is a builtin, and spare the new dependency
No description provided.