-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Allow trust env parameter to be defined in extra options of HTTP Connection #39161
Allow trust env parameter to be defined in extra options of HTTP Connection #39161
Conversation
…eld of HTTP Connection
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 let us know the use case of this additional parameter?
Yes this is when you want the requests library to ignore the environment variables. In our case we have default proxy environment variables defined, but in some cases we need to pass through another proxy, so even if we specify the proxy parameter, the request library will still use the one from the env variable unless we tell it to ignore it. |
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.
LGTM
Is it possible to merge this PR as this also impacts this PR so I can fix the merge conflicts on the later one and continue working on it? Thanks :) |
Small PR which also allows trust env to be defined in the extra options of the Connection
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.