Skip to content

Conversation

@scott-c-h
Copy link

The current behaviour on the creation of a sub-resource is that the verify flag is reset to False. The flag should be maintained for all the resources that share a session.

This can be shown in the following snippet:

import pycouchdb

server = pycouchdb.Server(..., verify=True)
assert server.resource.session.verify is True 

db = server.database("db_name")
assert db.resource.session.verify is True  # fails without this fix
assert server.resource.session.verify is True  # even worse: fails without this fix

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.

1 participant