Keyword argument 'user' should say 'username' in Pymongo authentication

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Trivial - P5
    • 3.6
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hello all,

      I am using SCRAM-SHA-1 authentication with Pymongo, and the Pymongo docs use the keyword argument 'user' to specify the username. However, when I tried this argument, I received an error:

      pymongo.errors.ConfigurationError: Unknown option user
      

      When I tried again with 'username' instead, it worked fine.

      Thanks!

              Assignee:
              Unassigned
              Reporter:
              Matthew Javaly
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: