Skip to content

Conversation

craigahobbs
Copy link
Contributor

uri_parser fails if there is a read_preference option. This fixes that.

@rozza
Copy link
Member

rozza commented Jan 22, 2013

Thanks Craig - I've added https://jira.mongodb.org/browse/PYTHON-471 for this pull request for review.

@behackett
Copy link
Member

Hi Craig,

Thanks for this pull request. Using read preferences with the MongoDB URI seems totally broken currently. :(
The only thing this is missing is support for 'readPreference' which is what the URI option is really called. If you want to add that (it's just adding another entry to common.VALIDATORS) great. Otherwise I can do it after merging this.

@behackett
Copy link
Member

Perfect. Thanks again for the patch. Merged just in time for 2.4.2.

@behackett behackett closed this Jan 23, 2013
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.

3 participants