This ticket tracks this pull request https://github.com/mongodb/mongo-python-driver/pull/325
For some reason validate_read_preference_mode returns value, that is not valid to be validated again. This PR fixes this problem and allows `MongoClient` options could be parsed outside of it and passed as keyword arguments like celery mongo backend does it.
- is related to
-
PYTHON-1484 MongoClient option validators should not change option values
- Backlog