Skip to content
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

chore: Add raise_error option to run and run_and_log methods in process.py #206

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

nivinsrinivas
Copy link

@nivinsrinivas nivinsrinivas commented Feb 10, 2024

Summary

  • Add raise_error option to run and run_and_log methods in process.py

📚 Documentation preview 📚: https://meltano-edk--206.org.readthedocs.build/en/206/

Copy link
Collaborator

@edgarrmondragon edgarrmondragon left a 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.

Comment on lines +79 to +80
`check=True` and `raise_error=True`. This means that if the subprocess
fails a `CalledProcessError` will be raised.
Copy link
Collaborator

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).

@edgarrmondragon edgarrmondragon self-requested a review July 8, 2024 16:26
@ilsaloving
Copy link

Any word on this? This is blocking other issues, namely meltano/dbt-ext#56

@edgarrmondragon edgarrmondragon self-assigned this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants