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

Set verify=True by default as documented #6624

Closed
wants to merge 1 commit into from
Closed

Conversation

RichieB2B
Copy link
Contributor

The documentation clearly states that the default for verify is True. Via merge_environment_settings() and merge_settings() the behaviour of None is made the same as True because self.verify is initialized as True but this is rather non-intuitive. Let's make the actual default of request() function True as per the documentation.

@sigmavirus24
Copy link
Contributor

This is (as far as the library is concerned) semantically incorrect. None here is meant as a (poor) substitute for "not specified explicitly by user". Changing this means that the user ostensibly always wants verification on. The tests that are failing show how broken this change is.

@RichieB2B RichieB2B deleted the verify branch January 23, 2024 18:22
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