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

Change raise_for_status default to False #1048

Closed
wants to merge 1 commit into from

Conversation

burnash
Copy link
Collaborator

@burnash burnash commented Mar 4, 2024

Description

This PR changes the default behaviour of dlt.sources.helpers.requests.retry.Client and dlt.sources.helpers.requests.session.Session so instances of both classes do not raise_for_status() by default.

Related Issues

Copy link

netlify bot commented Mar 4, 2024

Deploy Preview for dlt-hub-docs ready!

Name Link
🔨 Latest commit e40579b
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/65e5eee168fa520008778cc5
😎 Deploy Preview https://deploy-preview-1048--dlt-hub-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@burnash burnash requested a review from rudolfix March 4, 2024 15:55
Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@burnash I reviewed our verified pipelines and there's a lot of code that relies on this behavior. so my take is: we should stick to it for now and probably forever. I'm afraid we have tons of user's built pipelines that rely on this behavior

@burnash
Copy link
Collaborator Author

burnash commented Mar 5, 2024

Let's put it on hold then. Closing

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.

2 participants