-
Notifications
You must be signed in to change notification settings - Fork 6
chore: Add raise_error option to run and run_and_log methods in process.py #206
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
base: main
Are you sure you want to change the base?
chore: Add raise_error option to run and run_and_log methods in process.py #206
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
edgarrmondragon
left a comment
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.
@nivinsrinivas Thanks! I left a comment.
| `check=True` and `raise_error=True`. This means that if the subprocess | ||
| fails a `CalledProcessError` will be raised. |
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.
Can you confirm if raise_error isn't doing anything at the moment?
Perhaps the same argument name check should be used for this method and just pass it directly to subprocess.run(..., check=check).
|
Any word on this? This is blocking other issues, namely meltano/dbt-ext#56 |
Summary
📚 Documentation preview 📚: https://meltano-edk--206.org.readthedocs.build/en/206/