Skip to content

client.trust_env becomes read-only#1112

Merged
florimondmanca merged 1 commit intomasterfrom
trustenv-ro
Aug 1, 2020
Merged

client.trust_env becomes read-only#1112
florimondmanca merged 1 commit intomasterfrom
trustenv-ro

Conversation

@florimondmanca
Copy link
Contributor

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.

@lovelydinosaur lovelydinosaur 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
Contributor

@lovelydinosaur lovelydinosaur 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