Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1334

ReadPreference is changed from a string to a number by the URI parser

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.5
    • Affects Version/s: None
    • Component/s: Config
    • None
    • Minor Change

      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.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: