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

client.trust_env becomes read-only #1112

Merged
merged 1 commit into from
Aug 1, 2020
Merged

client.trust_env becomes read-only #1112

merged 1 commit into from
Aug 1, 2020

Conversation

florimondmanca
Copy link
Member

Refs #1066

Setting client.trust_env = <bool> isn't valid since it won't change already-initialized transports, so this PR changes it to a read-only property.

Light breaking change potentially, but I don't think it makes sense to add a deprecation path with a setter here.

@tomchristie tomchristie mentioned this pull request Aug 1, 2020
6 tasks
@florimondmanca florimondmanca changed the title Client.trust_env becomes read-only client.trust_env becomes read-only Aug 1, 2020
@florimondmanca florimondmanca added the refactor Issues and PRs related to code refactoring label Aug 1, 2020
@florimondmanca florimondmanca requested a review from a team August 1, 2020 09:46
Copy link
Member

@tomchristie tomchristie left a comment

Choose a reason for hiding this comment

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

Ace, yup! 👍

@florimondmanca florimondmanca merged commit a110072 into master Aug 1, 2020
@florimondmanca florimondmanca deleted the trustenv-ro branch August 1, 2020 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues and PRs related to code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants